Function at 0x42ac70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x60], eax
push 0xb
mov dword [ebp - 0x64], ecx
xor ebx, ebx
xor eax, eax
mov edi, 7
push str.imjpuex.exe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x68], edx
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], ax
call fcn.00401cd6
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x1c], cx
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
call fcn.00401c43
push 1
push 0x4cfe30
lea ecx, [ebp - 0x20]
call fcn.004027ed
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x20]
call fcn.00402744
lea eax, [ebp - 0x20]
push eax
mov ecx, eax
push ecx
call fcn.004385e0
add esp, 8
lea esi, [ebx + 8]
test al, al
jne 0x42ad38
cmp dword [ebp - 8], esi
jb 0x42ad1a
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x40], esi
jb 0x42aee8
mov ecx, dword [ebp - 0x54]
push ecx
jmp 0x42aee0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x42ad43
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ad7d
cmp dword [ebp - 8], esi
jb 0x42ad5f
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x40], esi
jb 0x42aee8
mov ecx, dword [ebp - 0x54]
push ecx
jmp 0x42aee0
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
xor edx, edx
push ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], dx
call fcn.004385e0
add esp, 8
test al, al
jne 0x42ade9
cmp dword [ebp - 0x24], esi
jb 0x42adae
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
cmp dword [ebp - 8], esi
jb 0x42adcb
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], dx
cmp dword [ebp - 0x40], esi
jb 0x42aee8
mov eax, dword [ebp - 0x54]
push eax
jmp 0x42aee0
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.00437f00
add esp, 8
test al, al
jne 0x42ae5d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00437f00
add esp, 8
test al, al
jne 0x42ae5d
cmp dword [ebp - 0x24], esi
jb 0x42ae22
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
cmp dword [ebp - 8], esi
jb 0x42ae3f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], dx
cmp dword [ebp - 0x40], esi
jb 0x42aee8
mov eax, dword [ebp - 0x54]
push eax
jmp 0x42aee0
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], ebx
je 0x42ae8a
mov ecx, dword [ebp - 0x60]
push ecx
push eax
call fcn.00437f00
add esp, 8
test al, al
jne 0x42ae8a
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.00437f00
add esp, 8
test al, al
je 0x42ae9d
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00401c43
mov byte [ebp - 0x59], 1
cmp dword [ebp - 0x24], esi
jb 0x42aeae
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov word [ebp - 0x38], dx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
cmp dword [ebp - 8], esi
jb 0x42aecb
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
cmp dword [ebp - 0x40], esi
jb 0x42aee8
mov edx, dword [ebp - 0x54]
push edx
call fcn.0048e006
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x59]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e25d
mov esp, ebp
pop ebp
ret