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

Disassembly:
sub esp, 0x18
movzx eax, byte [esp + 0x60]
fld1
mov edx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x34]
push esi
mov esi, ecx
imul ecx, dword [esp + 0x40]
push edi
imul esi, eax
cmp ebp, 0xffffffff
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov ebx, ecx
jg 0x100343db
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x64]
sub ecx, dword [ebp]
jne 0x10034213
fld1
jmp 0x10034236
test ecx, ecx
mov ebp, 1
jge 0x1003422c
neg ecx
shl ebp, cl
mov dword [esp + 0x34], ebp
fild dword [esp + 0x34]
fdivr st(1)
jmp 0x10034236
shl ebp, cl
mov dword [esp + 0x34], ebp
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x34]
fild dword [ecx]
mov ecx, dword [esp + 0x38]
test ecx, ecx
fmul qword [0x1008aec8]
fadd st(1)
fmul dword [esp + 0x34]
fstp dword [esp + 0x20]
je 0x10034316
add ecx, 0xffffffff
fstp st(0)
mov edx, 1
shl edx, cl
push ecx
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fild dword [esp + 0x40]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x48]
mov dword [esp + 0x14], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x44]
mov dword [esp + 0x18], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x4c]
mov ebp, eax
mov dword [esp + 0x1c], ebp
fdiv dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
call fcn.1002ad10
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
add esp, 4
sub ecx, eax
test al, 1
mov dword [esp + 0x1c], edi
jne 0x100342fb
add ecx, 1
mov eax, dword [esp + 0x14]
fld1
mov edx, edi
sar ecx, 1
sub edx, eax
test al, 1
je 0x1003430f
sar edx, 1
jmp 0x10034328
add edx, 1
sar edx, 1
jmp 0x10034328
mov ecx, dword [esp + 0x44]
sub edx, ecx
sub edi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov ecx, edi
add edx, ebx
cmp ebx, edx
jge 0x100343d4
fld dword [esp + 0x20]
lea ebp, [ecx + esi]
mov ecx, ebx
imul ecx, dword [esp + 0x4c]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
add ecx, esi
sub edx, ebx
lea eax, [eax + ecx*4]
mov ebx, edx
cmp dword [esp + 0x24], 4
mov edi, esi
jl 0x1003439b
mov edx, ebp
sub edx, esi
sub edx, 4
shr edx, 2
add edx, 1
mov ecx, eax
lea edi, [esi + edx*4]
fld dword [ecx]
add ecx, 0x10
sub edx, 1
fmul st(1)
fstp dword [ecx - 0x10]
fld dword [ecx - 0xc]
fmul st(1)
fstp dword [ecx - 0xc]
fld dword [ecx - 8]
fmul st(1)
fstp dword [ecx - 8]
fld dword [ecx - 4]
fmul st(1)
fstp dword [ecx - 4]
jne 0x10034374
cmp edi, ebp
jge 0x100343bf
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add ecx, edi
lea ecx, [edx + ecx*4]
mov edx, ebp
sub edx, edi
fld dword [ecx]
add ecx, 4
sub edx, 1
fmul st(1)
fstp dword [ecx - 4]
jne 0x100343b0
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x34], ecx
add ecx, ecx
add ecx, ecx
add eax, ecx
sub ebx, 1
jne 0x10034359
fstp st(0)
xor esi, esi
jmp 0x100344ee
test ebp, ebp
fstp st(0)
mov ecx, dword [esp + 0x38]
mov esi, ebp
je 0x10034462
sub ecx, ebp
sub ecx, 1
mov eax, 1
shl eax, cl
push ecx
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fild dword [esp + 0x40]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x48]
mov dword [esp + 0x14], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x44]
mov dword [esp + 0x18], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x4c]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
jmp 0x100344d9
add ecx, 0xffffffff
mov edx, 1
shl edx, cl
push ecx
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
fild dword [esp + 0x40]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x48]
mov dword [esp + 0x14], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x44]
mov dword [esp + 0x18], eax
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1002ad10
fild dword [esp + 0x4c]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.1002ad10
fld1
mov dword [esp + 0x20], eax
add esp, 4
mov ecx, dword [esp + 0x38]
cmp esi, ecx
jge 0x1003470c
fild dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
fstp dword [esp + 0x34]
sub ecx, esi
fild dword [esp + 0x44]
sub ecx, 2
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x24]
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [esp + 0x48]
fstp dword [esp + 0x48]
fldz
jmp 0x10034537
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x100345ab
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edx, eax
je 0x100345ab
mov ecx, dword [esp + 0x70]
fstp st(0)
push ecx
fstp st(0)
mov ecx, dword [esp + 0x6c]
fld dword [esp + 0x64]
push edi
push ecx
mov ecx, dword [esp + 0x70]
push ecx
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp]
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x74]
push esi
push ecx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
call fcn.10033c20
fldz
fld1
mov ecx, dword [esp + 0x8c]
add esp, 0x48
fxch st(1)
mov eax, 1
shl eax, cl
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fld dword [esp + 0x3c]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom st(2)
fnstsw ax
test ah, 1
jne 0x1003460a
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10034601
fstp st(0)
mov dword [esp + 0x10], ecx
jmp 0x10034613
fadd st(3)
call fcn.10060570
jmp 0x1003460f
call fcn.10060570
mov dword [esp + 0x10], eax
fld dword [esp + 0x24]
fdiv st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom st(2)
fnstsw ax
test ah, 1
jne 0x10034657
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003464e
fstp st(0)
mov dword [esp + 0x14], ecx
jmp 0x10034660
fadd st(3)
call fcn.10060570
jmp 0x1003465c
call fcn.10060570
mov dword [esp + 0x14], eax
fld dword [esp + 0x40]
fdiv st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom st(2)
fnstsw ax
test ah, 1
jne 0x100346a4
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003469b
fstp st(0)
mov dword [esp + 0x18], ecx
jmp 0x100346ad
fadd st(3)
call fcn.10060570
jmp 0x100346a9
call fcn.10060570
mov dword [esp + 0x18], eax
fdivr dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x100346ef
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100346e6
fstp st(0)
mov dword [esp + 0x1c], ecx
jmp 0x100346f8
fadd st(2)
call fcn.10060570
jmp 0x100346f4
call fcn.10060570
mov dword [esp + 0x1c], eax
sub dword [esp + 0x44], 1
add esi, 1
cmp esi, dword [esp + 0x38]
jl 0x10034533
fstp st(0)
pop edi
fstp st(0)
pop esi
pop ebp
pop ebx
add esp, 0x18
ret