Function at 0x439d50
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x503f56
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x580]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x590]
push 0x208
push 0
push ebp
mov dword [esp + 0x20], ebp
call fcn.004cd250
add esp, 0xc
lea esi, [esp + 0x24]
mov dword [esp + 0x18], 0
call fcn.004452f0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x439fd7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x37e]
push ecx
mov word [esp + 0x380], ax
call fcn.004cd250
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0x104
jae 0x439dfa
lea eax, [esp + 0x28]
inc esi
push esi
push eax
lea edx, [esp + 0x37c]
push 0x104
push edx
call fcn.004c873f
add esp, 0x10
xor edi, edi
cmp word [esp + 0x374], 0x22
jne 0x439e24
mov edi, 1
lea eax, [esp + 0x374]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439e30
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x439fd7
lea ebx, [esp + esi*2 + 0x370]
push 3
push ebx
xor eax, eax
lea ecx, [esp + 0x16c]
push 4
push ecx
mov word [esp + 0x174], ax
mov dword [esp + 0x176], eax
mov word [esp + 0x17a], ax
call fcn.004c873f
lea eax, [esp + 0x174]
xor edx, edx
push 0x521460
push eax
mov word [esp + 0x182], dx
call fcn.004c6a30
add esp, 0x18
test eax, eax
je 0x439eac
dec esi
sub ebx, 2
cmp esi, edi
jg 0x439e51
jmp 0x439fd7
push 0x208
lea ecx, [esp + 0x170]
push 0
push ecx
call fcn.004cd250
sub esi, edi
lea ebp, [esi + 1]
push ebp
lea edi, [esp + edi*2 + 0x384]
push edi
lea edx, [esp + 0x180]
push 0x104
push edx
mov dword [esp + 0x180], edi
call fcn.004c873f
add esp, 0x1c
lea ecx, [esp + 0x40]
call fcn.00438ae0
lea edi, [esp + 0x16c]
mov eax, edi
test eax, eax
jne 0x439f05
mov edi, 0x51933c
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439f10
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.00439970
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x439f43
mov eax, dword [esp + 0x48]
lea ecx, [ebx + ebx]
push ecx
add eax, 4
push edi
push eax
call fcn.004cd2d0
add esp, 0xc
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x439f66
mov eax, dword [esp + 0x48]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439fa1
shr eax, 4
not al
and al, 1
je 0x439fa1
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x14]
push ebp
push edx
push 0x104
push eax
call fcn.004c873f
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x439fc8
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x439fc8
push eax
call fcn.004c6103
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x14]
jne 0x43a081
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a06b
push 0x206
push eax
lea ecx, [esp + 0x176]
push ecx
mov word [esp + 0x178], ax
call fcn.004cd250
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x16c]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a06b
lea eax, [esp + 0x16c]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.004c8700
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43a07a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x43a0ff
push 0x519330
lea ecx, [esp + 0x44]
call fcn.00438c10
push ebp
push 0x5192f4
lea edx, [esp + 0x48]
call fcn.004392f0
push 0x519330
push 0x5192f4
lea edx, [esp + 0x50]
call fcn.004392f0
add esp, 0x10
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43a0c6
mov eax, dword [esp + 0x48]
add eax, 4
push eax
push 0x104
push ebp
call fcn.004c6803
add esp, 0xc
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x43a0ff
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x43a0ff
push eax
call fcn.004c6103
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x43a113
mov edx, dword [esp + 0x28]
push edx
call fcn.004c85c5
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.004c60f4
add esp, 0x578
ret