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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, ecx
fld dword [esi + 0x1c]
fsub dword [esi + 0x14]
fld dword [esi + 0x24]
fsub dword [esi + 0xc]
mov eax, dword [esi]
mov ecx, dword [edi + 0x14]
faddp st(1)
lea eax, [eax + eax*4]
shl eax, 4
fmul dword [0x10019198]
mov edx, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov eax, dword [eax + 4]
mov dword [esp + 0x40], ebp
fstp dword [esp + 0x14]
fld dword [esi + 0x20]
fsub dword [esi + 0x18]
fld dword [esi + 0x28]
fsub dword [esi + 0x10]
mov dword [esp + 0x10], eax
faddp st(1)
fmul dword [0x10019198]
fstp dword [esp + 0x18]
fld dword [esi + 0x14]
fsub dword [esi + 0xc]
fld dword [esi + 0x1c]
fsub dword [esi + 0x24]
faddp st(1)
fmul dword [0x10019198]
fstp dword [esp + 0x20]
fld dword [esi + 0x20]
fsub dword [esi + 0x28]
fld dword [esi + 0x18]
fsub dword [esi + 0x10]
faddp st(1)
fmul dword [0x10019198]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [0x100191b4]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [0x100191b4]
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fadd dword [esp + 0x34]
fstp dword [esp + 0x2c]
lea ecx, [ebp - 3]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
fld st(0)
fmul dword [esp + 0x14]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x18]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023906
mov eax, dword [esp + 0x40]
mov edx, 1
mov ecx, ebp
shl edx, cl
or eax, edx
mov dword [esp + 0x40], eax
inc ebp
cmp ebp, 5
jle 0x1002388f
fld dword [esp + 0x14]
fmul dword [0x100191b0]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x30]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x18]
fmul dword [0x100191b0]
fadd dword [esp + 0x10]
fadd dword [esp + 0x34]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023981
mov eax, dword [esp + 0x40]
or al, 0x40
mov dword [esp + 0x40], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x14]
fmul dword [0x100191b4]
fadd dword [esp + 0x1c]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x28]
fadd dword [esp + 0x18]
fmul dword [0x100191b4]
fadd dword [esp + 0x10]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x100239f6
mov eax, dword [esp + 0x40]
or al, 0x80
mov dword [esp + 0x40], eax
fld dword [esp + 0x14]
fmul dword [0x100191b4]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [0x100191b0]
fadd dword [esp + 0x34]
fadd dword [esp + 0x1c]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x18]
fmul dword [0x100191b4]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [0x100191b0]
fadd dword [esp + 0x30]
fadd dword [esp + 0x10]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023a88
mov eax, dword [esp + 0x40]
or ah, 1
mov dword [esp + 0x40], eax
fld dword [esp + 0x34]
fadd dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], 2
fstp dword [esp + 0x24]
fld dword [esp + 0x30]
fadd dword [esp + 0x10]
fstp dword [esp + 0x2c]
fild dword [esp + 0x34]
fld st(0)
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x28]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023b15
lea ecx, [ebp + 9]
mov eax, 1
shl eax, cl
or dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
inc ebp
dec eax
cmp eax, 0xfffffffd
mov dword [esp + 0x34], eax
jge 0x10023aaa
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
xor ebx, 0x5412
push ecx
mov ecx, edi
mov dword [esp + 0x44], ebx
call fcn.1002416d
test eax, eax
je 0x10023bb7
mov ecx, dword [esp + 0x40]
mov eax, ecx
sar eax, 0xd
sub eax, 0
je 0x10024147
dec eax
je 0x10023b98
dec eax
je 0x10023b79
sar ecx, 0xa
and ecx, 7
mov dword [esi + 0x78], 2
mov dword [esi + 0x7c], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 4
sar ecx, 0xa
and ecx, 7
mov dword [esi + 0x78], 3
mov dword [esi + 0x7c], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 4
sar ecx, 0xa
and ecx, 7
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 4
fld dword [esi + 0x3c]
fsub dword [esi + 0x44]
mov eax, dword [esi + 4]
mov dword [esp + 0x34], 3
fmul dword [0x1001917c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
shl edx, 4
add eax, edx
xor ebp, ebp
fstp dword [esp + 0x20]
fld dword [esi + 0x40]
fsub dword [esi + 0x48]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
fmul dword [0x1001917c]
fstp dword [esp + 0x28]
fld dword [eax]
fld dword [esi + 0x44]
fsub dword [esi + 0x2c]
fld dword [esi + 0x3c]
fsub dword [esi + 0x34]
mov dword [esp + 0x40], ebp
faddp st(1)
fmul dword [0x10019198]
fmul dword [0x100191b4]
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esi + 0x48]
fsub dword [esi + 0x30]
fld dword [esi + 0x40]
fsub dword [esi + 0x38]
faddp st(1)
fmul dword [0x10019198]
fmul dword [0x100191b4]
fadd dword [esp + 0x10]
fstp dword [esp + 0x2c]
fild dword [esp + 0x34]
fld st(0)
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x28]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023cb0
mov eax, dword [esp + 0x40]
mov edx, 1
mov ecx, ebp
shl edx, cl
or eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
inc ebp
dec eax
cmp eax, 0xfffffffc
mov dword [esp + 0x34], eax
jge 0x10023c40
fld dword [esi + 0x5c]
fsub dword [esi + 0x54]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov ebp, 0xfffffffd
fmul dword [0x1001917c]
lea eax, [eax + eax*4]
mov dword [esp + 0x34], ebp
shl eax, 4
add eax, ecx
fstp dword [esp + 0x14]
fld dword [esi + 0x60]
fsub dword [esi + 0x58]
fmul dword [0x1001917c]
fstp dword [esp + 0x18]
fld dword [esi + 0x54]
fsub dword [esi + 0x4c]
fld dword [esi + 0x5c]
fsub dword [esi + 0x64]
faddp st(1)
fmul dword [0x10019198]
fmul dword [0x100191b4]
fadd dword [eax]
fstp dword [esp + 0x24]
fld dword [esi + 0x58]
fsub dword [esi + 0x50]
fld dword [esi + 0x60]
fsub dword [esi + 0x68]
faddp st(1)
fmul dword [0x10019198]
fmul dword [0x100191b4]
fadd dword [eax + 4]
fstp dword [esp + 0x2c]
fild dword [esp + 0x34]
fld st(0)
fmul dword [esp + 0x14]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x18]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023da8
mov eax, dword [esp + 0x40]
lea ecx, [ebp + 0xb]
mov edx, 1
shl edx, cl
or eax, edx
mov dword [esp + 0x40], eax
inc ebp
mov dword [esp + 0x34], ebp
lea eax, [ebp + 3]
cmp eax, 7
jle 0x10023d37
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
xor ebx, 0x5412
push ecx
mov ecx, edi
mov dword [esp + 0x44], ebx
call fcn.1002416d
test eax, eax
jne 0x10023b42
mov edx, dword [esi + 0x74]
lea eax, [edx*8 + 0x32]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
fild dword [esp + 0x38]
fld dword [esi + 0x64]
fsub dword [esi + 0xc]
fld dword [esi + 0x5c]
fsub dword [esi + 0x14]
lea ecx, [eax + eax*4]
faddp st(1)
shl ecx, 4
xor ebp, ebp
fdiv st(1)
lea eax, [ecx + edx]
mov ecx, dword [ecx + edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], ebp
fstp dword [esp + 0x14]
fld dword [esi + 0x60]
fsub dword [esi + 0x18]
fld dword [esi + 0x68]
fsub dword [esi + 0x10]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x18]
fld dword [esi + 0x3c]
fsub dword [esi + 0x24]
fld dword [esi + 0x34]
fsub dword [esi + 0xc]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x20]
fld dword [esi + 0x38]
fsub dword [esi + 0x10]
fld dword [esi + 0x40]
fsub dword [esi + 0x28]
faddp st(1)
fdiv st(1)
fstp dword [esp + 0x28]
fstp st(0)
fld dword [esp + 0x20]
fmul dword [0x100191b4]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [0x100191b4]
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fadd dword [esp + 0x34]
fstp dword [esp + 0x2c]
lea eax, [ebp - 3]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fld st(0)
fmul dword [esp + 0x14]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x18]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023f08
mov eax, dword [esp + 0x40]
mov edx, 1
mov ecx, ebp
shl edx, cl
or eax, edx
mov dword [esp + 0x40], eax
inc ebp
cmp ebp, 5
jle 0x10023e91
fld dword [esp + 0x14]
fmul dword [0x100191b0]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x30]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x18]
fmul dword [0x100191b0]
fadd dword [esp + 0x10]
fadd dword [esp + 0x34]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023f83
mov eax, dword [esp + 0x40]
or al, 0x40
mov dword [esp + 0x40], eax
fld dword [esp + 0x20]
fadd dword [esp + 0x14]
fmul dword [0x100191b4]
fadd dword [esp + 0x1c]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x28]
fadd dword [esp + 0x18]
fmul dword [0x100191b4]
fadd dword [esp + 0x10]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10023ff8
mov eax, dword [esp + 0x40]
or al, 0x80
mov dword [esp + 0x40], eax
fld dword [esp + 0x14]
fmul dword [0x100191b4]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [0x100191b0]
fadd dword [esp + 0x34]
fadd dword [esp + 0x1c]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x1002413b
cmp ebx, dword [edi + 8]
jge 0x1002413b
fld dword [esp + 0x18]
fmul dword [0x100191b4]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [0x100191b0]
fadd dword [esp + 0x30]
fadd dword [esp + 0x10]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x1002408a
mov eax, dword [esp + 0x40]
or ah, 1
mov dword [esp + 0x40], eax
fld dword [esp + 0x34]
fadd dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], 2
fstp dword [esp + 0x24]
fld dword [esp + 0x30]
fadd dword [esp + 0x10]
fstp dword [esp + 0x2c]
fild dword [esp + 0x34]
fld st(0)
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
fadd qword [0x10019160]
call fcn.10036783
mov ebx, eax
test ebx, ebx
jl 0x10024139
cmp ebx, dword [edi + 8]
jge 0x10024139
fmul dword [esp + 0x28]
fadd dword [esp + 0x2c]
fadd qword [0x10019160]
call fcn.10036783
test eax, eax
jl 0x1002413b
cmp eax, dword [edi + 0xc]
jge 0x1002413b
push eax
push ebx
mov ecx, edi
call fcn.1002093d
test eax, eax
je 0x10024107
lea ecx, [ebp + 9]
mov eax, 1
shl eax, cl
or dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
inc ebp
dec eax
cmp eax, 0xfffffffd
mov dword [esp + 0x34], eax
jge 0x100240ac
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
xor ebx, 0x5412
push ecx
mov ecx, edi
mov dword [esp + 0x44], ebx
call fcn.1002416d
test eax, eax
je 0x1002413b
jmp 0x10023b42
fstp st(0)
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 4
sar ecx, 0xa
and ecx, 7
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 4