Function at 0x5dfb60
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 0x654438
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 - 0x2c], ebx
mov dword [ebp - 4], 0
jne 0x5dfbec
mov eax, dword [ebp + 8]
test eax, eax
je 0x5dfbbe
push eax
call fcn.005e3b60
test eax, eax
jne 0x5dfbec
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 0x5dfbec
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5dfbec
push eax
push ecx
mov ecx, ebx
call fcn.005e3da0
test eax, eax
jne 0x5dfbec
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 [0x6f7b78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [str.DwnlData]
mov eax, dword [0x6f02c8]
mov edx, dword [0x6f02c4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x6f02cc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x50], edx
mov dx, word [0x6f02d0]
lea ecx, [ebp - 0x568]
push eax
push ecx
mov word [ebp - 0x44], dx
mov edx, dword [0x6fcafc]
push 0
push 0
push str.TempPath
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0x80
mov dword [ebp - 0x3c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5dfcaa
lea eax, [ebp - 0x568]
push eax
call fcn.0060b2c8
add esp, 4
test eax, eax
jne 0x5dfcaa
lea ecx, [ebp - 0x568]
push ecx
call fcn.00609a4e
add esp, 4
cmp word [ebp + eax*2 - 0x56a], 0x5c
je 0x5dfd38
lea edx, [ebp - 0x568]
push 0x6c91c0
push edx
call fcn.00609a6b
add esp, 8
jmp 0x5dfd38
mov eax, dword [0x6fca48]
test eax, eax
jne 0x5dfcb8
mov eax, 0x6fca4c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5dfd1d
mov eax, dword [0x6fca48]
test eax, eax
jne 0x5dfcd2
mov eax, 0x6fca4c
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.00609a95
mov eax, dword [0x6fca48]
add esp, 8
test eax, eax
jne 0x5dfd19
mov eax, 0x6fca4c
mov esi, eax
push eax
call fcn.00609a4e
mov edx, dword [0x6fcafc]
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 0x5dfd38
mov esi, eax
jmp 0x5dfcf2
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 - 0xdf8]
lea edx, [ebp - 0xff8]
push ecx
lea eax, [ebp - 0xbf8]
push edx
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x568]
push ecx
push edx
call fcn.0060a943
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 0x6d2bdc
push eax
call fcn.0060aac7
lea ecx, [ebp - 0x568]
push ecx
call fcn.0060bc6e
add esp, 0x18
test eax, eax
je 0x5dfdca
call fcn.0060c9c8
cmp dword [eax], 0xd
je 0x5dfdca
call fcn.0060c9c8
cmp dword [eax], 0x11
je 0x5dfdca
mov edx, dword [ebx + 0x438]
lea eax, [ebp - 0x568]
push edx
push eax
call fcn.0060c9c8
mov ecx, dword [eax]
push ecx
call fcn.005e0860
add esp, 0xc
jmp 0x5e0565
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x5e8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x5dfdf3
lea ecx, [ebp - 0x5e8]
push 0x6cdea4
push ecx
call fcn.0060aac7
add esp, 8
lea edx, [ebp - 0x5e8]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5dfe54
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.0060aac7
lea edx, [ebp - 0x568]
push edx
call fcn.0060bc6e
add esp, 0x1c
test eax, eax
je 0x5dfebe
call fcn.0060c9c8
cmp dword [eax], 0xd
je 0x5dfebe
call fcn.0060c9c8
cmp dword [eax], 0x11
je 0x5dfebe
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.0060aac7
lea ecx, [ebp - 0x568]
push ecx
call fcn.0060bc6e
add esp, 0x18
test eax, eax
je 0x5dfebe
call fcn.0060c9c8
cmp dword [eax], 0xd
je 0x5dfebe
call fcn.0060c9c8
cmp dword [eax], 0x11
je 0x5dfebe
mov edx, dword [ebx + 0x438]
lea eax, [ebp - 0x568]
push edx
push eax
call fcn.0060c9c8
mov ecx, dword [eax]
push ecx
call fcn.005e0860
add esp, 0xc
jmp 0x5e0565
mov edx, dword [ebx + 8]
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x360]
push 0x6cb6a4
push edx
rep stosd dword es:[edi], eax
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x5e003c
mov eax, dword [ebp + 8]
test eax, eax
je 0x5dff57
mov eax, dword [ebx]
push 0x56
lea ecx, [ebp - 0x360]
push eax
push ecx
call fcn.00609f00
add esp, 0xc
lea edx, [ebp - 0x360]
lea ecx, [ebp - 0x18]
push edx
call fcn.00622df8
push 0x5f
push 0x2e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0061f4c7
mov edi, dword [ebp - 0x18]
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 - 0x18]
call fcn.00622d8a
jmp 0x5e00ce
mov ecx, dword [ebx + 8]
push 0x3d
push ecx
call fcn.0060ab40
mov edx, dword [ebx + 8]
push 0x3f
push edx
mov esi, eax
call fcn.0060ab40
mov edi, eax
mov eax, dword [ebx + 8]
push 0x2f
push eax
call fcn.0060ab40
add esp, 0x18
cmp edi, esi
jae 0x5dff8c
cmp esi, eax
jbe 0x5dff8a
inc esi
jmp 0x5dff98
cmp edi, esi
jbe 0x5dff95
cmp edi, eax
lea esi, [edi + 1]
ja 0x5dff98
lea esi, [eax + 1]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x5e0012
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.00609f00
push 0x2e
push esi
call fcn.0060ab40
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5e00d7
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5e00d7
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp - 0x360]
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
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 0x5e00d7
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 0x5e00d7
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 0x5e00a9
push 0x1e
lea ecx, [ebp - 0x360]
push esi
push ecx
call fcn.00609f00
push 0x2e
push esi
call fcn.0060ab40
mov edx, eax
add esp, 0x14
test edx, edx
je 0x5e00ce
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jae 0x5e00ce
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp - 0x360]
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
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 0x5e00c9
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 edx, dword [ebp + 8]
xor ebx, ebx
cmp edx, ebx
jne 0x5e0107
xor ebx, ebx
push ebx
call fcn.0060b449
mov ecx, dword [0x6fe008]
add esp, 4
inc ecx
mov dword [0x6fe008], ecx
push ecx
push eax
lea ecx, [ebp - 0x360]
push str._luf_lu
push ecx
call fcn.0060a593
add esp, 0x10
jmp 0x5e012e
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5e012e
push edx
lea edx, [ebp - 0x360]
push 0x6c91b4
push edx
call fcn.0060a593
add esp, 0xc
lea eax, [ebp - 0x360]
lea ecx, [ebp - 0x14]
push eax
call fcn.00622df8
push 0x2d
push 0x3a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0061f4c7
push 0x2d
push 0x2a
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x3f
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x7c
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x3c
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x3e
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x25
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
push 0x2d
push 0x2f
lea ecx, [ebp - 0x14]
call fcn.0061f4c7
mov ecx, dword [ebp - 0x14]
push 0x30b
lea edx, [ebp - 0x360]
push ecx
push edx
call fcn.00609f00
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
cmp eax, ecx
jge 0x5e01fe
cmp byte [ebp + eax - 0x360], 0x20
jge 0x5e01fb
mov byte [ebp + eax - 0x360], 0x2d
inc eax
jmp 0x5e01e5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.00401070
lea eax, [ebp - 0x360]
test eax, eax
je 0x5e0276
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e0276
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
lea ecx, [ebp - 0x360]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x5e0271
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x5e027f
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x360]
push ecx
push eax
push 0xffffffffffffffff
push edx
push ebx
push ebx
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
jmp 0x5e027f
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, 4
test eax, eax
mov byte [ebp - 4], bl
jne 0x5e028e
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xdf8]
lea edx, [ebp - 0xff8]
push ecx
push edx
lea ecx, [ebp - 0xbf8]
lea edx, [ebp - 0x34]
push ecx
push edx
push eax
call fcn.0060a943
mov edi, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0xff8]
lea ecx, [ebp - 0x568]
push edi
push eax
push ecx
lea edx, [ebp - 0x7f0]
push str._s_s__ld_
push edx
call fcn.0060aac7
mov eax, dword [ebp - 0x28]
add esp, 0x14
test eax, eax
jne 0x5e02e0
lea eax, [ebp - 0x24]
push edi
mov edi, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x7f0]
mov ecx, dword [edi + 0x434]
push eax
call fcn.005701b0
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.0060bc6e
add esp, 4
test eax, eax
jne 0x5e03f5
lea edx, [ebp - 0x7f0]
lea ecx, [ebp - 0x18]
push edx
call fcn.00622e4a
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
push str.Folder__s_was_created._n
push ecx
mov byte [ebp - 4], 5
call fcn.0061fae1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x434]
add esp, 0xc
push edx
call fcn.0056fe30
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00622d8a
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x5e035d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x7f0]
push eax
lea ecx, [ebp - 0x9f8]
push 0x6ca5f0
push ecx
call fcn.0060aac7
mov eax, dword [edi + 0x2c]
add esp, 0x10
test eax, eax
je 0x5e0389
push eax
call fcn.00622af4
add esp, 4
lea edx, [ebp - 0x7f0]
push edx
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x5e0589
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, edi
call fcn.005df030
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00622d8a
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x568]
push edi
push eax
lea ecx, [ebp - 0x7f0]
push str._s_ld_
push ecx
call fcn.0060aac7
add esp, 0x10
lea edx, [ebp - 0xdf8]
lea eax, [ebp - 0x360]
push edx
push edi
push str._ld_s
push eax
call fcn.0060a593
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x360]
test ecx, ecx
je 0x5e0495
lea edi, [ebp - 0x360]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e0495
push eax
push eax
lea edx, [ebp - 0x360]
push 0xffffffffffffffff
push edx
push eax
push eax
call esi
test eax, eax
mov dword [ebp - 0x20], eax
je 0x5e0495
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5e049c
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x360]
push ecx
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x5e049f
lea eax, [ebp - 0x24]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [edi + 0x434]
lea eax, [ebp - 0x7f0]
push eax
call fcn.005701b0
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.0060bc6e
add esp, 4
test eax, eax
jne 0x5e0513
lea edx, [ebp - 0x7f0]
lea ecx, [ebp + 8]
push edx
call fcn.00622e4a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
push str.Folder__s_was_created._n
push ecx
mov byte [ebp - 4], 6
call fcn.0061fae1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x434]
add esp, 0xc
push edx
call fcn.0056fe30
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00622d8a
jmp 0x5e0353
call fcn.0060c9c8
cmp dword [eax], 0xd
je 0x5e0353
call fcn.0060c9c8
cmp dword [eax], 0x11
je 0x5e0353
mov eax, dword [edi + 0x438]
lea ecx, [ebp - 0x7f0]
push eax
push ecx
call fcn.0060c9c8
mov edx, dword [eax]
push edx
call fcn.005e0860
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 ecx, [ebp - 0x7f0]
push ecx
push eax
call fcn.00609a95
add esp, 8
test esi, esi
je 0x5e0659
mov eax, dword [edi + 0x43c]
test eax, eax
jne 0x5e05c3
push esi
mov ecx, edi
call fcn.005e6030
test al, al
jne 0x5e05c3
lea edx, [ebp - 0x9f8]
push edx
jmp 0x5e07ec
lea eax, [ebp - 0x9f8]
push eax
call fcn.00609a4e
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [eax + eax + 2]
mov eax, dword [edi + 0x43c]
lea edx, [ebp - 0x9f8]
push ecx
push edx
push 1
push 0
push 0x6d10ac
push eax
call esi
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.00609a4e
mov ecx, dword [edi + 0x43c]
add esp, 4
lea edx, [eax + eax + 2]
lea eax, [ebp - 0x7f0]
push edx
push eax
push 1
push 0
push str.LocalPath
push ecx
call esi
mov edx, dword [edi + 0x434]
add edx, ebx
push edx
call fcn.00609a4e
mov ecx, dword [edi + 0x434]
mov edx, dword [edi + 0x43c]
add esp, 4
lea eax, [eax + eax + 2]
add ecx, ebx
push eax
push ecx
push 1
push 0
push str.LogFileName
push edx
call esi
jmp 0x5e07e5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5e07e5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5e07e5
lea eax, [ebp - 0x38]
lea ecx, [ebp + 8]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push str.SoftwareDownloadManagerGrabberStsProjects_
push 0x80000001
call esi
test eax, eax
jne 0x5e07e5
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push ecx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_
push edx
mov byte [ebp - 4], 7
call fcn.0061fae1
add esp, 0xc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
lea ecx, [ebp + 8]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push edx
push 0x80000001
call esi
test eax, eax
jne 0x5e07d7
mov eax, dword [ebp + 8]
push eax
call edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
call fcn.0061fae1
add esp, 0x10
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
lea edx, [ebp + 8]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push eax
push 0x80000001
call esi
test eax, eax
jne 0x5e07d7
lea ecx, [ebp - 0x9f8]
push ecx
call fcn.00609a4e
mov ecx, dword [ebp + 8]
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 0x6d10ac
push ecx
call esi
lea edx, [ebp - 0x7f0]
push edx
call fcn.00609a4e
mov edx, dword [ebp + 8]
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 [ebp - 0x2c]
mov ecx, dword [eax + 0x434]
add ecx, ebx
push ecx
call fcn.00609a4e
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x2c]
add esp, 4
mov ecx, dword [eax + 0x434]
add ecx, ebx
push edx
mov edx, dword [ebp + 8]
push ecx
push 1
push 0
push str.LogFileName
push edx
call esi
mov eax, dword [ebp + 8]
push eax
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00622d8a
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x9f8]
push ecx
mov ecx, edi
call fcn.005e43c0
lea ecx, [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00622d8a
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