Function at 0x4482b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x549f60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 1
call fcn.00416f60
mov ecx, dword [edi + 0x1c]
push ecx
push eax
call fcn.00414410
mov esi, eax
test esi, esi
jne 0x448311
lea eax, [esi + 1]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
test eax, eax
lea ebx, [esi + 0x18]
je 0x44837b
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
je 0x44837b
mov eax, dword [0x5b06b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5b06b0
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov eax, esi
mov dword [esp + 0x2c], 0
call fcn.004637e0
test eax, eax
jne 0x448390
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44837b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.0043a4f0
add edi, 0x28
mov eax, esi
call fcn.00412ba0
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x4483b1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x4483bf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, ebx
je 0x4483c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x448468
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00412ca0
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
cmp edi, dword [ebx + 8]
jb 0x4483f4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412aa0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [esp + 0x28], 0
je 0x448448
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x448435
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [ebx + 8]
jb 0x448440
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 4
jmp 0x4483b1
add esi, 0xfffffff0
xor edi, edi
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44846c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x44846c
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret