Function at 0x403b8a
Capabilities:
Check if file exists

Disassembly:
push 0x670
mov eax, 0x59596d
call fcn.004103bb
mov ebx, ecx
mov dword [ebp - 0x67c], ebx
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
push 0
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00430680
add esp, 0x24
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push str.8f3b1c
call fcn.00403e30
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
push str.5a12f4
call fcn.00403e30
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.88b6e8
call fcn.00403e30
call fcn.0041156c
test al, al
je 0x403c35
push esp
pop edi
pop ebp
push ebp
pop edx
pop edx
pop ecx
push esi
push eax
push ebx
pop ecx
pop ebp
pop ecx
push edx
push ebp
push ebp
pop ebx
push edi
push esp
push ebp
pop esi
pop esi
pop ebp
pop edx
push eax
pop edi
pop ebp
pop edi
push esi
call fcn.00411230
test al, al
je 0x403c57
push ecx
push esp
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop esp
pop esp
push eax
pop ecx
pop ebx
pop edx
push esp
push ecx
pop ecx
pop edx
pop edi
pop ebp
pop edx
pop esi
push esi
pop ebp
push ecx
pop edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403e2a
xor eax, eax
mov dword [ebp - 0x62c], 7
xor ebx, ebx
mov word [ebp - 0x640], ax
mov dword [ebp - 0x630], ebx
cmp word [ebp - 0x218], ax
je 0x403c9d
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00401c7b
cmp dword [ebp - 0x630], 0
mov dword [ebp - 4], ebx
je 0x403d52
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00415b80
mov esi, str.WinShostD.dll
mov byte [ebp - 4], 1
push esi
call fcn.00433f51
add esp, 0xc
lea ecx, [ebp - 0x658]
push eax
push esi
call fcn.00402595
lea ecx, [ebp - 0x678]
call fcn.00401e79
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.004023c1
lea ecx, [ebp - 0x678]
call fcn.00401f3a
push ebx
push 1
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], bl
call fcn.00401b31
call fcn.00411344
test al, al
je 0x403d7a
pop ebp
push esi
push esp
pop esp
push ecx
pop esp
push ecx
push eax
pop eax
pop esp
push edx
push esp
pop edx
push esp
push edi
push ebx
pop edi
pop esp
pop ecx
pop ebx
push ebx
push edx
push ebx
pop esp
push edx
push esi
pop esi
push edi
push edx
push esp
pop esi
mov ecx, dword [ebp - 0x67c]
call fcn.00403b29
call fcn.0041170a
test al, al
je 0x403d9f
push edx
push edi
push edx
pop eax
pop esi
push ebx
pop edx
push ebx
push eax
push esi
pop ebp
pop edx
pop eax
push esi
push ebx
pop ebp
push ebp
lea eax, [ebp - 0x628]
push eax
call fcn.00415fff
pop ecx
call fcn.0041149d
test al, al
je 0x403dd5
pop edx
push esi
pop edx
push esi
push ebp
push esp
pop edi
push eax
pop edi
push edx
pop esi
pop esi
push ecx
pop ebx
pop ebx
push ebp
pop esp
push esi
pop ebp
pop eax
pop ecx
push ecx
push eax
pop edi
push esi
pop ebp
push esi
pop ebx
pop ecx
push eax
pop ebp
push edi
call fcn.004114e2
test al, al
je 0x403def
pop esi
push esp
push ecx
pop edx
push ebp
pop edx
push eax
pop eax
push esp
pop ebx
push ebp
push eax
pop esi
pop eax
pop ebx
push edi
push esp
call fcn.004117d9
test al, al
je 0x403e18
push edx
push esp
pop esp
pop esi
push ebx
pop eax
pop edi
push eax
push ecx
pop esp
pop edi
push edi
pop esp
pop ebp
pop ecx
pop ecx
push eax
push eax
push ecx
pop edi
pop ebp
pop ebp
push esp
pop ebx
push ebp
push eax
push ecx
push ebx
pop ebp
pop esp
pop eax
pop ecx
push 0
push 1
lea ecx, [ebp - 0x640]
call fcn.00401b31
xor eax, eax
inc eax
call fcn.00410376
ret