Function at 0x459f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x3c]
call fcn.00413220
lea ecx, [ebp - 0x14]
call fcn.0040d170
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x24]
call fcn.00413220
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0045a3a0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x620]
cmp eax, dword [edx + 0x65c]
jl 0x45a01b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x65c]
mov eax, dword [ebp - 0x18]
add edx, dword [eax + 0x3a24]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x620], edx
jge 0x45a01b
mov edx, dword [ebp - 0x18]
add edx, 0x634
mov dword [ebp - 0x1c], edx
jmp 0x45a026
mov eax, dword [ebp - 0x18]
add eax, 0x664
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x620]
sub eax, dword [edx + 0x28]
mov dword [ebp - 0x20], eax
js 0x45a04a
mov ecx, dword [ebp - 0x1c]
add ecx, 8
call fcn.0042aed0
cmp dword [ebp - 0x20], eax
jl 0x45a04f
jmp 0x45a1d2
push 0x64
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3a20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3a1c]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb970
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d360
lea ecx, [ebp - 0x2c]
call fcn.00413870
push 0x64
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3a20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3a1c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb740
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x630
call fcn.0040d360
lea ecx, [ebp - 0x30]
call fcn.00413870
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a10b
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x6f618c
call fcn.0042b310
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45a10b
jmp 0x45a1d2
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.00418cd0
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x630
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx edx, al
test edx, edx
je 0x45a1d2
mov eax, dword [ebp - 0x18]
add eax, 0x630
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.0044bf60
mov dword [eax], 1
push 0x210e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x60c]
mov eax, dword [edx + 4]
push eax
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x24]
push edx
call fcn.00421650
push ecx
mov ecx, esp
mov eax, dword [ebp - 0x18]
add eax, 0x630
push eax
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0058fbf0
push eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a8
call fcn.0044beb0
mov ecx, eax
call fcn.0040d360
lea ecx, [ebp - 0x38]
call fcn.00413870
mov ecx, dword [ebp - 0x18]
call fcn.00459c40
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x24]
call fcn.00413870
lea ecx, [ebp - 0x3c]
call fcn.00413870
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret