Function at 0x4efee0
Capabilities:
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 0x5a1cdb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7b0
mov eax, dword [0x5de00c]
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 - 0x6f4], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2d2]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
push 0x100
push ecx
push 0x100
lea ecx, [ebp - 0x4d2]
mov dword [ebp - 0x6dc], 0
push ecx
push 0x100
lea ecx, [ebp - 0x6d2]
push ecx
push 3
lea ecx, [ebp - 0x6d8]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x4d2]
mov dword [ebp - 0x30], 0
add esp, 0x24
lea edx, [ecx + 2]
movups xmmword [ebp - 0x44], xmm0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eff90
sub ecx, edx
lea eax, [ebp - 0x4d2]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00403d10
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 0xb
jb 0x4f054a
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0xb
cmovae eax, dword [ebp - 0x44]
push str..soundlevel
push ecx
push eax
push ecx
push dword [ebp - 0x6dc]
lea ecx, [ebp - 0x2c]
call fcn.00403e90
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x6f0], 2
cmp ecx, 8
jb 0x4f0032
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4f0028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f0028
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
movups xmmword [ebp - 0x710], xmm0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.00403990
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push 0
cmovae ecx, dword [ebp - 0x710]
push 0
push edi
push dword [ebx + 0x14]
push ecx
push esi
lea ecx, [ebp - 0xcc]
call fcn.00406a00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa0]
test edx, edx
je 0x4f0517
xor edi, edi
xor eax, eax
mov dword [ebp - 0x6f8], edi
mov dword [ebp - 0x70c], edi
mov dword [ebp - 0x708], edi
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + 1]
test eax, eax
je 0x4f0100
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.00449730
mov eax, dword [ebp - 0x704]
mov edi, dword [ebp - 0x70c]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x6f8], edi
push edx
push ecx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov eax, dword [ebp - 0xc8]
mov ecx, edi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
add esp, 0x10
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [eax + edi], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f0132
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004327f0
xorps xmm0, xmm0
mov dword [ebp - 0x88], 1
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0xf
mov word [ebp - 0x98], 0x2c
movups xmmword [ebp - 0x7c], xmm0
mov byte [ebp - 0x80], 0x22
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x64]
call fcn.004314d0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x98]
call fcn.00402760
mov dword [ebp - 0x6ec], 0
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x6e4], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x68]
cmovae edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x700], edx
mov dword [ebp - 0x6dc], ecx
cmp eax, ecx
ja 0x4f0219
cmp ecx, 0x10
mov dword [ebp - 0x6c], eax
push eax
lea esi, [ebp - 0x7c]
cmovae esi, dword [ebp - 0x7c]
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4f02c5
cmp eax, 0x7fffffff
ja 0x4f054f
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4f0238
mov esi, SysReAllocString
jmp 0x4f0256
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4f024e
mov esi, SysReAllocString
jmp 0x4f0256
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.00408710
mov dword [ebp - 0x6e0], eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x700]
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x6e0]
push esi
mov dword [ebp - 0x6c], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x6dc]
mov byte [eax + esi], 0
cmp ecx, 0x10
jb 0x4f02c2
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f02b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f0507
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x6ec]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x6dc]
mov dword [ebp - 0x48], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.004459b0
mov ecx, dword [ebp - 0x6e8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x6ec]
mov esi, dword [ebp - 0x6f4]
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea ecx, [esi + 0x14f0]
call fcn.00487170
mov ecx, dword [ebp - 0x6e8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x6ec]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x6e0], eax
test eax, eax
jle 0x4f049c
xor esi, esi
xor edi, edi
nop word [eax + eax]
lea ecx, [ebp - 0x758]
mov dword [ebp - 0x7c0], 0x5aaa00
mov dword [ebp - 0x7b0], 0x5aaa08
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c0]
mov eax, dword [ebp - 0x6f0]
or eax, 1
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6dc], eax
lea eax, [ebp - 0x7a8]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x7c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x7c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x7c4], eax
lea ecx, [ebp - 0x7a8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x770], 0
mov dword [ebp - 0x76c], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x6ec]
add edx, esi
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x4f040d
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x7b0]
call fcn.004331e0
mov eax, dword [ebp - 0x6f4]
lea ecx, [ebp - 0x7c0]
add esp, 4
mov eax, dword [eax + 0x14f0]
lea eax, [eax + edi*4]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___float__]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x7c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x7c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x7c4], eax
lea ecx, [ebp - 0x7a8]
call fcn.00430fb0
lea ecx, [ebp - 0x7a0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x758]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x6e0]
jl 0x4f0350
mov edi, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x6ec]
call fcn.00431700
lea ecx, [ebp - 0x80]
call fcn.00444d00
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4f04e1
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4f04d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f0507
push ecx
push edx
call fcn.0052d747
add esp, 8
test edi, edi
je 0x4f0517
mov ecx, dword [ebp - 0x6fc]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x4f050d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f050d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0052d747
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.00407810
lea ecx, [ebp - 0x44]
call fcn.00403990
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.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00402990
call fcn.00402990
int3