Function at 0x45bfa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4970a7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], ebx
je 0x45c0c8
cmp ebx, edi
je 0x45c0c8
push 0x208
lea eax, [esp + 0x2c2]
push edi
push eax
mov word [esp + 0x2c8], di
call fcn.00472c50
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c0]
push esi
push ecx
call fcn.00477aeb
add esp, 0xc
test eax, eax
je 0x45c0c8
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x38]
call fcn.00415f20
lea ecx, [esp + 0x34]
mov dword [esp + 0x4e0], edi
call fcn.0041ba20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c0bf
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x54]
call fcn.00415f20
lea esi, [esp + 0x50]
mov byte [esp + 0x4e0], 1
call fcn.00466730
push 0x4a8edc
mov edi, esi
call fcn.004669d0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0041ba20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
mov byte [esp + 0x4e0], 2
jne 0x45c0ee
mov ecx, edi
call fcn.00432550
lea ecx, [esp + 0x34]
call fcn.00432550
xor eax, eax
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.00472710
mov esp, ebp
pop ebp
ret
mov ecx, 0x4a8ee0
lea eax, [esp + 0x98]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c126
test dx, dx
je 0x45c122
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c126
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c100
xor eax, eax
jmp 0x45c12b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45c22b
mov ecx, 0x4a8ee4
lea eax, [esp + 0x98]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c166
test dx, dx
je 0x45c162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c166
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c140
xor eax, eax
jmp 0x45c16b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45c22b
test byte [esp + 0x6c], 0x10
je 0x45c1ce
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x45c219
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00415f20
lea esi, [esp + 0x18]
mov byte [esp + 0x4e0], 3
call fcn.00466730
lea eax, [esp + 0x98]
push eax
mov edi, esi
call fcn.004669d0
mov ecx, dword [esp + 0x10]
push ebx
push ecx
mov ecx, esi
call fcn.0041ba20
push eax
call fcn.0045bfa0
add esp, 0xc
jmp 0x45c204
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.00415ef0
lea esi, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.00466730
lea eax, [esp + 0x98]
push eax
mov edi, esi
call fcn.004669d0
mov ecx, esi
push ecx
call fcn.0045c9e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 2
call fcn.00432550
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [esp + 0x10]
jmp 0x45c237
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45c0ee
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x50]
call fcn.00432550
lea ecx, [esp + 0x34]
call fcn.00432550
mov eax, 1
jmp 0x45c0ca