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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa18
mov eax, dword [0x100e3274]
xor eax, esp
mov dword [esp + 0xa14], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
fld dword [edx]
fst qword [esp + 0x4c]
fld dword [ebp + 0x14]
fst qword [esp + 0x74]
fld dword [edx + 4]
fst qword [esp + 0x6c]
fld dword [edx + 8]
fld dword [ecx]
fxch st(4)
fmul st(3)
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x56c]
push edi
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld st(0)
mov dword [esp + 0x4c], ecx
fadd st(5)
mov dword [esp + 0x34], eax
fstp dword [esp + 0x90]
fld dword [ecx + 4]
fxch st(3)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld st(0)
fadd st(3)
fstp dword [esp + 0x94]
fld dword [ecx + 8]
fld st(2)
fmul qword [esp + 0x78]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld st(0)
fadd st(2)
fstp dword [esp + 0x98]
fldz
fst dword [esp + 0x64]
fst dword [esp + 0x9c]
fxch st(7)
fsubrp st(6)
fxch st(5)
fstp dword [esp + 0x80]
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x84]
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x88]
fxch st(1)
fstp dword [esp + 0x8c]
fld dword [ebp + 0x2c]
fmul qword [0x100daed8]
fstp dword [esp + 0x1c]
fld dword [edx + 8]
fld dword [edx + 4]
fld st(1)
fld qword [esp + 0x70]
fmul st(1), st(0)
fld st(2)
fmul st(5)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [edx]
fld st(0)
fmulp st(5)
fld qword [esp + 0x50]
fmul st(4), st(0)
fxch st(5)
fsubrp st(4)
fxch st(3)
mov byte [esp + 0x1a], 0
fstp dword [esp + 0x40]
fxch st(1)
mov byte [esp + 0x19], 0
fmulp st(3)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [ebp + 0x18]
fcom qword [0x100daff0]
fnstsw ax
fld qword [0x100daf08]
test ah, 0x41
jp 0x1000235b
fstp st(1)
mov byte [esp + 0x1a], 1
fld dword [esp + 0x1c]
fld st(0)
fsub st(2)
fstp dword [ebp + 0x18]
fld dword [ebp + 0x18]
jmp 0x10002363
fld dword [esp + 0x1c]
fxch st(1)
fxch st(2)
fld st(2)
fsub st(2)
fld dword [ebp + 0x1c]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x10002380
fstp st(0)
mov byte [esp + 0x19], 1
fst dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x10002437
fstp st(0)
mov byte [esp + 0x19], 1
fstp st(1)
mov byte [esp + 0x1a], 1
fld st(1)
fsubrp st(3)
fxch st(2)
fstp dword [ebp + 0x18]
fxch st(1)
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fld dword [ebp + 0x18]
fxch st(1)
fxch st(2)
fxch st(1)
fst qword [esp + 0xc8]
fsub st(2), st(0)
fld st(2)
fdiv st(2)
call fcn.100b4890
lea edi, [eax + 1]
mov dword [esp + 0x28], edi
cmp edi, 2
jge 0x100023dc
mov edi, 2
mov dword [esp + 0x28], edi
lea eax, [edi - 1]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fdivp st(3)
fxch st(2)
fstp dword [esp + 0x24]
fld dword [ebp + 0x20]
fld st(0)
fld dword [ebp + 0x24]
fld st(0)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x10002440
fstp st(0)
fstp st(2)
fstp st(1)
fstp st(0)
fld qword [0x100daf30]
fsubr st(1)
fstp dword [ebp + 0x20]
fld dword [0x100daf7c]
fstp dword [ebp + 0x24]
fld dword [ebp + 0x24]
fld dword [ebp + 0x20]
jmp 0x10002458
fstp st(1)
fstp st(3)
jmp 0x100023b5
fsubrp st(2)
fxch st(1)
fcomp qword [0x100daf38]
fnstsw ax
test ah, 1
je 0x10002456
mov byte [esp + 0x1b], 0
fxch st(1)
fst qword [esp + 0xb0]
fsubp st(1)
fld st(0)
fdivrp st(2)
fxch st(1)
call fcn.100b4890
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 2
jge 0x1000247f
mov eax, 2
mov dword [esp + 0x1c], eax
dec eax
mov dword [esp + 0x20], eax
xor eax, eax
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fdiv dword [esp + 0x20]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x38]
test edi, edi
jle 0x100027e4
fld dword [esp + 0x24]
fst dword [esp + 0x70]
fld dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x40]
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
fstp dword [esp + 0x60]
fild dword [esp + 0x20]
fstp dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst qword [esp + 0x50]
call fcn.100a6e90
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [esp + 0x78]
fstp dword [esp + 0x40]
fld qword [esp + 0x50]
call fcn.100a6bf0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
xor edi, edi
fmul qword [esp + 0x78]
mov dword [esp + 0x24], edi
fstp dword [esp + 0x14]
cmp dword [esp + 0x1c], edi
jle 0x100027b4
fld dword [esp + 0x40]
fst dword [esp + 0x68]
fld dword [esp + 0x14]
fst dword [esp + 0x50]
fild dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x38]
fadd qword [esp + 0xb0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst qword [esp + 0x40]
fxch st(1)
fstp qword [esp + 0x58]
fxch st(1)
fstp qword [esp + 0xc0]
call fcn.100a6e90
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [esp + 0x58]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp qword [esp + 0xb8]
fld qword [esp + 0x40]
call fcn.100a6bf0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [esp + 0x58]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [edx + 4]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [ecx + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x3c]
fld qword [esp + 0xb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [eax + 4]
fld qword [esp + 0xc0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [edx + 8]
fmul st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [ecx + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x60]
fmul st(3)
fstp dword [esp + 0x14]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [eax + 8]
mov eax, edi
mov edi, dword [esp + 0x34]
fmul st(2)
shl eax, 4
add edi, eax
fstp dword [esp + 0x14]
fadd dword [esp + 0x14]
fstp dword [esp + 0x58]
fld dword [edx]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x14]
cmp dword [esp + 0x20], 0
fld dword [esp + 0x14]
fadd dword [ecx]
mov edx, dword [ebp + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x6c]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [edx]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fadd dword [esp + 0x14]
fstp dword [edi]
fld dword [esp + 0x40]
fstp dword [edi + 4]
fld dword [esp + 0x58]
fstp dword [edi + 8]
fld dword [esp + 0x64]
fstp dword [edi + 0xc]
je 0x100026c0
push dword [esp + 0x2c]
mov edx, dword [esi]
mov ecx, esi
add eax, dword [esp + 0x34]
push edi
push eax
call dword [edx + 0x10]
jmp 0x100026db
cmp byte [esp + 0x19], 0
je 0x100026db
push dword [esp + 0x2c]
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push edi
push ecx
mov ecx, esi
call dword [eax + 0x10]
cmp dword [esp + 0x24], 0
je 0x100026f4
push dword [esp + 0x2c]
mov edx, dword [esi]
lea eax, [edi - 0x10]
push edi
push eax
mov ecx, esi
call dword [edx + 0x10]
jmp 0x1000271b
mov eax, dword [edi]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 8]
mov dword [esp + 0xa8], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x1000274a
cmp byte [esp + 0x1a], 0
je 0x1000274a
push dword [esp + 0x2c]
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push edi
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
cmp byte [ebp + 0x30], 0
je 0x10002795
cmp byte [esp + 0x1b], 0
je 0x1000276b
mov eax, dword [esp + 0x1c]
dec eax
cmp dword [esp + 0x24], eax
jne 0x10002795
lea ecx, [esp + 0xa0]
jmp 0x10002788
test eax, eax
je 0x10002773
cmp eax, ecx
jne 0x10002795
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10002784
mov ecx, dword [esp + 0x1c]
dec ecx
cmp eax, ecx
jne 0x10002795
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x2c]
mov eax, dword [esi]
push edi
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov edi, dword [esp + 0x24]
fld dword [esp + 0x68]
inc edi
fld dword [esp + 0x50]
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x1c]
jl 0x10002532
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
fld qword [esp + 0xc8]
fld dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x28]
jl 0x100024ca
fstp st(0)
mov ecx, dword [esp + 0xa1c]
fstp st(0)
pop edi
pop esi
xor ecx, esp
call fcn.100924f2
mov esp, ebp
pop ebp
ret 0x2c