Function at 0x403f14
Capabilities:
Check if file exists

Disassembly:
push 0x90
mov eax, 0x43d7cd
call fcn.0042520a
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x64], eax
call fcn.00403e83
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x403f43
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x403f69
mov edi, 0x44c
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.004026fe
mov eax, edi
call fcn.0042528d
ret
lea eax, [ebp - 0x80]
push eax
call fcn.0040487c
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
jmp 0x403fc9
lea esi, [ebp - 0x54]
call fcn.00407c36
cmp dword [eax + 0x18], 8
jb 0x403f9e
mov eax, dword [eax + 4]
jmp 0x403fa1
add eax, 4
push eax
call ebx
test eax, eax
je 0x403fc1
lea esi, [ebp - 0x54]
call fcn.00407c36
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x80]
push ecx
push edx
push eax
lea edi, [ebp - 0x80]
call fcn.00404917
lea esi, [ebp - 0x54]
call fcn.004048cb
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x54]
call fcn.004048fa
test al, al
jne 0x403f8b
xor ebx, ebx
cmp dword [ebp - 0x68], ebx
jne 0x403ffa
lea edi, [ebp - 0x80]
call fcn.004049a0
push dword [ebp - 0x80]
call fcn.00424223
pop ecx
mov edi, 0x44e
jmp 0x403f55
mov esi, dword [ebp - 0x64]
mov ecx, esi
call fcn.0040a4d8
call fcn.0040aa50
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x404015
lea eax, [ebp - 0x2c]
push esi
push eax
push str.__s__a___s_
lea ecx, [ebp - 0x4c]
call fcn.0040b9f6
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x80]
mov ecx, dword [eax]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
jmp 0x404091
lea esi, [ebp - 0x54]
call fcn.00407c36
cmp dword [eax + 0x18], 8
jb 0x404054
mov eax, dword [eax + 4]
jmp 0x404057
add eax, 4
push eax
push str.___s_
lea ecx, [ebp - 0x9c]
call fcn.0040b9f6
pop ecx
pop ecx
push eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004049e6
push ebx
push 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004026fe
lea esi, [ebp - 0x54]
call fcn.004048cb
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x54]
call fcn.004048fa
test al, al
jne 0x404041
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], ebx
jae 0x4040af
lea eax, [ebp - 0x48]
cmp eax, ebx
je 0x4040d1
push eax
xor eax, eax
call fcn.0040b056
mov esi, eax
mov dword [ebp - 0x50], esi
cmp esi, ebx
je 0x4040c9
cmp esi, 0xffffffff
jne 0x4040f7
lea eax, [ebp - 0x50]
call fcn.00403d39
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004026fe
lea edi, [ebp - 0x80]
call fcn.004049a0
push dword [ebp - 0x80]
call fcn.00424223
pop ecx
mov edi, 0x44d
jmp 0x403f55
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x50]
call fcn.00403d39
cmp dword [ebp - 0x60], ebx
je 0x404120
mov esi, dword [ebp - 0x64]
call fcn.0040aa50
mov ebx, dword [ebp - 0x60]
push 0
push 1
lea esi, [ebp - 0x4c]
call fcn.004026fe
lea edi, [ebp - 0x80]
call fcn.004049a0
push dword [ebp - 0x80]
call fcn.00424223
pop ecx
mov edi, ebx
jmp 0x403f55