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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53be1c
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x118]
mov edi, dword [ebx + 0x11c]
cmp esi, edi
je 0x4516f6
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push esi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00403080
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0xdc]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xd8], eax
call fcn.00417760
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
push ecx
cmovae eax, dword [ebp - 0xb8]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebx + 0x70]
call fcn.00412da0
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx], 0x5671d4
mov dword [ecx + 4], 0xe
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00412da0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x451490
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x4514cf
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x88], al
mov byte [ebp - 4], 6
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x70], al
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4515c9
push 0xffffffffffffffff
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.0041e650
add esp, 4
test al, al
je 0x4515c9
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.00461850
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045d540
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00461e60
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.004112e0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4515e2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403550
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x45160d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403550
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x451638
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403550
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x451669
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00403550
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x4516a0
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403930
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
cmp eax, 0x10
jb 0x4516d9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403550
add esi, 0x18
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp esi, edi
jne 0x4513b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret