Function at 0x449310
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 0x551356
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x5a33dc]
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 0x449770
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x449385
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.00515b70
add esp, 0xc
mov dword [ebp - 0xd0], 0x58522c
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.0044fcf0
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.0044f800
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 3
call fcn.0044f710
test eax, eax
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
push 0
mov eax, dword [eax + 4]
jne 0x449466
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x449475
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00412580
mov ecx, dword [ebp - 0xd0]
mov esi, 5
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
je 0x449508
mov eax, esi
dec esi
test eax, eax
jle 0x449508
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xc0]
call fcn.0044f710
test eax, eax
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
push 0
mov eax, dword [eax + 4]
jne 0x4494e0
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x4494ef
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00412580
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x449493
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x449761
push 2
sub esp, 8
lea ecx, [ebp - 0xd0]
call fcn.0044ebd0
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 0x44954e
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.0044f9c0
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 0x4495a1
push ecx
mov ecx, dword [ebp + ecx - 0x98]
lea eax, [ebp - 0x100]
push 1
sub esp, 8
push eax
call fcn.0044f9a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd0]
jmp 0x4495c3
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 0x4495d6
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 0x4496e9
lea esi, [eax + 1]
push esi
call fcn.004d8aa3
add esp, 4
mov edi, eax
mov dword [ebp - 0xe0], edi
push esi
push 0
push edi
call fcn.00515b70
add esp, 0xc
lea ecx, [ebp - 0xd0]
push 0
sub esp, 8
call fcn.0044ebd0
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
cdq
push edx
push eax
push edi
call fcn.0044ecd0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x4496d7
push edi
lea ecx, [ebp - 0x100]
call fcn.004279c0
push dword [ebp - 0xd8]
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 9
push dword [ebp - 0xdc]
push eax
call fcn.004677f0
mov byte [ebp - 4], 3
add esp, 0xc
mov edx, dword [ebp - 0xec]
mov esi, eax
cmp edx, 0x10
jb 0x4496bb
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4496b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44978e
push edx
push ecx
call fcn.004d8a95
add esp, 8
push dword [ebp - 0xe0]
xor edi, edi
mov eax, 1
test esi, esi
cmovne edi, eax
call fcn.004d8acf
add esp, 4
jmp 0x4496ee
push dword [ebp - 0xe0]
xor edi, edi
call fcn.004d8acf
add esp, 4
jmp 0x4496ee
mov edi, 1
cmp dword [ebp - 0x74], 0
lea esi, [ebp - 0xc0]
jne 0x4496fe
xor esi, esi
jmp 0x449722
lea ecx, [ebp - 0xc0]
call fcn.0044f550
push dword [ebp - 0x74]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0051eb15
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0xc0]
call fcn.0044f610
test esi, esi
jne 0x449763
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.00412580
jmp 0x449763
xor edi, edi
lea ecx, [ebp - 0xd0]
call fcn.004497a0
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.004d84d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0051d2db
int3