Function at 0x45e3d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x45e40d
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 8]
call fcn.00405408
lea eax, [ebp - 0xc]
call fcn.00405408
lea eax, [ebp + 8]
call fcn.00405408
xor eax, eax
push ebp
push 0x45e752
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xf
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x45e768
call fcn.0040a4ac
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xf
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x45e778
call fcn.0040a4ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xf
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x45e778
call fcn.0040a4ac
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x45e790
call fcn.0040a4ac
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x45e7a0
call fcn.0040a4ac
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x45e7b8
call fcn.0040a4ac
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
mov ecx, 2
mov eax, 0x45e7d4
call fcn.0040a4ac
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
mov ecx, 2
mov eax, 0x45e7f0
call fcn.0040a4ac
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
call fcn.0045e0dc
mov esi, eax
cmp word [esi], 0
je 0x45e706
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 0xa
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
lea edx, [ebp - 0x34]
mov ecx, 1
mov eax, 0x45e814
call fcn.0040a4ac
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00404f98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45e708
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e759
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00404f74
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404f74
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404f74
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f74
lea eax, [ebp + 8]
call fcn.00404f5c
ret