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

Disassembly:
push 0xffffffffffffffff
push 0x50c626
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
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.004d3fc0
add esp, 0xc
lea esi, [esp + 0x24]
mov dword [esp + 0x18], 0
call fcn.00446980
mov esi, dword [esp + 0x38]
test esi, esi
je 0x43b467
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x37e]
push ecx
mov word [esp + 0x380], ax
call fcn.004d3fc0
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0x104
jae 0x43b28a
lea eax, [esp + 0x28]
inc esi
push esi
push eax
lea edx, [esp + 0x37c]
push 0x104
push edx
call fcn.004cf75d
add esp, 0x10
xor edi, edi
cmp word [esp + 0x374], 0x22
jne 0x43b2b4
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 0x43b2c0
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, edi
jle 0x43b467
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.004cf75d
lea eax, [esp + 0x174]
xor edx, edx
push 0x529438
push eax
mov word [esp + 0x182], dx
call fcn.004cd81d
add esp, 0x18
test eax, eax
je 0x43b33c
dec esi
sub ebx, 2
cmp esi, edi
jg 0x43b2e1
jmp 0x43b467
push 0x208
lea ecx, [esp + 0x170]
push 0
push ecx
call fcn.004d3fc0
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.004cf75d
add esp, 0x1c
lea ecx, [esp + 0x40]
call fcn.0043a090
lea edi, [esp + 0x16c]
mov eax, edi
test eax, eax
jne 0x43b395
mov edi, 0x5213e4
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b3a0
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.0043ae00
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43b3d3
mov eax, dword [esp + 0x48]
lea ecx, [ebx + ebx]
push ecx
add eax, 4
push edi
push eax
call fcn.004d4040
add esp, 0xc
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43b3f6
mov eax, dword [esp + 0x48]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b431
shr eax, 4
not al
and al, 1
je 0x43b431
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x14]
push ebp
push edx
push 0x104
push eax
call fcn.004cf75d
add esp, 0x10
mov dword [esp + 0x18], 1
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x43b458
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x43b458
push eax
call fcn.004ccef0
add esp, 4
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x14]
jne 0x43b511
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 0x43b4fb
push 0x206
push eax
lea ecx, [esp + 0x176]
push ecx
mov word [esp + 0x178], ax
call fcn.004d3fc0
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 0x43b4fb
lea eax, [esp + 0x16c]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ebp
call fcn.004cf71e
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43b50a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x43b58f
push 0x5213d8
lea ecx, [esp + 0x44]
call fcn.0043a1c0
push ebp
push 0x52139c
lea edx, [esp + 0x48]
call fcn.0043a8a0
push 0x5213d8
push 0x52139c
lea edx, [esp + 0x50]
call fcn.0043a8a0
add esp, 0x10
cmp byte [esp + 0x15c], 0
lea eax, [esp + 0x4c]
jne 0x43b556
mov eax, dword [esp + 0x48]
add eax, 4
push eax
push 0x104
push ebp
call fcn.004cd5f0
add esp, 0xc
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x43b58f
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x43b58f
push eax
call fcn.004ccef0
add esp, 4
mov dword [esp + 0x588], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x43b5ae
mov edx, dword [esp + 0x28]
push edx
call fcn.004cf512
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.004ccee1
add esp, 0x578
ret