Function at 0x40b0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xcc
xor edx, edx
fld dword [eax + 0x10]
mov dh, byte [eax + 0x83]
fmul dword [0x6bdb64]
push edi
movzx edi, byte [eax + 0x81]
fsub dword [0x6bda18]
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dl, byte [eax + 0x80]
fstp dword [esp + 0x10]
mov dword [esp + 0x58], 0x3f800000
fld dword [eax + 0x14]
fmul dword [0x6bdde0]
fsub dword [0x6bda18]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 0x82]
shl edx, 8
or edx, edi
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dh, byte [eax + 0x87]
movzx edi, byte [eax + 0x85]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x20]
mov dl, byte [eax + 0x84]
fmul dword [0x6bdb64]
fsub dword [0x6bda18]
fstp dword [esp + 0x30]
fld dword [eax + 0x24]
shl edx, 8
fmul dword [0x6bdde0]
or edx, edi
movzx edi, byte [eax + 0x86]
shl edx, 8
fsub dword [0x6bda18]
or edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x60]
movzx edi, byte [eax + 0x89]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
xor edx, edx
mov dh, byte [eax + 0x8b]
fchs
fstp dword [esp + 0x34]
fld dword [eax + 0x30]
fmul dword [0x6bdb64]
mov dl, byte [eax + 0x88]
fsub dword [0x6bda18]
fstp dword [esp + 0x50]
fld dword [eax + 0x34]
fmul dword [0x6bdde0]
shl edx, 8
fsub dword [0x6bda18]
or edx, edi
movzx edi, byte [eax + 0x8a]
shl edx, 8
or edx, edi
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x6c]
fchs
fstp dword [esp + 0x54]
fld dword [eax + 0x40]
movzx edi, byte [eax + 0x8d]
fmul dword [0x6bdb64]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x68], edx
fsub dword [0x6bda18]
mov dword [esp + 0x6c], edx
xor edx, edx
mov dh, byte [eax + 0x8f]
fstp dword [esp + 0x70]
mov dword [esp + 0x78], 0x3f800000
fld dword [eax + 0x44]
fmul dword [0x6bdde0]
fsub dword [0x6bda18]
mov dl, byte [eax + 0x8c]
fchs
fstp dword [esp + 0x74]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 0x8e]
shl edx, 8
or edx, edi
test ecx, ecx
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x7c]
mov eax, edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
je 0x40b343
cmp esi, 0x61
je 0x40b33a
movsx edx, word [ecx + 0x44]
mov dword [esp + 0xc], edx
movsx eax, word [ecx + 0x46]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fdivr dword [0x6bda38]
fld dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0xc]
fdivr dword [0x6bda38]
fld dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fsub st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fadd st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fsub st(2)
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fsub st(1)
fstp dword [esp + 0x64]
fxch st(1)
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fsub st(1)
fstp dword [esp + 0x84]
fstp st(0)
push ecx
call fcn.0040e310
add esp, 4
mov edx, dword [0x72b268]
test edx, edx
je 0x40b364
mov ecx, dword [0x72b224]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x40]
mov edi, dword [eax]
push edx
push ecx
push eax
call dword [edi + 0xd0]
cmp esi, 0x61
jne 0x40b3df
mov edx, dword [0x72b224]
mov eax, dword [edx + 0xc]
test eax, eax
mov eax, dword [0x72b184]
mov ecx, dword [eax]
jbe 0x40b394
push 0x103
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x10142
jmp 0x40b3a9
push 0x100
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x20142
mov eax, dword [0x72b184]
mov edx, dword [eax]
push eax
call dword [edx + 0x164]
lea eax, [esp + 0x90]
push eax
call fcn.00598300
mov eax, dword [0x72b184]
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x90]
push edx
push 0x10
push eax
call dword [ecx + 0xb0]
mov eax, dword [0x72b184]
mov ecx, dword [eax]
push 0x20
lea edx, [esp + 0x14]
push edx
push 2
push 6
push eax
mov dword [0x72b200], 0
call dword [ecx + 0x14c]
cmp esi, 0x61
jne 0x40b41b
mov eax, dword [0x72b184]
mov ecx, dword [eax]
push 2
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
pop edi
mov esp, ebp
pop ebp
ret