Function at 0x42a830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64940a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
lea edi, [ebp - 0x64]
mov esi, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ebx
call fcn.0042b190
push 0xb
push str.Extension_
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040a780
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
lea edi, [esi + 0x3c]
push edx
mov ebx, edi
call fcn.0040ac60
add esp, 8
xor eax, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 2
cmp dword [eax + 0x10], 0
je 0x42a8e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403240
lea ecx, [esi + 0x20]
lea edx, [ebp - 0x2c]
call fcn.00429ff0
test al, al
je 0x42a955
push 0x688728
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.0040aa60
add esp, 0xc
add esi, 0x90
push esi
push eax
lea eax, [ebp - 0x80]
mov ebx, 3
mov byte [ebp - 4], bl
push eax
mov dword [ebp - 0xa4], 1
call fcn.0040ad50
xor edi, edi
add esp, 0xc
cmp dword [eax + 0x10], edi
je 0x42a95d
cmp dword [eax + 0x14], 8
jb 0x42a93c
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x42a95d
mov byte [ebp - 0x9d], 1
jmp 0x42a964
mov ebx, dword [ebp - 0xa4]
xor edi, edi
mov byte [ebp - 0x9d], 0
test bl, 2
je 0x42a991
and ebx, 0xfffffffd
cmp dword [ebp - 0x6c], 8
jb 0x42a97e
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
jmp 0x42a996
mov esi, 7
test bl, 1
mov ebx, 8
je 0x42a9b7
cmp dword [ebp - 0x88], ebx
jb 0x42a9b7
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0x9d], 0
je 0x42aa0f
cmp dword [ebp - 0x18], ebx
jb 0x42a9d1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], ebx
jb 0x42a9ee
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], ebx
jb 0x42aa0b
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
jmp 0x42aa5f
cmp dword [ebp - 0x18], ebx
jb 0x42aa20
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x42aa3d
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], ebx
jb 0x42aa5a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
mov eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 4