Function at 0x4281a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58626a
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5ea6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42852e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4281fc
mov eax, dword [esi]
mov dword [esi + 0x10], 0
mov byte [eax], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xf4], 0x5995a0
push 0
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x88], 0x58
movlpd qword [ebp - 0xec], xmm0
call fcn.004332f0
mov eax, dword [ebp - 0xf4]
push 0
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xe4]
call fcn.004230e0
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 3
call fcn.00433420
test eax, eax
lea ecx, [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
push 0
mov eax, dword [eax + 4]
jne 0x4282d5
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x4282e4
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.0040ec70
mov ecx, dword [ebp - 0xf4]
mov esi, 5
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xe8], 6
je 0x428377
mov eax, esi
dec esi
test eax, eax
jle 0x428377
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20
push 0x21
push edi
lea ecx, [ebp - 0xe4]
call fcn.00433420
test eax, eax
lea ecx, [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
push 0
mov eax, dword [eax + 4]
jne 0x42834f
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x42835e
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.0040ec70
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xe8], 6
jne 0x428302
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xe8], 6
jne 0x428520
push 2
push 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.00433a30
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xbc]
test ecx, ecx
je 0x4283bb
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.00431970
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xe8], 6
jne 0x42840a
mov ecx, dword [ebp + ecx - 0xbc]
lea edx, [ebp - 0x28]
push 1
push 1
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 4], 6
jmp 0x428423
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 4], 7
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xbc]
test ecx, ecx
je 0x428436
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], eax
test eax, eax
jle 0x4284df
lea esi, [eax + 1]
push esi
call fcn.0051289b
push esi
mov edi, eax
push 0
push edi
call fcn.005536e0
add esp, 0x10
lea ecx, [ebp - 0xf4]
push 0
push 0
push 0
call fcn.00433a30
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xf4]
cdq
push edx
push eax
push edi
call fcn.00433850
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 6
jne 0x4284d4
push edi
lea ecx, [ebp - 0x28]
call fcn.00411190
push dword [ebp - 0x38]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push dword [ebp - 0x3c]
push eax
call fcn.00499e20
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00408b80
xor eax, eax
mov ecx, 1
test esi, esi
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
push edi
call fcn.005128a4
add esp, 4
jmp 0x4284e6
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xe4]
call fcn.00432870
test eax, eax
jne 0x428520
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
xor edx, edx
push 0
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.0040ec70
lea ecx, [ebp - 0xf4]
call fcn.004256c0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512634
mov esp, ebp
pop ebp
ret