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

Disassembly:
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
test edi, edi
je 0x82c073
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x82c073
call fcn.00829cc8
mov eax, dword [esp + 0xa0]
fld dword [0x98a234]
mov edx, dword [edi + 0x1c]
fld dword [edi + 0xc]
fld dword [edi + 0x10]
lea ecx, [eax + eax*4]
movsx eax, word [edx + ecx*4 + 4]
neg eax
mov dword [esp + 4], eax
fild dword [esp + 4]
movsx eax, word [edx + ecx*4 + 6]
neg eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
movsx eax, word [edx + ecx*4]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fadd st(2)
fxch st(2)
fmul st(4)
fxch st(4)
fmulp st(2)
fxch st(3)
fadd dword [edi]
fxch st(1)
fadd dword [edi]
movsx eax, word [edx + ecx*4 + 2]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fadd st(4)
fxch st(3)
fmul st(4), st(0)
fmulp st(3)
fxch st(3)
fadd dword [edi + 4]
fxch st(2)
fadd dword [edi + 4]
movsx eax, word [edx + ecx*4 + 8]
fxch st(2)
fstp dword [esp + 0x2c]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv dword [0x98a238]
fcom st(4)
fnstsw ax
sahf
movsx eax, word [edx + ecx*4 + 0xa]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv dword [0x98a238]
fxch st(5)
jbe 0x82bd8d
fst st(1)
fcom st(5)
fnstsw ax
sahf
movsx eax, word [edx + ecx*4 + 0xc]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv dword [0x98a238]
fxch st(1)
jae 0x82bdab
fst st(6)
fcom st(1)
fnstsw ax
sahf
movsx eax, word [edx + ecx*4 + 0xe]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fdiv dword [0x98a238]
fxch st(1)
jae 0x82bdc9
fst st(2)
fcom st(1)
fnstsw ax
sahf
jae 0x82bdd2
fst st(1)
fstp st(0)
test esi, 2
je 0x82becc
fld dword [0xaf037c]
fmul dword [0x98a230]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x24]
fldcw word [esp + 0x14]
fld dword [0xaf0378]
fmul dword [0x98a230]
mov edx, dword [esp + 0x24]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x24]
fldcw word [esp + 0x14]
fld dword [0xaf0374]
fmul dword [0x98a230]
mov ecx, dword [esp + 0x24]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x24]
fldcw word [esp + 0x14]
or edx, 0xffffff00
fld dword [0x98a230]
fmul dword [0xaf0370]
mov eax, dword [esp + 0x24]
and edx, 0xff
shl ecx, 8
and ecx, 0xff00
or edx, ecx
and edx, 0xffff
shl eax, 0x10
and eax, 0xff0000
or edx, eax
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x24]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x24]
and edx, 0xffffff
shl eax, 0x18
or edx, eax
jmp 0x82bed1
mov edx, 0xffffffff
test esi, 4
je 0x82bedf
fxch st(1)
fxch st(2)
fxch st(1)
test esi, 8
je 0x82bee9
fxch st(6)
fld dword [esp + 0x2c]
fxch st(4)
fst dword [esp + 0x30]
fxch st(4)
fst dword [esp + 0x34]
mov ecx, dword [edi + 8]
fxch st(3)
fst dword [esp + 0x3c]
fxch st(7)
fst dword [esp + 0x40]
mov dword [esp + 0x38], ecx
fxch st(6)
fst dword [esp + 0x48]
fxch st(3)
fstp dword [esp + 0x4c]
mov eax, dword [edi + 8]
fxch st(1)
fst dword [esp + 0x54]
fxch st(5)
fstp dword [esp + 0x58]
fxch st(2)
fstp dword [esp + 0x60]
fxch st(2)
fst dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 8]
fxch st(4)
fstp dword [esp + 0x6c]
fst dword [esp + 0x70]
fxch st(1)
fstp dword [esp + 0x78]
fxch st(2)
fstp dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov edi, dword [edi + 8]
fstp dword [esp + 0x84]
fstp dword [esp + 0x88]
mov dword [esp + 0x80], edi
mov dword [esp + 0x44], edx
and esi, 0x20
mov dword [esp + 0x5c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x8c], edx
cmp esi, 0x20
mov eax, 0
sete al
call fcn.0082b378
call fcn.00844ad0
call fcn.00844b38
mov eax, dword [0xacd52c]
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov esi, dword [esp + 0x38]
mov dword [eax + 8], esi
mov edi, dword [esp + 0x3c]
mov dword [eax + 0x10], edi
mov edx, dword [esp + 0x40]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x3c], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x48], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x50], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x58], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0x5c], edx
mov edx, dword [esp + 0x8c]
push 0x18
push dword [0xacd52c]
push 2
mov dword [eax + 0x54], edx
mov eax, dword [0xacd528]
push 5
push eax
mov edx, dword [eax]
call dword [edx + 0x120]
call fcn.00844b54
add esp, 0x90
pop esi
pop edi
ret