Function at 0x42b3fd
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x515797
call fcn.004e3d00
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
mov eax, 0x2011f
push reloc.OLEAUT32.dll_SysReAllocString
lea edi, [ebp - 0x38]
call fcn.0041455e
test eax, eax
jne 0x42b6b0
lea ecx, [ebp - 0x4c]
call fcn.004c92aa
mov byte [ebp - 4], 4
call fcn.004be6f3
push eax
lea ecx, [ebp - 0x10]
call fcn.004027f9
mov byte [ebp - 4], 5
call fcn.004be6f3
push eax
lea ecx, [ebp - 0x14]
call fcn.004027f9
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 6
push dword [ebp - 0x38]
call fcn.0040e1fc
cmp dword [ebp - 0x44], esi
mov dword [ebp - 0x18], esi
jle 0x42b686
mov edi, str.HKEY_LOCAL_MACHINE_
mov eax, dword [ebp + 8]
call fcn.0040e41d
test eax, eax
jne 0x42b6b5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
call fcn.004370b9
push dword [eax]
lea eax, [ebp - 0x10]
push 0x5b8bbc
push eax
call fcn.00402a1d
add esp, 0xc
push esi
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
call fcn.00402130
add esp, 0xc
call fcn.0040f05b
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00402305
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 6
call fcn.00410a54
cmp eax, esi
je 0x42b677
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cmp eax, esi
je 0x42b5bf
lea ecx, [eax - 1]
lea eax, [ebp - 0x14]
call fcn.00402bd5
cmp ax, 0x5c
je 0x42b535
push 0x5b2450
lea ecx, [ebp - 0x14]
call fcn.0041417d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402130
add esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push esi
push esi
push esi
push 1
push esi
push esi
mov edx, eax
mov byte [ebp - 4], 8
call fcn.00411bba
mov bl, al
neg bl
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040285b
test bl, bl
je 0x42b677
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x5afd90
call fcn.0040253b
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], esp
jmp 0x42b635
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402130
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040285b
test bl, bl
je 0x42b677
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5afd90
call fcn.0040253b
push ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x24], esp
mov eax, esp
lea ecx, [ebp + 0xc]
push ecx
push edi
push eax
call fcn.0040dc86
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 6
call fcn.0040e855
push ecx
mov ebx, eax
mov eax, esp
mov dword [ebp - 0x30], esp
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push eax
call fcn.00402130
add esp, 0xc
push dword [ebp + 8]
call fcn.0040eff8
xor esi, esi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x44]
jl 0x42b482
lea ecx, [ebp - 0x38]
call fcn.0041459a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004c9586
xor esi, esi
inc esi
jmp 0x42b6da
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004c9586
push 2
pop esi
lea ecx, [ebp - 0x38]
call fcn.0041459a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov eax, esi
call fcn.004e3dd8
ret 0x14