Function at 0x40e200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x130
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, 0x52429a
call fcn.004c6bbd
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004084d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e25d
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x41
xor al, al
jmp 0x40e70a
mov ecx, dword [ebp + 0xc]
call fcn.004084d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e280
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0x42
xor al, al
jmp 0x40e70a
mov edx, 0x20
mov word [ebp - 0x28], dx
mov eax, 0x2d
mov word [ebp - 0x26], ax
mov ecx, 0x79
mov word [ebp - 0x24], cx
xor edx, edx
mov word [ebp - 0x22], dx
mov eax, 0x22
mov word [ebp - 0x60], ax
mov ecx, 0x20
mov word [ebp - 0x5e], cx
mov edx, 0x2d
mov word [ebp - 0x5c], dx
mov eax, 0x61
mov word [ebp - 0x5a], ax
mov ecx, 0x6f
mov word [ebp - 0x58], cx
mov edx, 0x61
mov word [ebp - 0x56], dx
xor eax, eax
mov word [ebp - 0x54], ax
mov ecx, 0x22
mov word [ebp - 0x50], cx
mov edx, 0x20
mov word [ebp - 0x4e], dx
mov eax, 0x2d
mov word [ebp - 0x4c], ax
mov ecx, 0x6f
mov word [ebp - 0x4a], cx
mov edx, 0x22
mov word [ebp - 0x48], dx
xor eax, eax
mov word [ebp - 0x46], ax
mov ecx, 0x78
mov word [ebp - 0x34], cx
mov edx, 0x20
mov word [ebp - 0x32], dx
mov eax, 0x22
mov word [ebp - 0x30], ax
xor ecx, ecx
mov word [ebp - 0x2e], cx
lea ecx, [ebp - 0x12]
call fcn.004063b0
push eax
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x130]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x10c]
call fcn.00406d10
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x13]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x52]
push ecx
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x138]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x100]
call fcn.00406d10
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x140]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0xf4]
call fcn.00406d10
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x120]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00406d10
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xd4]
call fcn.00415e30
push eax
lea edx, [ebp - 0x9c]
push edx
call fcn.004086d0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
call fcn.00415e30
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00408590
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x7c]
call fcn.00415e30
push eax
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x88]
call fcn.00415e30
push eax
mov edx, dword [ebp - 0x8c]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.00407640
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x94]
call fcn.00407640
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x98]
call fcn.00407640
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x9c]
call fcn.00407640
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe8]
call fcn.00407960
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf4]
call fcn.00407960
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x100]
call fcn.00407960
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c]
call fcn.00407960
mov ecx, dword [ebp + 0x14]
call fcn.0040b7d0
movzx ecx, al
test ecx, ecx
jne 0x40e6a6
mov edx, 0x20
mov word [ebp - 0x40], dx
mov eax, 0x2d
mov word [ebp - 0x3e], ax
mov ecx, 0x70
mov word [ebp - 0x3c], cx
mov edx, 0x22
mov word [ebp - 0x3a], dx
xor eax, eax
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x16]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x36]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x128]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x118]
call fcn.00406d10
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.00415e30
push eax
lea edx, [ebp - 0xbc]
push edx
call fcn.004086d0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x13
push 0x4f6c84
mov ecx, dword [ebp - 0xac]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004089c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb8]
call fcn.00407640
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xbc]
call fcn.00407640
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.00407960
push 0xffffffffffffffff
push 1
push 0
push 0
push 1
lea edx, [ebp - 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00406000
call fcn.0040e040
add esp, 0x1c
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc0]
mov dword [ecx], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00407640
jmp 0x40e6f7
mov dword [ebp - 4], 0xffffffff
jmp 0x40e707
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret