Function at 0x447fa0
Capabilities:
Get file size
Read file on windows

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 0x48dc4d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x4aca0c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x130], edi
push eax
mov ecx, esi
mov dword [ebp - 0x12c], 0
call fcn.0042ff60
add esp, 4
mov dword [ebp - 0x18], 0x4acac8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x54], xmm0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x44862d
cmp ecx, 1
setne al
test al, al
je 0x448631
push 0xb8
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0047dd80
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x448055
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x128]
push eax
call fcn.00457b30
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 4], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0xcc], 0
jne 0x4483b5
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4480db
mov ecx, dword [esi]
call fcn.004515d0
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, esi
call fcn.004517b0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x4481c5
mov byte [edi + 0x18], al
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0043a900
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.00452740
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xb8], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.00482373
add esp, 4
jmp 0x448646
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp - 0x34]
push 0
push esi
call fcn.0043cfb0
push 0
push 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x4c]
push 0
push ecx
push esi
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448303
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 4], 0x14
mov byte [edi + 0x18], 1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 9
push esi
call dword [0x49e978]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0043a900
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0x118]
call fcn.00452740
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xb8], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x4481a0
mov byte [edi + 0x18], 0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 9
push esi
call dword [0x49e978]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0043a900
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0x118]
call fcn.00452740
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xb8], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x4481a0
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
push 2
sub esp, 8
mov eax, dword [eax + 4]
and dword [ebp + eax - 0x114], 0xfffffffe
call fcn.00452df0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x128]
call fcn.00452cd0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
cmp dword [ebp - 0x20], ecx
jae 0x448403
mov esi, dword [ebp - 0x24]
sub ecx, esi
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0043c360
mov dword [ebp - 0x24], esi
push 0
sub esp, 8
lea ecx, [ebp - 0x128]
call fcn.00452df0
mov eax, dword [ebp - 0x128]
xorps xmm0, xmm0
mov byte [ebp - 0x17], 0
mov word [ebp - 0x40], 1
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + eax - 0xf0]
test ecx, ecx
mov dword [ebp - 0x50], ecx
sete byte [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0045d650
add esp, 8
test al, al
je 0x448486
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
jmp 0x44849b
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x1c]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0045d6f0
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x20], ecx
jae 0x4484cd
movups xmm0, xmmword [ebp - 0x70]
movups xmm1, xmmword [ebp - 0x34]
movq xmm2, qword [ebp - 0x24]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x70], xmm1
movq qword [ebp - 0x60], xmm2
jmp 0x4484e3
push dword [ebp - 0x60]
cmp ecx, 0x10
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00441bb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.0043a900
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
xor edx, edx
push 0
add ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.004436a0
lea ecx, [ebp - 0x118]
call fcn.00454b40
test eax, eax
jne 0x44854b
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004436a0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 4], 0x28
mov byte [edi + 0x18], 1
mov byte [ebp - 4], 9
mov dword [ebp - 0x12c], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0043a900
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 4], 0x2f
lea ecx, [ebp - 0x118]
call fcn.00452740
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xb8], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x4481a0
test eax, eax
jne 0x448666
mov byte [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], 1
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.0047c239
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
lea edx, [ebp - 0x1c]
call fcn.0042f6f0
int3