Function at 0x45c2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
push 0
push 0x50102d
call fcn.00404000
lea ecx, [ebp - 0x4c]
call fcn.00411a70
cmp dword [ebp - 0x3c], 0
jne 0x45c32c
xor bl, bl
jmp 0x45c54e
push 0x5010bc
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.004048c0
add esp, 4
mov ecx, eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45c34b
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403f90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x45c3b2
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c3a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c599
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c502
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
cmp edx, 8
cmovae ecx, esi
cmp dword [0x558a30], 0
jne 0x45c3f7
call fcn.00440840
test eax, eax
je 0x45c502
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x64]
cmp edx, 8
mov dword [ebp - 0x20], 7
lea eax, [ebp - 0x1c]
cmovae eax, esi
push eax
call fcn.00402f10
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x64]
call fcn.00410700
mov edx, dword [ebp - 0x50]
test eax, eax
sete bl
cmp edx, 8
jb 0x45c467
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c45d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c59e
push edx
push ecx
call fcn.004bdd39
add esp, 8
test bl, bl
je 0x45c46f
xor bl, bl
jmp 0x45c4c6
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00402f60
lea ecx, [ebp - 0x64]
call fcn.004022e0
add esp, 0x18
mov ecx, edi
push eax
call fcn.004031f0
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x45c4c4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45c4ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c5a3
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x45c504
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c4f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c5a8
push edx
push ecx
call fcn.004bdd39
add esp, 8
jmp 0x45c504
xor bl, bl
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x45c53a
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c5a8
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x45c584
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c57a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c5a8
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 8
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3