Function at 0x449380
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558ac6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x5ab3e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], edx
mov edi, ecx
mov esi, dword [ebx + 8]
push edi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4497e0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4493f5
mov eax, dword [esi]
push 0xb8
mov dword [esi + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.0051cba0
add esp, 0xc
mov dword [ebp - 0xd0], 0x58d334
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 1
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x64], 0x58
movlpd qword [ebp - 0xc8], xmm0
call fcn.00450500
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xc0]
call fcn.00450010
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 3
call fcn.0044ff20
test eax, eax
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
push 0
mov eax, dword [eax + 4]
jne 0x4494d6
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x4494e5
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.004125a0
mov ecx, dword [ebp - 0xd0]
mov esi, 5
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
je 0x449578
mov eax, esi
dec esi
test eax, eax
jle 0x449578
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xc0]
call fcn.0044ff20
test eax, eax
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
push 0
mov eax, dword [eax + 4]
jne 0x449550
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x44955f
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.004125a0
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x449503
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x4497d1
push 2
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.0044f3e0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x98]
test ecx, ecx
je 0x4495be
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.004501d0
mov byte [ebp - 0xe0], al
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xc4], 6
jne 0x449611
push ecx
mov ecx, dword [ebp + ecx - 0x98]
lea eax, [ebp - 0x100]
push 1
sub esp, 8
push eax
call fcn.004501b0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd0]
jmp 0x449633
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0xfc], 0xffffffff
movups xmmword [ebp - 0xf8], xmm0
mov byte [ebp - 4], 7
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x98]
test ecx, ecx
je 0x449646
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd4], eax
test eax, eax
jle 0x449759
lea esi, [eax + 1]
push esi
call fcn.004dfb6f
add esp, 4
mov edi, eax
mov dword [ebp - 0xe0], edi
push esi
push 0
push edi
call fcn.0051cba0
add esp, 0xc
lea ecx, [ebp - 0xd0]
push 0
sub esp, 8
call fcn.0044f3e0
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
cdq
push edx
push eax
push edi
call fcn.0044f4e0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x449747
push edi
lea ecx, [ebp - 0x100]
call fcn.00427b10
push dword [ebp - 0xd8]
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 9
push dword [ebp - 0xdc]
push eax
call fcn.00467ea0
mov byte [ebp - 4], 3
add esp, 0xc
mov edx, dword [ebp - 0xec]
mov esi, eax
cmp edx, 0x10
jb 0x44972b
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x449721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4497fe
push edx
push ecx
call fcn.004dfb61
add esp, 8
push dword [ebp - 0xe0]
xor edi, edi
mov eax, 1
test esi, esi
cmovne edi, eax
call fcn.004dfb9b
add esp, 4
jmp 0x44975e
push dword [ebp - 0xe0]
xor edi, edi
call fcn.004dfb9b
add esp, 4
jmp 0x44975e
mov edi, 1
cmp dword [ebp - 0x74], 0
lea esi, [ebp - 0xc0]
jne 0x44976e
xor esi, esi
jmp 0x449792
lea ecx, [ebp - 0xc0]
call fcn.0044fd60
push dword [ebp - 0x74]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.00525cd4
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0xc0]
call fcn.0044fe20
test esi, esi
jne 0x4497d3
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
xor edx, edx
push esi
mov eax, dword [eax + 4]
add ecx, eax
cmp dword [ecx + 0x38], edx
sete dl
lea edx, [edx*4 + 2]
or edx, dword [ecx + 0xc]
push edx
call fcn.004125a0
jmp 0x4497d3
xor edi, edi
lea ecx, [ebp - 0xd0]
call fcn.00449810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004df59c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0052430b
int3