Function at 0x100810b0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b77d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
test eax, eax
mov dword [esp + 0x30], ecx
jne 0x100810fb
mov eax, 0x80004005
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x48]
mov dword [edi], 0
mov dword [eax], 0
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimulParse::constructor_void_]
mov esi, dword [ebp + 8]
mov dword [esp + 0xf8], 0
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimulParse::SetData_struct___MIDL___MIDL_itf_OpenMD_0000_0057__]
mov eax, dword [esp + 0x5c]
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
test eax, eax
je 0x10081162
push 0x100ec44c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x1008115e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], 1
jmp 0x1008116a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], 0
test eax, eax
je 0x10081181
push 0x100ec44c
push eax
call ebx
add esp, 8
test eax, eax
mov eax, dword [esp + 0x5c]
je 0x1008118f
mov cl, byte [eax]
mov dword [esp + 0x44], 1
test cl, cl
jne 0x10081197
mov dword [esp + 0x44], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10081215
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10081215
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100811b6
mov edx, dword [esi + 0x24]
mov eax, dword [esi]
cmp edx, eax
jge 0x10081215
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x100811e4
cmp dword [eax + 0x654], 0x32
jge 0x100811e4
push 0x103b
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
lea ecx, [esp + 0x48]
mov dword [esp + 0xf8], 0xffffffff
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimulParse::destructor_void_]
mov eax, 0x80004005
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1008122a
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
test ecx, ecx
mov dword [esp + 0x28], eax
jg 0x10081232
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10081247
mov ecx, dword [esi + 0x34]
lea eax, [esi + 0x34]
test ecx, ecx
jle 0x10081247
mov ebx, eax
jmp 0x10081249
xor ebx, ebx
mov al, byte [esp + 0x58]
mov dword [esp + 0x9c], ebx
cmp al, 0x2a
jne 0x10081274
fld qword [esp + 0x50]
fcomp qword [0x100c3238]
fnstsw ax
test ah, 0x41
jne 0x10081274
fld qword [esp + 0x50]
call sub.MSVCRT.dll__ftol
jmp 0x10081276
mov eax, dword [esi]
mov ecx, dword [esi]
cmp eax, ecx
jge 0x1008129f
cmp byte [esp + 0x58], 0x2a
jne 0x1008129f
fld qword [esp + 0x50]
fcomp qword [0x100c3238]
fnstsw ax
test ah, 0x41
jne 0x1008129f
fld qword [esp + 0x50]
call sub.MSVCRT.dll__ftol
jmp 0x100812a1
mov eax, ecx
lea edx, [esp + 0xd0]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push edx
push ecx
lea edx, [esp + 0xe0]
lea ecx, [esp + 0xf0]
push edx
push ecx
lea edx, [esp + 0xd0]
lea ecx, [esp + 0xf4]
push edx
push ecx
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x20]
push ebx
push edx
push 1
lea edx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esi + 4]
push eax
call fcn.1007ff10
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x24], ebx
jge 0x1008133b
lea ecx, [esp + 0x48]
mov dword [esp + 0xf8], 0xffffffff
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimulParse::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0xcc]
mov dword [ebx], eax
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi], eax
mov edx, dword [ebx]
push edx
push eax
call fcn.100961a0
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
cmp dword [eax], 0
jle 0x100813c3
xor esi, esi
push 0x10
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [edi]
mov dword [esi + ecx], eax
mov edx, dword [edi]
mov eax, dword [esi + edx]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x10
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [edi]
mov dword [esi + ecx + 4], eax
mov edx, dword [edi]
mov eax, dword [esi + edx + 4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 0x10]
inc ebx
add esi, 0xc8
cmp ebx, dword [ecx]
jl 0x10081371
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 8]
or eax, 0xffffffff
jmp 0x100813ce
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
cmp ecx, 1
mov dword [esp + 0x90], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x38], 0
jle 0x100814dc
test edi, edi
jne 0x10081408
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100814dc
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x84]
push edx
mov edx, dword [eax + 0x25d8]
mov eax, dword [eax + 0x25d4]
push ecx
mov ecx, dword [esi + 4]
push ecx
push edx
push eax
call fcn.10099c20
add esp, 0x18
test eax, eax
jne 0x1008146f
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100814dc
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x10081dfa
cmp dword [eax + 0x654], 0x32
jge 0x10081dfa
push 0x103c
jmp 0x10081de8
test edi, edi
je 0x100814dc
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10081487
mov edx, dword [esp + 0x40]
lea esi, [edx + 0x38]
jmp 0x10081489
mov esi, edi
mov eax, dword [esi]
xor edi, edi
test eax, eax
jle 0x100814d4
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0xc]
push 0
push 0
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax + 0x25d8]
push edx
mov edx, dword [eax + 0x25d4]
push ecx
push edx
call fcn.10099250
mov ecx, dword [esp + 0x94]
add esp, 0x14
cmp eax, ecx
je 0x100814c9
mov eax, dword [esi]
inc edi
cmp edi, eax
jl 0x10081491
jmp 0x100814d4
test edi, edi
mov dword [esp + 0xa0], edi
jge 0x100814dc
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], 0
test eax, eax
jle 0x10081da2
mov esi, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x40]
lea eax, [esi + esi*2]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea edi, [esi + eax*4]
mov eax, dword [esp + 0xd0]
shl edi, 3
mov dword [esp + 0xc8], edi
add edi, ecx
test eax, eax
je 0x1008152f
fld qword [edi + 0x50]
lea ecx, [edi + 0x40]
jmp 0x1008153d
mov ecx, dword [esp + 0x9c]
fld qword [esp + 0xd4]
mov al, byte [esp + 0x5b]
cmp al, 0x20
je 0x10081592
cmp al, 0x25
je 0x1008159a
cmp byte [esp + 0x58], 0x2a
jne 0x10081592
test ecx, ecx
je 0x1008155d
fstp qword [esp + 0xac]
jmp 0x10081573
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
fstp st(0)
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
jmp 0x100816d2
cmp al, 0x25
jne 0x10081633
cmp byte [esp + 0x58], 0x2a
jne 0x10081633
test ecx, ecx
je 0x100815b6
fst qword [esp + 0x74]
fstp qword [esp + 0x94]
jmp 0x100815e1
cmp word [edi + 0x58], 5
fstp st(0)
jne 0x10081621
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
fld qword [esp + 0x74]
fsub qword [esp + 0x94]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
push edx
fstp qword [esp + 0xbc]
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fsub qword [esp + 0xb4]
fdiv qword [esp + 0x94]
fmul qword [esp + 0x94]
jmp 0x100816d2
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
jmp 0x100815cd
test ecx, ecx
je 0x10081640
fstp qword [esp + 0x84]
jmp 0x1008167b
cmp byte [esp + 0x58], 0x2a
fstp st(0)
jne 0x1008165f
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
jmp 0x1008167b
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
cmp word [edi + 0x58], 5
jne 0x10081698
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
jmp 0x100816ae
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fsub qword [esp + 0xa4]
fadd qword [edi + 0x20]
cmp ebx, 1
jle case.0x100816f0.33
movsx eax, byte [esp + 0x58]
add eax, 0xffffffe0
cmp eax, 0x32
ja case.0x100816f0.38
xor edx, edx
mov dl, byte [eax + 0x10081eb0]
jmp dword [edx*4 + 0x10081e94]
fld qword [edi + 0x60]
fdiv qword [esp + 0xbc]
fmul st(1)
fstp qword [esp + 0x14]
fstp st(0)
mov ecx, dword [edi + 0x14]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x10081d4b
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x68], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
test ah, 1
je 0x1008174b
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
test byte [edx + ecx*4], 1
jne 0x10081d24
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
mov ecx, dword [edx]
mov dword [esi + ecx + 8], eax
mov eax, dword [ebp + 8]
add esi, ecx
test ebx, ebx
mov ecx, dword [eax + 0x3c]
mov dword [esi + 0xc], ecx
je 0x1008188f
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::AllocSysString
jmp 0x10081891
fild dword [esp + 0x20]
fdivr st(1)
jmp 0x10081703
mov eax, dword [esp + 0x70]
test eax, eax
je 0x100817a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
fld qword [ecx + esi*8]
fmul qword [0x100c98c0]
jmp 0x10081701
fld qword [0x100c98f0]
jmp 0x10081701
cmp byte [esp + 0x59], 0x25
fstp st(0)
jne 0x100817fa
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push edx
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fst qword [esp + 0x14]
test esi, esi
jle case.0x100816f0.38
fld qword [esp + 0x50]
fmul qword [0x100c98c0]
mov eax, esi
fadd qword [0x100c98f0]
fld st(0)
dec eax
fmulp st(2)
jne 0x100817e8
fstp st(0)
fstp qword [esp + 0x14]
jmp 0x10081709
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x60]
push ecx
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fild dword [esp + 0x34]
fmul qword [esp + 0x50]
faddp st(1)
fstp qword [esp + 0x14]
jmp 0x10081709
cmp byte [esp + 0x59], 0x25
fstp st(0)
jne 0x1008186a
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push eax
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fst qword [esp + 0x14]
test esi, esi
jle case.0x100816f0.38
fld qword [esp + 0x50]
fmul qword [0x100c98c0]
mov eax, esi
fsubr qword [0x100c98f0]
fld st(0)
dec eax
fmulp st(2)
jne 0x10081858
fstp st(0)
fstp qword [esp + 0x14]
jmp 0x10081709
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push edx
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.OOLAPLib.dll_public:_double___thiscall_CSimulParse::GetValue1_double_]
fild dword [esp + 0x34]
fmul qword [esp + 0x50]
fsubp st(1)
fstp qword [esp + 0x14]
jmp 0x10081709
xor eax, eax
test ebx, ebx
mov dword [esi + 0x10], eax
je 0x100818a5
mov edx, dword [esp + 0x80]
mov dword [esi + 0xc0], edx
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x18]
add eax, 0x40
push eax
push ebx
call fcn.10096060
lea eax, [esi + 0x48]
push eax
call fcn.10095e70
mov ecx, dword [esp + 0x1c]
mov word [esi + 0x48], 1
mov edx, dword [edi + 4]
lea eax, [ecx*8]
add edx, eax
lea eax, [esi + 0x4c]
push edx
push eax
call fcn.100956c0
add esp, 0x14
push ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
mov dword [esp + 0x24], eax
jge 0x10081901
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x24], ecx
test byte [edi], 1
je 0x1008191c
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
lea ecx, [edx*8]
add eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x10081938
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10081930
lea eax, [edi + 0x38]
mov dword [esp + 0x2c], eax
jmp 0x10081938
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100819fb
lea edx, [esi + 0x9c]
mov ebx, 1
push eax
push edx
mov word [esi + 0x98], bx
call fcn.100956c0
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
jle 0x100819fb
mov ebx, dword [esp + 0xa0]
test ebx, ebx
jl 0x100819fb
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xf8], 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edi + 4]
push edx
mov edx, dword [esp + 0x14]
lea eax, [edx*8]
mov eax, dword [ecx + edx*8 + 4]
mov ecx, dword [esp + 0x94]
mov edx, dword [eax + ecx*4]
lea eax, [esp + 0x70]
push edx
push 0x63
push str._C_S__S
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0xa0]
add esp, 0x14
mov edx, dword [ecx + ebx*4]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [esi + 0xa0]
mov byte [esp + 0xf8], 0
mov dword [ecx + ebx*4], eax
lea ecx, [esp + 0x6c]
call fcn.100ae920
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
test byte [edx + eax*4], 8
jne 0x10081a4f
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x3c]
xor edx, edx
lea eax, [ecx + ebx]
mov cx, word [ecx + ebx]
cmp cx, dx
je 0x10081a3e
cmp cx, 1
je 0x10081a3e
push 5
push edx
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
mov dword [esp + 0x24], eax
jl 0x10081d74
jmp 0x10081a5d
mov eax, dword [esi]
mov word [eax], 5
mov ecx, dword [esi]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
jmp 0x10081a5d
mov edx, dword [esi]
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov eax, dword [esi + 4]
mov word [eax], 5
mov ecx, dword [esi + 8]
mov edx, ecx
and edx, 0x200001
cmp edx, 0x200001
jne 0x10081ab4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
test ch, 1
je 0x10081a9a
fild dword [edi + 0x18]
fild dword [edi + 0x14]
mov ecx, dword [esi + 4]
fsub st(1)
fdivr qword [esp + 0x14]
fstp qword [ecx + 8]
jmp 0x10081c73
fld qword [0x100c3238]
fild dword [edi + 0x14]
mov ecx, dword [esi + 4]
fsub st(1)
fdivr qword [esp + 0x14]
fstp qword [ecx + 8]
jmp 0x10081c73
mov edx, ecx
and edx, 1
cmp dl, 1
jne 0x10081af7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
test dl, ch
je 0x10081ade
fild dword [edi + 0x18]
fld qword [esp + 0x14]
fsub qword [edi + 0x20]
fild dword [edi + 0x14]
fsub st(2)
fdivp st(1)
jmp 0x10081c68
fld qword [0x100c3238]
fld qword [esp + 0x14]
fsub qword [edi + 0x20]
fild dword [edi + 0x14]
fsub st(2)
fdivp st(1)
jmp 0x10081c68
mov eax, ecx
and eax, 0x200002
cmp eax, 0x200002
jne 0x10081bc8
fld qword [edi + 0x20]
fcomp qword [0x100c98d0]
fnstsw ax
test ah, 0x41
jne 0x10081b78
fld qword [edi + 0x20]
fcomp qword [0x100c98c8]
fnstsw ax
test ah, 1
je 0x10081b78
test byte [edi + 0xc], 8
jne 0x10081b7e
test byte [edi], 1
jne 0x10081b78
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10081b48
and ecx, 0xfffffffd
or ecx, 0x200001
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
test ah, 1
je 0x10081b64
fild dword [edi + 0x18]
fild dword [edi + 0x14]
fsub st(1)
fdivr qword [esp + 0x14]
jmp 0x10081c6d
fld qword [0x100c3238]
fild dword [edi + 0x14]
fsub st(1)
fdivr qword [esp + 0x14]
jmp 0x10081c6d
test byte [edi + 0xc], 8
je 0x10081b93
fld qword [0x100c98f0]
fmul qword [esp + 0x14]
mov edx, dword [esi + 4]
fstp qword [edx + 8]
jmp 0x10081c75
test byte [edi], 1
je 0x10081bb1
mov eax, dword [edi + 0x2c]
mov edx, dword [esi + 4]
fld qword [eax + ebx + 8]
fdiv qword [edi + 0x30]
fmul qword [esp + 0x14]
fstp qword [edx + 8]
jmp 0x10081c75
mov ecx, dword [esi]
mov edx, dword [esi + 4]
fld qword [ecx + 8]
fdiv qword [edi + 0x20]
fmul qword [esp + 0x14]
fstp qword [edx + 8]
jmp 0x10081c75
mov eax, ecx
and eax, 2
cmp al, 2
jne 0x10081dcc
fld qword [edi + 0x20]
fcomp qword [0x100c98d0]
fnstsw ax
test ah, 0x41
jne 0x10081c46
fld qword [edi + 0x20]
fcomp qword [0x100c98c8]
fnstsw ax
test ah, 1
je 0x10081c46
test byte [edi], 1
jne 0x10081c4b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10081c0b
and ecx, 0xfffffffd
or ecx, 1
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
test ah, 1
je 0x10081c1b
mov eax, dword [edi + 0x18]
jmp 0x10081c1d
xor eax, eax
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 4]
fld qword [esp + 0x14]
fsub qword [edi + 0x20]
sub edx, eax
mov eax, dword [esi]
mov dword [esp + 0xb4], edx
fild dword [esp + 0xb4]
fdivp st(1)
fadd qword [eax + 8]
fstp qword [ecx + 8]
jmp 0x10081c75
test byte [edi], 1
je 0x10081c57
mov edx, dword [edi + 0x2c]
fld qword [edx + ebx + 8]
fdiv qword [edi + 0x30]
jmp 0x10081c5f
mov eax, dword [esi]
fld qword [eax + 8]
fdiv qword [edi + 0x20]
fld qword [esp + 0x14]
fsub qword [edi + 0x20]
fmul st(1)
mov ecx, dword [esi]
fadd qword [ecx + 8]
mov edx, dword [esi + 4]
fstp qword [edx + 8]
fstp st(0)
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x40]
test byte [eax + ecx + 0xc], 2
je 0x10081d0e
mov ecx, dword [esi]
fld qword [ecx + 8]
fcomp qword [0x100c98d0]
fnstsw ax
test ah, 0x41
jne 0x10081d0e
fld qword [ecx + 8]
fcomp qword [0x100c98c8]
fnstsw ax
test ah, 1
je 0x10081d0e
mov ecx, dword [esi + 4]
fld qword [ecx + 8]
fcomp qword [0x100c98d0]
fnstsw ax
test ah, 0x41
jne 0x10081d0e
fld qword [ecx + 8]
fcomp qword [0x100c98c8]
fnstsw ax
test ah, 1
je 0x10081d0e
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x10]
test eax, eax
mov eax, dword [esp + 0x10]
mov cl, byte [edx + eax*4]
je 0x10081d5a
test cl, 0x10
jne 0x10081d5f
mov ecx, dword [edi + 0x2c]
fld qword [ecx + ebx + 8]
fcomp qword [0x100c98d0]
lea ecx, [ecx + ebx + 8]
fnstsw ax
test ah, 0x41
jne 0x10081d0e
fld qword [ecx]
fcomp qword [0x100c98c8]
fnstsw ax
test ah, 1
jne 0x10081d5f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
inc ecx
add eax, 0xc8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x14]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], edx
jl 0x1008172f
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
inc esi
cmp esi, ebx
mov dword [esp + 0x34], esi
jl 0x100814f6
jmp 0x10081da2
test cl, 1
je 0x10081d0e
push 0
push esi
call fcn.100961d0
push 0
push esi
call fcn.10096150
add esp, 0x10
jmp 0x10081d24
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
test eax, eax
je 0x10081da2
cmp dword [eax + 0x654], 0x32
jge 0x10081da2
push 0x1021
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x10081e04
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
mov eax, dword [esi]
push edx
push eax
call fcn.10096250
mov dword [esi], 0
add esp, 8
mov dword [edi], 0
jmp 0x10081e3d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x10081dfa
cmp dword [eax + 0x654], 0x32
jge 0x10081dfa
push 0x103d
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
mov dword [esp + 0x24], 0x80004005
jmp 0x10081daa
mov ebx, dword [ebp + 0x10]
mov edi, dword [esp + 0x38]
cmp edi, dword [ebx]
jge 0x10081e3b
lea esi, [edi + edi*4]
lea esi, [esi + esi*4]
shl esi, 3
mov edx, dword [ebp + 0xc]
mov ecx, esi
push 1
add ecx, dword [edx]
push ecx
call fcn.100961d0
mov eax, dword [ebx]
add esp, 8
inc edi
add esi, 0xc8
cmp edi, eax
jl 0x10081e18
mov edi, dword [esp + 0x38]
mov dword [ebx], edi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10081e62
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x10078660
push ecx
push 0x68
push eax
call fcn.100af11a
push esi
call fcn.100ae914
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0xf8], 0xffffffff
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimulParse::destructor_void_]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc