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

Disassembly:
push 0xffffffffffffffff
push 0x50a0e6
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
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.004d3360
add esp, 0xc
lea esi, [esp + 0x24]
mov dword [esp + 0x18], 0
call fcn.00445a20
mov esi, dword [esp + 0x38]
test esi, esi
je 0x43a3f7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x37e]
push ecx
mov word [esp + 0x380], ax
call fcn.004d3360
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0x104
jae 0x43a21a
lea eax, [esp + 0x28]
inc esi
push esi
push eax
lea edx, [esp + 0x37c]
push 0x104
push edx
call fcn.004ce857
add esp, 0x10
xor edi, edi
cmp word [esp + 0x374], 0x22
jne 0x43a244
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 0x43a250
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x43a3f7
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.004ce857
lea eax, [esp + 0x174]
xor edx, edx
push 0x528e80
push eax
mov word [esp + 0x182], dx
call fcn.004ccbed
add esp, 0x18
test eax, eax
je 0x43a2cc
dec esi
sub ebx, 2
cmp esi, edi
jg 0x43a271
jmp 0x43a3f7
push 0x208
lea ecx, [esp + 0x170]
push 0
push ecx
call fcn.004d3360
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.004ce857
add esp, 0x1c
lea ecx, [esp + 0x40]
call fcn.00438f20
lea edi, [esp + 0x16c]
mov eax, edi
test eax, eax
jne 0x43a325
mov edi, 0x51f23c
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a330
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.00439d90
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43a363
mov eax, dword [esp + 0x48]
lea ecx, [ebx + ebx]
push ecx
add eax, 4
push edi
push eax
call fcn.004d33e0
add esp, 0xc
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43a386
mov eax, dword [esp + 0x48]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a3c1
shr eax, 4
not al
and al, 1
je 0x43a3c1
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x14]
push ebp
push edx
push 0x104
push eax
call fcn.004ce857
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x43a3e8
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x43a3e8
push eax
call fcn.004cc2c0
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x14]
jne 0x43a4a1
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 0x43a48b
push 0x206
push eax
lea ecx, [esp + 0x176]
push ecx
mov word [esp + 0x178], ax
call fcn.004d3360
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 0x43a48b
lea eax, [esp + 0x16c]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.004ce818
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43a49a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x43a51f
push 0x51f230
lea ecx, [esp + 0x44]
call fcn.00439010
push ebp
push 0x51f1f4
lea edx, [esp + 0x48]
call fcn.00439710
push 0x51f230
push 0x51f1f4
lea edx, [esp + 0x50]
call fcn.00439710
add esp, 0x10
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43a4e6
mov eax, dword [esp + 0x48]
add eax, 4
push eax
push 0x104
push ebp
call fcn.004cc9c0
add esp, 0xc
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x43a51f
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x43a51f
push eax
call fcn.004cc2c0
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x43a533
mov edx, dword [esp + 0x28]
push edx
call fcn.004ce6dd
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.004cc2b1
add esp, 0x578
ret