Function at 0x430240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450691
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x28], eax
cmp ecx, str.IEXPLORE.EXE
je 0x43040d
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x250], esi
mov edx, dword [0x469fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x469fec
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.IEXPLORE.EXE
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_s
lea edi, [esp + 0x1c]
mov byte [esp + 0x258], 1
call fcn.004311e0
add esp, 8
mov dword [esp + 0x2c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], SysReAllocString
xor ebx, ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + ebx*4 + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
push edx
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4303cc
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x430325
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
cmp eax, esi
jne 0x4303cc
push 0x206
lea eax, [esp + 0x3a]
xor edx, edx
push esi
push eax
mov word [esp + 0x40], dx
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x28]
lea esi, [esp + 0x38]
mov dword [esp + 0x28], 0x104
call fcn.00421500
test eax, eax
jne 0x4303ca
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004308e0
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x254], 2
call fcn.004309b0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430433
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4303ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
inc ebx
cmp ebx, 2
jb 0x4302f0
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43040d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00433af9
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x430440
sub ecx, esi
mov esi, dword [esp + 0x28]
sar ecx, 1
push ecx
call fcn.004053c0
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4304a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4304b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x43040f