Function at 0x41c530
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xebc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x44ccec
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
test ebx, ebx
rep stosd dword es:[edi], eax
jne 0x41c62b
mov eax, dword [str.Can_not_open_file:]
mov ecx, dword [0x44ccdc]
mov edx, dword [0x44cce0]
mov dword [esp + 0xac8], eax
mov eax, dword [0x44cce4]
mov dword [esp + 0xacc], ecx
mov cx, word [0x44cce8]
mov dword [esp + 0xad0], edx
mov dl, byte [0x44ccea]
mov dword [esp + 0xad4], eax
mov word [esp + 0xad8], cx
mov ecx, 0x7b
xor eax, eax
lea edi, [esp + 0xadb]
mov byte [esp + 0xada], dl
lea edx, [esp + 0xac8]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41d721
push 0
lea eax, [esp + 0xacc]
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41d721
mov edi, dword [sym.imp.MSVCRT.dll_fscanf]
lea ecx, [esp + 0x168]
push ecx
push str._32s
push ebx
call edi
mov cl, byte [esp + 0x174]
mov al, 0x49
add esp, 0xc
cmp cl, al
jne 0x41ccba
cmp byte [esp + 0x169], al
jne 0x41ccba
cmp byte [esp + 0x16a], 0x2a
jne 0x41ccba
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
xor edx, edx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x10c]
mov dword [esp + 0x104], 0x4425c0
mov dword [esp + 0x13c], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x14c], edx
mov dword [esp + 0xed4], edx
mov edx, dword [ebp + 0xc]
push Ordinal_3
push edx
call fcn.00415ce0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], esi
je 0x41cc53
cmp esi, 0xffffffff
je 0x41cc53
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0xa8], eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
push eax
push 2
push ecx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0x4949
call edi
cmp word [esp + 0x30], 0x4949
je 0x41c738
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41cc53
lea edx, [esp + 0x34]
push 0
push edx
lea eax, [esp + 0x38]
push 2
push eax
push esi
mov dword [esp + 0x44], 0x2a
call edi
cmp word [esp + 0x30], 0x2a
je 0x41c765
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41cc53
lea ecx, [esp + 0x34]
push 0
push ecx
lea edx, [esp + 0xb4]
push 4
push edx
push esi
mov dword [esp + 0xc0], 8
call edi
mov eax, dword [esp + 0xac]
xor ecx, ecx
mov dword [esp + 0xec], ecx
push ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xfc], eax
push ecx
push eax
push esi
mov dword [esp + 0xf8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x34]
push 0
push edx
lea eax, [esp + 0x64]
push 2
push eax
push esi
mov dword [esp + 0x70], 0xd
call edi
cmp word [esp + 0x5c], 0
mov dword [esp + 0x58], 0
jbe 0x41c973
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xf8]
and eax, 0xffff
lea eax, [eax + eax*2]
shl eax, 2
cdq
add eax, ecx
mov ecx, 0
adc edx, ecx
add eax, 2
adc edx, ecx
push ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xf4], eax
push ecx
push eax
push esi
mov dword [esp + 0x104], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edx, [esp + 0x28]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0xb8]
push eax
lea edx, [esp + 0xb8]
push ecx
push edx
push esi
call fcn.0041d880
mov eax, dword [esp + 0xc4]
add esp, 0x14
and eax, 0xffff
add eax, 0xffffff00
cmp eax, 0x53
ja case.0x41c881.260
xor ecx, ecx
mov cl, byte [eax + 0x41d768]
jmp dword [ecx*4 + 0x41d748]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xe0], edx
jmp case.0x41c881.260
mov eax, dword [esp + 0x28]
mov dword [esp + 0xe4], eax
jmp case.0x41c881.260
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], ecx
jmp case.0x41c881.260
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp eax, 1
mov dword [esp + 0x60], edx
jbe case.0x41c881.260
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x64]
push 0
push 0
push ecx
push esi
mov dword [esp + 0x34], eax
call fcn.00417e60
mov eax, dword [esp + 0x4c]
add esp, 0x14
lea edx, [esp + 0x34]
push 0
push edx
mov edx, dword [esp + 0x28]
lea ecx, [eax*4]
push ecx
push edx
jmp 0x41c95c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp case.0x41c881.260
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmp eax, 1
mov dword [esp + 0x60], ecx
jbe case.0x41c881.260
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
push 0
push 0
push eax
push esi
call fcn.00417e60
mov edx, dword [esp + 0x4c]
add esp, 0x14
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [edx*4]
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x58]
inc eax
cmp ax, word [esp + 0x5c]
mov dword [esp + 0x58], eax
jb 0x41c7e0
mov edx, dword [esp + 0xe4]
imul edx, dword [esp + 0xe0]
test edx, edx
jle 0x41c9a7
mov ecx, dword [esp + 0xa8]
cmp ecx, 0x10
jb 0x41c9a7
cmp ecx, 0x20
ja 0x41c9a7
mov eax, dword [esp + 0x2c]
cmp eax, 3
ja 0x41c9a7
jne 0x41c9b3
cmp ecx, 0x20
je 0x41c9b3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41cc53
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xacc]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
mov edi, str..tfw
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x44ccec
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xad4]
mov dword [esp + 0x48], 0
push ecx
mov dword [esp + 0x50], 0x3ff00000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x3ff00000
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cb2d
mov edi, dword [sym.imp.MSVCRT.dll_fscanf]
lea edx, [esp + 0x3c]
push edx
push 0x44cccc
push esi
call edi
lea eax, [esp + 0x50]
push eax
push 0x44cccc
push esi
call edi
lea ecx, [esp + 0x2c]
push ecx
push 0x44cccc
push esi
call edi
lea edx, [esp + 0x90]
push edx
push 0x44cccc
push esi
call edi
lea eax, [esp + 0x7c]
push eax
push 0x44cccc
push esi
call edi
lea ecx, [esp + 0xa0]
push ecx
push 0x44cccc
push esi
call edi
add esp, 0x48
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
fld qword [esp + 0x40]
fmul qword [0x442540]
add esp, 4
fadd qword [esp + 0x4c]
fstp qword [esp + 0x4c]
fld qword [esp + 0x6c]
fmul qword [0x442540]
fadd qword [esp + 0x64]
fstp qword [esp + 0x64]
fld qword [esp + 0x44]
fld qword [esp + 0x3c]
fpatan
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fcos
fld qword [esp + 0xc8]
fsin
fld st(1)
fcomp qword [0x442618]
fnstsw ax
test ah, 0x40
je 0x41cb63
fld qword [esp + 0x14]
fdiv st(1)
fstp qword [esp + 0xd0]
fld qword [esp + 0x44]
fdiv st(1)
jmp 0x41cb78
fld qword [esp + 0x3c]
fdiv st(2)
fstp qword [esp + 0xd0]
fld qword [esp + 0x6c]
fdiv st(2)
fchs
fstp qword [esp + 0xd8]
fld qword [esp + 0x6c]
fcomp qword [0x442618]
fnstsw ax
test ah, 1
jne 0x41cbaa
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
fstp st(0)
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
jmp 0x41cbd0
mov ecx, dword [esp + 0xe4]
dec ecx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fmul qword [esp + 0xd8]
fmul st(1)
fadd qword [esp + 0x4c]
fstp qword [esp + 0xb8]
fstp st(0)
fld qword [esp + 0x6c]
fcomp qword [0x442618]
fnstsw ax
test ah, 1
jne 0x41cbfb
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
fstp st(0)
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
jmp 0x41cc21
mov ecx, dword [esp + 0xe4]
dec ecx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fmul qword [esp + 0xd8]
fmul st(1)
fsubr qword [esp + 0x64]
fstp qword [esp + 0xc0]
fstp st(0)
mov edx, dword [esp + 0x10]
mov ecx, 0xc
lea esi, [esp + 0xb8]
lea edi, [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xc
lea esi, [esp + 0x108]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x138]
mov dword [esp + 0xed0], 0xffffffff
test eax, eax
mov dword [esp + 0x100], 0x4425c0
je 0x41cc7d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x108]
mov dword [esp + 0x138], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x100]
lea ecx, [esp + 0x100]
call dword [eax + 0x10]
lea ecx, [esp + 0x100]
call fcn.00416c30
jmp 0x41d717
push 6
lea ecx, [esp + 0x16c]
push str.DEMBIN
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x41cd1a
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
push 0x44ccc0
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
mov ebx, eax
push ebx
push 1
lea edx, [esp + 0x17c]
push 0x200
push edx
call esi
push ebx
push 1
lea eax, [esp + 0x9c]
push 0x30
push eax
call esi
add esp, 0x2c
jmp 0x41d717
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x168]
push str.SDTF
push ecx
call esi
add esp, 8
test eax, eax
je 0x41d045
lea edx, [esp + 0x168]
push str.DataMark
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 0x42c80000
call esi
add esp, 8
test eax, eax
je 0x41cf43
lea eax, [esp + 0x168]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x41cf34
lea ecx, [esp + 0x168]
push str.Alpha
push ecx
call esi
add esp, 8
test eax, eax
je 0x41cdc6
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x8c]
add esp, 4
jmp 0x41cf03
lea edx, [esp + 0x168]
push 0x44cc8c
push edx
call esi
add esp, 8
test eax, eax
je 0x41cdf0
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x48]
add esp, 4
jmp 0x41cf03
lea eax, [esp + 0x168]
push 0x44cc88
push eax
call esi
add esp, 8
test eax, eax
je 0x41ce1a
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x40]
add esp, 4
jmp 0x41cf03
lea ecx, [esp + 0x168]
push 0x44cc84
push ecx
call esi
add esp, 8
test eax, eax
je 0x41ce47
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x94]
add esp, 4
jmp 0x41cf03
lea edx, [esp + 0x168]
push 0x44cc80
push edx
call esi
add esp, 8
test eax, eax
je 0x41ce74
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x9c]
add esp, 4
jmp 0x41cf03
lea eax, [esp + 0x168]
push 0x44cc7c
push eax
call esi
add esp, 8
test eax, eax
je 0x41cea9
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fadd qword [0x442630]
add esp, 4
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xa4], eax
jmp 0x41cf03
lea ecx, [esp + 0x168]
push 0x44cc78
push ecx
call esi
add esp, 8
test eax, eax
je 0x41cede
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fadd qword [0x442630]
add esp, 4
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xa0], eax
jmp 0x41cf03
lea edx, [esp + 0x168]
push str.Hzoom
push edx
call esi
add esp, 8
test eax, eax
je 0x41cf03
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x30]
add esp, 4
push ebx
lea eax, [esp + 0x16c]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
lea ecx, [esp + 0x174]
push 0x3a
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x41cd99
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x41cff7
lea edx, [esp + 0x168]
push edx
push 0x44c3dc
push ebx
call edi
lea eax, [esp + 0x174]
push eax
push 0x44c3dc
push ebx
call edi
lea ecx, [esp + 0xa0]
push ecx
push 0x44cccc
push ebx
call edi
lea edx, [esp + 0x18c]
push edx
push 0x44c3dc
push ebx
call edi
lea eax, [esp + 0x74]
push eax
push 0x44cccc
push ebx
call edi
lea ecx, [esp + 0x78]
push ecx
push 0x44cccc
push ebx
call edi
add esp, 0x48
lea edx, [esp + 0x90]
push edx
push 0x44cccc
push ebx
call edi
lea eax, [esp + 0xa4]
push eax
push 0x44cccc
push ebx
call edi
lea ecx, [esp + 0xbc]
push ecx
push 0x44c0c4
push ebx
call edi
lea edx, [esp + 0xc4]
push edx
push 0x44c0c4
push ebx
call edi
lea eax, [esp + 0x5c]
push eax
push 0x44cc6c
push ebx
call edi
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x40
mov ecx, dword [esp + 0xa4]
dec ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld qword [esp + 0x88]
fsin
fmul st(1)
fmul qword [esp + 0x98]
fadd qword [esp + 0x44]
fstp qword [esp + 0x78]
fld qword [esp + 0x88]
fcos
fmul st(1)
fmul qword [esp + 0x98]
fsubr qword [esp + 0x3c]
fstp qword [esp + 0x80]
fstp st(0)
jmp 0x41d717
xor edx, edx
mov dword [esp + 0x20], edx
push edx
push 8
push ebx
mov dword [esp + 0x30], edx
call dword [sym.imp.MSVCRT.dll_fseek]
lea eax, [esp + 0x2c]
push eax
push 0x44ccbc
push ebx
call edi
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x38]
push 0x44ccb8
push ecx
mov byte [esp + 0x43], 0
call esi
add esp, 0x20
test eax, eax
je 0x41d0c1
lea edx, [esp + 0x20]
push 0x44ccb4
push edx
call esi
add esp, 8
test eax, eax
je 0x41d0c1
lea eax, [esp + 0x20]
push 0x44ccb0
push eax
call esi
add esp, 8
test eax, eax
je 0x41d0c1
lea ecx, [esp + 0x20]
push 0x44ccac
push ecx
call esi
add esp, 8
test eax, eax
jne 0x41d649
mov ecx, 0x1d8
xor eax, eax
lea edi, [esp + 0x368]
lea edx, [esp + 0x20]
push 0x44ccb0
push edx
rep stosd dword es:[edi], eax
call esi
add esp, 8
test eax, eax
je 0x41d0fb
lea eax, [esp + 0x20]
push 0x44ccac
push eax
call esi
add esp, 8
test eax, eax
je 0x41d0fb
xor esi, esi
jmp 0x41d100
mov esi, 1
push 0
push 0
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 1
lea ecx, [esp + 0x37c]
push 8
push ecx
call edi
push ebx
push 1
lea edx, [esp + 0x394]
push 8
push edx
call edi
push ebx
push 1
lea eax, [esp + 0x3ac]
push 0x100
push eax
call edi
push ebx
push 1
lea ecx, [esp + 0x4bc]
push 0x100
push ecx
call edi
add esp, 0x4c
lea edx, [esp + 0x578]
push ebx
push 1
push 0x100
push edx
call edi
push ebx
push 1
lea eax, [esp + 0x690]
push 8
push eax
call edi
push ebx
push 1
lea ecx, [esp + 0x6a8]
push 0x400
push ecx
call edi
push ebx
push 1
lea edx, [esp + 0xab8]
push 8
push edx
call edi
add esp, 0x40
lea eax, [esp + 0xa88]
push ebx
push 1
push 8
push eax
call edi
push ebx
push 1
lea ecx, [esp + 0xaa8]
push 8
push ecx
call edi
push ebx
push 1
lea edx, [esp + 0xac0]
push 8
push edx
call edi
push ebx
push 1
lea eax, [esp + 0xad8]
push 8
push eax
call edi
add esp, 0x40
push ebx
push 1
lea ecx, [esp + 0xab0]
push 8
push ecx
call edi
push ebx
push 1
lea edx, [esp + 0xac8]
push 8
push edx
call edi
push ebx
push 1
lea eax, [esp + 0xae0]
push 8
push eax
call edi
push ebx
push 1
lea ecx, [esp + 0xaf8]
push 4
push ecx
call edi
add esp, 0x40
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
test esi, esi
je 0x41d558
fld qword [esp + 0xa80]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xa80]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d28c
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
faddp st(1)
fadd st(1)
fstp qword [esp + 0xa80]
fstp st(0)
fld qword [esp + 0xa88]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xa88]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d308
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
faddp st(1)
fadd st(1)
fstp qword [esp + 0xa88]
fstp st(0)
fld qword [esp + 0xa90]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xa90]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d384
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
faddp st(1)
fadd st(1)
fstp qword [esp + 0xa90]
fstp st(0)
fld qword [esp + 0xa98]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xa98]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d400
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
faddp st(1)
fadd st(1)
fstp qword [esp + 0xa98]
fstp st(0)
fld qword [esp + 0xaa0]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xaa0]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d47c
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
faddp st(1)
fadd st(1)
fstp qword [esp + 0xaa0]
fstp st(0)
fld qword [esp + 0xaa8]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0xaa8]
fsub st(1)
fmul qword [0x442678]
fst qword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fcom qword [0x442670]
fnstsw ax
test ah, 1
jne 0x41d4f8
fstp st(0)
fadd qword [0x4425f8]
fld qword [esp + 0x14]
fsub st(1)
fmul qword [0x442678]
fmul qword [0x442660]
fxch st(1)
fmul qword [0x442668]
lea edx, [esp + 0xab0]
push edx
faddp st(1)
fadd st(1)
fstp qword [esp + 0xaac]
fstp st(0)
fld qword [esp + 0xab4]
fmul qword [0x442638]
fstp qword [esp + 0xab4]
call fcn.0041d800
fld qword [esp + 0xabc]
fmul qword [0x442638]
lea eax, [esp + 0xabc]
push eax
fstp qword [esp + 0xac0]
call fcn.0041d800
add esp, 8
cmp dword [esp + 0xac0], 1
jl 0x41d721
fld qword [esp + 0xa80]
fadd qword [esp + 0xa90]
mov ecx, dword [esp + 0xab0]
mov edx, dword [esp + 0xab4]
mov eax, dword [esp + 0xab8]
sub esp, 8
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xac4]
fstp qword [esp + 0x80]
fld qword [esp + 0xa90]
fadd qword [esp + 0xaa0]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
fstp qword [esp + 0x88]
fld qword [esp + 0xaa8]
fsub qword [esp + 0xa98]
fdiv qword [esp + 0xab8]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [0x4425f8]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xab0]
fsub qword [esp + 0xaa0]
mov dword [esp + 0xa8], eax
fdiv qword [esp + 0xac0]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [0x4425f8]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xa4], eax
jmp 0x41d717
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [ebp + 0xc]
push 0x44ccec
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xac]
push eax
lea edx, [esp + 0xa8]
push ecx
lea eax, [esp + 0xa4]
push edx
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x98]
push edx
push eax
push str._lf_lf_lf_lf_lf_d_d
push ebx
call edi
add esp, 0x30
cmp eax, 7
jge 0x41d717
mov ecx, 7
mov esi, str.Invalidate_VirtuoZo_Dem_format
lea edi, [esp + 0xcc8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x78
lea edi, [esp + 0xce7]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41d717
push 0
lea eax, [esp + 0xccc]
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, 0xc
lea esi, [esp + 0x78]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xec8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret