Function at 0x5bf280
Capabilities:
Check if file exists
Get file attributes
Get session user name
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e7a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfec
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x162]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0
jne 0x5bf30c
mov eax, dword [ebp + 8]
test eax, eax
je 0x5bf2de
push eax
call fcn.005c2b00
test eax, eax
jne 0x5bf30c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5bf30c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5bf30c
push eax
push ecx
mov ecx, ebx
call fcn.005c2d40
test eax, eax
jne 0x5bf30c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebx + 0x162], 0
mov eax, dword [0x6cc708]
mov dword [ebp - 0x14], eax
mov ecx, dword [str.DwnlData]
mov eax, dword [0x6c5184]
mov edx, dword [0x6c5180]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x6c5188]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], edx
mov dx, word [0x6c518c]
lea ecx, [ebp - 0x568]
push eax
push ecx
mov word [ebp - 0x44], dx
mov edx, dword [0x6d12f4]
push 0
push 0
push str.TempPath
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0x80
mov dword [ebp - 0x40], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5bf3ca
lea eax, [ebp - 0x568]
push eax
call fcn.005e7a84
add esp, 4
test eax, eax
jne 0x5bf3ca
lea ecx, [ebp - 0x568]
push ecx
call fcn.005e639f
add esp, 4
cmp word [ebp + eax*2 - 0x56a], 0x5c
je 0x5bf458
lea edx, [ebp - 0x568]
push 0x6a015c
push edx
call fcn.005e653f
add esp, 8
jmp 0x5bf458
mov eax, dword [0x6d12b0]
test eax, eax
jne 0x5bf3d8
mov eax, 0x6d12b4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5bf43d
mov eax, dword [0x6d12b0]
test eax, eax
jne 0x5bf3f2
mov eax, 0x6d12b4
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.005e6569
mov eax, dword [0x6d12b0]
add esp, 8
test eax, eax
jne 0x5bf439
mov eax, 0x6d12b4
mov esi, eax
push eax
call fcn.005e639f
mov edx, dword [0x6d12f4]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.TempPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x5bf458
mov esi, eax
jmp 0x5bf412
lea eax, [ebp - 0x568]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xff8]
lea edx, [ebp - 0xdf8]
push ecx
lea eax, [ebp - 0xbf8]
push edx
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x568]
push ecx
push edx
call fcn.005e7163
add esp, 0x14
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xbf8]
lea edx, [ebp - 0x34]
push eax
push ecx
push edx
lea eax, [ebp - 0x568]
push 0x6a9228
push eax
call fcn.005e72e7
lea ecx, [ebp - 0x568]
push ecx
call fcn.005e83ee
add esp, 0x18
test eax, eax
je 0x5bf516
call fcn.005e8fff
cmp dword [eax], 0xd
je 0x5bf516
call fcn.005e8fff
cmp dword [eax], 0x11
je 0x5bf516
mov esi, dword [0x6d218c]
call fcn.005e8fff
mov edx, dword [eax]
lea eax, [ebp - 0x568]
push edx
push eax
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.005fb90b
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x41c]
add esp, 0x10
push 1
push edx
call fcn.004ac2b0
mov eax, dword [0x6d2188]
mov ecx, dword [ebp - 0x14]
push 0x50030
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5bfcf6
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x5e8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x5bf53f
lea ecx, [ebp - 0x5e8]
push 0x6a4878
push ecx
call fcn.005e72e7
add esp, 8
lea edx, [ebp - 0x5e8]
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x5bf5ac
lea eax, [ebp - 0x5e8]
lea ecx, [ebp - 0x54]
push eax
lea edx, [ebp - 0xbf8]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
lea ecx, [ebp - 0x568]
push str._s_s_s_s_
push ecx
call fcn.005e72e7
lea edx, [ebp - 0x568]
push edx
call fcn.005e83ee
add esp, 0x1c
test eax, eax
je 0x5bf65e
call fcn.005e8fff
cmp dword [eax], 0xd
je 0x5bf65e
call fcn.005e8fff
cmp dword [eax], 0x11
je 0x5bf65e
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xbf8]
push eax
lea edx, [ebp - 0x34]
push ecx
push edx
lea eax, [ebp - 0x568]
push str._s_s_sdefault_user_
push eax
call fcn.005e72e7
lea ecx, [ebp - 0x568]
push ecx
call fcn.005e83ee
add esp, 0x18
test eax, eax
je 0x5bf65e
call fcn.005e8fff
cmp dword [eax], 0xd
je 0x5bf65e
call fcn.005e8fff
cmp dword [eax], 0x11
je 0x5bf65e
lea edx, [ebp - 0x568]
lea eax, [ebp + 0xc]
push edx
push eax
call fcn.00402500
add esp, 8
mov esi, dword [0x6d218c]
mov byte [ebp - 4], 2
call fcn.005e8fff
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push 1
push ecx
mov ecx, dword [ebx + 0x41c]
call fcn.004ac2b0
mov edx, dword [0x6d2188]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
jmp 0x5bfcf1
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x360]
push 0x6a28f0
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
push ecx
call fcn.005e6490
add esp, 8
test eax, eax
je 0x5bf8af
mov eax, dword [ebp + 8]
test eax, eax
je 0x5bf6f7
mov edx, dword [ebx]
push 0x56
lea eax, [ebp - 0x360]
push edx
push eax
call fcn.005e6720
add esp, 0xc
lea ecx, [ebp - 0x360]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00602b44
push 0x5f
push 0x2e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005fb2f1
mov edi, dword [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20]
call fcn.00602ad6
jmp 0x5bf945
mov ecx, dword [ebx + 8]
push 0x3d
push ecx
call fcn.005e7360
mov edx, dword [ebx + 8]
push 0x3f
push edx
mov esi, eax
call fcn.005e7360
mov edi, eax
mov eax, dword [ebx + 8]
push 0x2f
push eax
call fcn.005e7360
add esp, 0x18
cmp edi, esi
jae 0x5bf794
cmp esi, eax
jbe 0x5bf792
inc esi
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x5bf885
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.005e6720
push 0x2e
push esi
call fcn.005e7360
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x360]
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
jmp 0x5bf868
cmp edi, esi
jbe 0x5bf804
cmp edi, eax
jbe 0x5bf804
lea esi, [edi + 1]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x5bf885
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.005e6720
push 0x2e
push esi
call fcn.005e7360
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x360]
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
jmp 0x5bf868
lea esi, [eax + 1]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x5bf885
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.005e6720
push 0x2e
push esi
call fcn.005e7360
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5bf94c
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x360]
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5bf94c
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5bf94c
mov esi, dword [ebx + 8]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x5bf920
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.005e6720
push 0x2e
push esi
call fcn.005e7360
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5bf945
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5bf945
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x360]
not ecx
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x5bf940
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x360]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x5bf97b
push 0
call fcn.005e7c09
mov ecx, dword [0x6d2734]
add esp, 4
inc ecx
mov dword [0x6d2734], ecx
push ecx
push eax
lea ecx, [ebp - 0x360]
push str._ldf_ld
push ecx
call fcn.005e6db3
add esp, 0x10
jmp 0x5bf9a5
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5bf9a5
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x360]
push edx
push 0x6a0150
push eax
call fcn.005e6db3
add esp, 0xc
lea ecx, [ebp - 0x360]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00602b44
push 0x2d
push 0x3a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005fb2f1
push 0x2d
push 0x2a
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x3f
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x7c
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x3c
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x3e
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x22
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x25
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
push 0x2d
push 0x2f
lea ecx, [ebp - 0x18]
call fcn.005fb2f1
mov edx, dword [ebp - 0x18]
push 0x30b
lea eax, [ebp - 0x360]
push edx
push eax
call fcn.005e6720
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov byte [ebp - 0x55], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edx, edx
cmp eax, ecx
jge 0x5bfa77
cmp byte [ebp + eax - 0x360], 0x20
jge 0x5bfa74
mov byte [ebp + eax - 0x360], 0x2d
inc eax
jmp 0x5bfa5e
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
mov word [ebp - 0x28], dx
call fcn.00401070
lea ecx, [ebp - 0x360]
test ecx, ecx
je 0x5bfaf1
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5bfaf1
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
lea edx, [ebp - 0x360]
push 0xffffffffffffffff
push edx
push eax
push eax
call esi
test eax, eax
mov dword [ebp - 0x24], eax
je 0x5bfaec
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x5bfafa
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x360]
push ecx
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
jmp 0x5bfafa
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov byte [ebp - 4], 5
jne 0x5bfb05
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xff8]
lea edx, [ebp - 0xdf8]
push ecx
push edx
lea ecx, [ebp - 0xbf8]
lea edx, [ebp - 0x34]
push ecx
push edx
push eax
call fcn.005e7163
mov edi, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0xdf8]
lea ecx, [ebp - 0x568]
push edi
push eax
push ecx
lea edx, [ebp - 0x7f0]
push str._s_s__ld_
push edx
call fcn.005e72e7
mov eax, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x5bfb57
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0x418]
push edi
push eax
lea eax, [ebp - 0x7f0]
push eax
call fcn.00554b80
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.005e83ee
add esp, 4
test eax, eax
je 0x5bfd1a
lea edx, [ebp - 0x568]
push edi
push edx
lea eax, [ebp - 0x7f0]
push str._s_ld_
push eax
call fcn.005e72e7
add esp, 0x10
lea ecx, [ebp - 0xff8]
lea edx, [ebp - 0x360]
push ecx
push edi
push str._ld_s
push edx
call fcn.005e6db3
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x360]
test eax, eax
je 0x5bfc1f
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5bfc1f
push eax
push eax
lea ecx, [ebp - 0x360]
push 0xffffffffffffffff
push ecx
push eax
push eax
call esi
test eax, eax
mov dword [ebp - 0x24], eax
je 0x5bfc1f
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x5bfc26
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x360]
push ecx
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5bfc29
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0x418]
push edi
push eax
lea eax, [ebp - 0x7f0]
push eax
call fcn.00554b80
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.005e83ee
add esp, 4
test eax, eax
je 0x5bfd1a
call fcn.005e8fff
cmp dword [eax], 0xd
je 0x5bfd41
call fcn.005e8fff
cmp dword [eax], 0x11
je 0x5bfd41
lea edx, [ebp - 0x7f0]
lea eax, [ebp + 0xc]
push edx
push eax
call fcn.00402500
add esp, 8
mov esi, dword [0x6d218c]
mov byte [ebp - 4], 6
call fcn.005e8fff
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push 1
push ecx
mov ecx, dword [ebx + 0x41c]
call fcn.004ac2b0
mov edx, dword [0x6d2188]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00602ad6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp - 0x7f0]
lea eax, [ebp - 0x14]
push edx
push str.Folder__ls_was_created._n
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, dword [ebx + 0x418]
call fcn.00554800
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5bfd4b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x7f0]
push eax
push ecx
lea edx, [ebp - 0x9f8]
push 0x6a1544
push edx
call fcn.005e72e7
mov eax, dword [ebx + 0x2c]
add esp, 0x10
test eax, eax
je 0x5bfd77
push eax
call fcn.005fef05
add esp, 4
lea eax, [ebp - 0x7f0]
push eax
call fcn.005e639f
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
add esp, 8
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x5bfddf
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, ebx
call fcn.005be7e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp - 0x7f0]
push edx
push eax
call fcn.005e6569
add esp, 8
test edi, edi
je 0x5bfea9
mov eax, dword [ebx + 0x420]
test eax, eax
jne 0x5bfe11
push edi
mov ecx, ebx
call fcn.005c4f50
test al, al
je 0x5c0030
lea ecx, [ebp - 0x9f8]
push ecx
call fcn.005e639f
mov ecx, dword [ebx + 0x420]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [eax + eax + 2]
lea eax, [ebp - 0x9f8]
push edx
push eax
push 1
push 0
push str.LocalFileName
push ecx
call esi
lea edx, [ebp - 0x7f0]
push edx
call fcn.005e639f
mov edx, dword [ebx + 0x420]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [ebp - 0x7f0]
push eax
push ecx
push 1
push 0
push str.LocalPath
push edx
call esi
mov eax, dword [ebx + 0x418]
add eax, 4
push eax
call fcn.005e639f
mov edx, dword [ebx + 0x418]
add esp, 4
lea ecx, [eax + eax + 2]
mov eax, dword [ebx + 0x420]
add edx, 4
push ecx
push edx
push 1
push 0
push str.LogFileName
push eax
call esi
jmp 0x5c0030
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5c0030
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5c0030
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 8]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push str.SoftwareDownloadManagerGrabberStsProjects_
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x5c0030
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push edx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_
push eax
mov byte [ebp - 4], 7
call fcn.005fb90b
add esp, 0xc
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 8]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push eax
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x5c0024
mov ecx, dword [ebp + 8]
push ecx
call edi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x20]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push ecx
call fcn.005fb90b
add esp, 0x10
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
lea eax, [ebp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6d0c38
push 0
push ecx
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x5c0024
lea edx, [ebp - 0x9f8]
push edx
call fcn.005e639f
mov edx, dword [ebp + 8]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax + eax + 2]
lea ecx, [ebp - 0x9f8]
push eax
push ecx
push 1
push 0
push str.LocalFileName
push edx
call esi
lea eax, [ebp - 0x7f0]
push eax
call fcn.005e639f
add esp, 4
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x7f0]
push ecx
push edx
push 1
push 0
push str.LocalPath
push eax
call esi
mov ecx, dword [ebx + 0x418]
add ecx, 4
push ecx
call fcn.005e639f
mov ecx, dword [ebp + 8]
lea edx, [eax + eax + 2]
mov eax, dword [ebx + 0x418]
add esp, 4
add eax, 4
push edx
push eax
push 1
push 0
push str.LogFileName
push ecx
call esi
mov edx, dword [ebp + 8]
push edx
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00602ad6
lea eax, [ebp - 0x9f8]
mov ecx, ebx
push eax
call fcn.005c3350
lea ecx, [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc