Function at 0x41bef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e053
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68c
push ebx
push esi
push edi
lea ecx, [esp + 0x188]
call dword [sym.imp.SpVzvFile.dll_public:_void___thiscall_CSpVzvFile::constructor_void_]
mov eax, dword [ebp + 0xc]
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x190]
mov dword [esp + 0x6a8], esi
call dword [sym.imp.SpVzvFile.dll_public_virtual:_int___thiscall_CSpVzvFile::Open_char_const___unsigned_int_]
test eax, eax
je 0x41c1ed
fld dword [esp + 0x1f0]
fadd qword [esp + 0x1e0]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1ec]
push 1
fstp qword [esp + 0x28]
fld dword [esp + 0x1f8]
fadd qword [esp + 0x1ec]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
fstp qword [esp + 0x20]
call dword [sym.imp.SpVzvFile.dll_public_virtual:_void___thiscall_CSpVzvFile::Close_int_]
lea ecx, [esp + 0x30]
call fcn.0041c370
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0x30], 0x4426d8
mov dword [esp + 0x98], esi
push 0x2000
rep stosd dword es:[edi], eax
mov byte [esp + 0x6a4], 1
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], 0x400
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0xec]
mov edi, eax
xor eax, eax
mov dword [esp + 0xe4], edi
lea ecx, [edx*8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 8]
mov byte [esp + 0x6a4], 2
push edi
call fcn.0041d7c0
add esp, 8
test eax, eax
je 0x41c21e
push 0x44ccc0
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, esi
je 0x41c21e
push edi
push 1
lea eax, [esp + 0x4a0]
push 0x200
push eax
call dword [sym.imp.MSVCRT.dll_fread]
push 6
lea ecx, [esp + 0x4ac]
push str.DEMBIN
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
mov ebx, eax
push edi
neg ebx
sbb ebx, ebx
inc ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [ebp + 8]
push esi
lea eax, [esp + 0x48c]
push edx
push eax
call fcn.0041c530
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0x184]
add esp, 0x2c
rep movsd dword es:[edi], dword [esi]
fild dword [esp + 0x184]
fmul qword [0x4426d0]
fild dword [esp + 0x180]
fmul qword [0x4426d0]
fmulp st(1)
fmul qword [0x4426c8]
fcomp qword [0x442678]
fnstsw ax
test ah, 1
je 0x41c0fb
mov eax, 1
jmp 0x41c0fd
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
call fcn.0041c3a0
lea ecx, [esp + 0x30]
call fcn.0041e530
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x41c141
mov ecx, dword [ebp + 8]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.004134a0
test al, al
je 0x41c21c
jmp 0x41c15a
mov edx, dword [ebp + 8]
push 0
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.004166f0
test eax, eax
je 0x41c21c
lea ecx, [esp + 0x30]
call fcn.0041df60
fld qword [esp + 0x1c]
fsub qword [esp + 0xc]
sub esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
fstp qword [esp]
fld qword [esp + 0x2c]
fsub qword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.0041d9a0
test eax, eax
jne 0x41c254
mov dword [esp + 0x30], 0x4426d8
lea ecx, [esp + 0x30]
mov byte [esp + 0x6a0], 4
call fcn.0041e530
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x41c1d1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xe0], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x6a0], 0
call fcn.00413450
lea ecx, [esp + 0x188]
mov dword [esp + 0x6a0], 0xffffffff
call dword [sym.imp.SpVzvFile.dll_public_virtual:_void___thiscall_CSpVzvFile::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x698]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [esp + 0x30], 0x4426d8
lea ecx, [esp + 0x30]
mov byte [esp + 0x6a0], 3
call fcn.0041e530
mov eax, dword [esp + 0xe0]
cmp eax, esi
je 0x41c24b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xe0], esi
jmp 0x41c1dc
xor ebx, ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xf8]
mov dword [esp + 0xf0], 0x4425c0
mov dword [esp + 0x128], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x138], ebx
mov ecx, dword [esp + 0x98]
lea esi, [esp + 0xa0]
push ecx
mov ecx, 0xc
sub esp, 0x30
mov byte [esp + 0x6d4], 5
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x124]
call fcn.0041c3e0
mov edx, dword [ebp + 0x10]
push 1
push 3
push edx
lea ecx, [esp + 0xfc]
call fcn.00415db0
mov eax, dword [esp + 0x138]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x41c2eb
push eax
call esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x138], ebx
cmp eax, ebx
je 0x41c2fd
push eax
call esi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x78], ebx
mov byte [esp + 0x6a0], 2
mov dword [esp + 0xf0], 0x4425c0
call fcn.0041c3a0
lea ecx, [esp + 0xf0]
call fcn.00416c30
lea ecx, [esp + 0x30]
mov byte [esp + 0x6a0], 0
call fcn.0041d8e0
lea ecx, [esp + 0x188]
mov dword [esp + 0x6a0], 0xffffffff
call dword [sym.imp.SpVzvFile.dll_public_virtual:_void___thiscall_CSpVzvFile::destructor_void_]
mov ecx, dword [esp + 0x698]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret