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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, ecx
mov ebx, esi
sub ebx, dword [esp + 0x44]
sub edi, edx
test ebp, ebp
mov dword [esp + 0x10], 1
jne 0x10034eaf
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov dword [eax + 0x14], edi
pop edi
mov dword [eax + 0xc], esi
pop esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
pop ebp
mov dword [eax], edx
mov dword [eax + 8], ecx
pop ebx
add esp, 0x24
ret
mov ecx, ebp
fldz
mov esi, 1
shl esi, cl
lea eax, [esi + edx - 1]
cdq
idiv esi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], esi
mov ecx, eax
lea eax, [esi + edx - 1]
cdq
idiv esi
cmp ebp, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jl 0x10035284
and eax, 1
mov dword [esp + 0x28], eax
and ecx, 1
mov eax, ebp
shl eax, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x58]
sub eax, ebp
lea esi, [ecx + eax*8 - 0x4c]
mov eax, dword [esp + 0x10]
lea ebp, [edi + 1]
lea ecx, [ebx + 1]
sar ecx, 1
sar ebp, 1
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
je 0x10034f27
mov edx, edi
sub edx, dword [esp + 0x18]
test dl, 1
je 0x10034f27
sub ebp, 1
cmp dword [esp + 0x28], 0
je 0x10034f3e
sub ebx, dword [esp + 0x1c]
test bl, 1
je 0x10034f3e
sub ecx, 1
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
or ebx, 0xffffffff
shl ebx, cl
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov edi, 1
shl edi, cl
lea ecx, [ebx + eax]
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x30]
fild dword [esp + 0x2c]
fld dword [esp + 0x30]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fst dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x10034fbc
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10034faf
fstp st(0)
mov eax, ecx
jmp 0x10034fc1
fadd qword [0x10088720]
call fcn.10060570
jmp 0x10034fc1
call fcn.10060570
mov edx, dword [esp + 0x40]
mov dword [esi - 4], eax
lea eax, [ebx + edx]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fdiv st(2)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fst dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x1003501d
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035010
fstp st(0)
mov eax, ecx
jmp 0x10035022
fadd qword [0x10088720]
call fcn.10060570
jmp 0x10035022
call fcn.10060570
mov ecx, dword [esp + 0x44]
mov dword [esi], eax
lea eax, [edi + ecx - 1]
cdq
idiv edi
mov edx, dword [esp + 0x48]
mov dword [esi + 4], eax
lea eax, [edi + edx - 1]
cdq
idiv edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
lea eax, [edi + eax - 1]
cdq
idiv edi
mov edx, dword [esp + 0x40]
mov dword [esi + 0x24], eax
lea eax, [edi + edx - 1]
cdq
idiv edi
mov dword [esi + 0x28], eax
lea eax, [ebx + ecx]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fdiv st(3)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fst dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(5)
fnstsw ax
test ah, 1
jne 0x100350b1
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100350a4
fstp st(0)
mov eax, ecx
jmp 0x100350b6
fadd qword [0x10088720]
call fcn.10060570
jmp 0x100350b6
call fcn.10060570
mov ecx, dword [esp + 0x48]
add ebx, ecx
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
mov dword [esi + 0x2c], eax
fdivrp st(4)
fxch st(3)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fst dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(5)
fnstsw ax
test ah, 1
jne 0x10035113
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035106
fstp st(0)
mov eax, ecx
jmp 0x10035118
fadd qword [0x10088720]
call fcn.10060570
jmp 0x10035118
call fcn.10060570
fxch st(2)
mov dword [esi + 0x30], eax
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x1003515d
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035150
fstp st(0)
mov eax, ecx
jmp 0x10035162
fld1
fadd st(1), st(0)
fxch st(1)
call fcn.10060570
jmp 0x10035164
call fcn.10060570
fld1
fxch st(1)
mov dword [esi + 0x4c], eax
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x100351a5
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003519c
fstp st(0)
mov eax, ecx
jmp 0x100351aa
fadd st(1)
call fcn.10060570
jmp 0x100351aa
call fcn.10060570
fxch st(2)
mov dword [esi + 0x50], eax
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x100351eb
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100351e2
fstp st(0)
mov eax, ecx
jmp 0x100351f0
fadd st(2)
call fcn.10060570
jmp 0x100351f0
call fcn.10060570
fstp dword [esp + 0x30]
mov dword [esi + 0x54], eax
fld dword [esp + 0x30]
fcom st(2)
fnstsw ax
test ah, 1
jne 0x10035231
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035228
fstp st(0)
mov eax, ecx
fstp st(0)
jmp 0x10035238
faddp st(1)
call fcn.10060570
jmp 0x10035238
fstp st(1)
call fcn.10060570
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x58], eax
mov eax, ebx
imul eax, dword [esp + 0x50]
lea edx, [ecx + ebp*4]
mov dword [esi + 0x10], edx
lea edx, [ecx + eax*4]
add eax, ebp
lea eax, [ecx + eax*4]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x10]
add eax, 1
mov dword [esi + 0x38], edx
sub esi, 0x78
cmp eax, dword [esp + 0x4c]
mov edi, ebp
mov dword [esp + 0x10], eax
jle 0x10034f04
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
fild dword [esp + 0x3c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x40]
lea eax, [esi + ecx - 1]
fstp dword [esp + 0x4c]
cdq
fild dword [esp + 0x20]
idiv esi
fstp dword [esp + 0x3c]
fld dword [esp + 0x4c]
fld dword [esp + 0x3c]
fld st(0)
fdivp st(2)
mov edx, dword [esp + 0x1c]
mov dword [ebx + 8], edx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x14], ecx
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom st(2)
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
lea eax, [esi + eax - 1]
cdq
idiv esi
mov dword [ebx + 0xc], eax
fnstsw ax
test ah, 1
jne 0x10035318
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 0x10035307
fstp st(0)
mov dword [esp + 0x3c], ecx
jmp 0x10035321
fld1
fadd st(1), st(0)
fxch st(1)
call fcn.10060570
mov dword [esp + 0x3c], eax
jmp 0x10035323
call fcn.10060570
mov dword [esp + 0x3c], eax
fld1
fild dword [esp + 0x44]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fdiv st(2)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x1003536f
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035366
fstp st(0)
mov dword [esp + 0x44], ecx
jmp 0x10035378
fadd st(1)
call fcn.10060570
jmp 0x10035374
call fcn.10060570
mov dword [esp + 0x44], eax
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld st(0)
fdiv st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x100353c2
fld st(0)
call fcn.10060570
fld st(0)
mov edi, eax
mov dword [esp + 0x40], edi
fild dword [esp + 0x40]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100353b9
fstp st(0)
jmp 0x100353c9
fadd st(2)
call fcn.10060570
jmp 0x100353c7
call fcn.10060570
mov edi, eax
fild dword [esp + 0x48]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld st(0)
fdivrp st(4)
fxch st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x10035417
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003540e
fstp st(0)
mov eax, ecx
jmp 0x1003541c
fadd st(2)
call fcn.10060570
jmp 0x1003541c
call fcn.10060570
cmp ebp, 1
jl 0x100355ab
lea edx, [ebp - 1]
mov dword [esp + 0x40], edx
lea esi, [ebx + 0x64]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
imul eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov ebx, edi
sub ebx, edx
lea ebx, [ecx + ebx*4]
mov dword [esi - 0x28], ebx
lea ebx, [ecx + eax*4]
sub eax, edx
add eax, edi
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov edx, 1
shl edx, cl
mov dword [esi + 0x28], eax
mov dword [esi], ebx
add esi, 0x78
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x4c]
fld dword [esp + 0x44]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fcom st(5)
fnstsw ax
test ah, 1
jne 0x100354bf
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100354b6
fstp st(0)
mov dword [esp + 0x3c], ecx
jmp 0x100354c8
fadd st(3)
call fcn.10060570
jmp 0x100354c4
call fcn.10060570
mov dword [esp + 0x3c], eax
fld dword [esp + 0x20]
fdiv st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fcom st(5)
fnstsw ax
test ah, 1
jne 0x1003550c
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10035503
fstp st(0)
mov dword [esp + 0x44], ecx
jmp 0x10035515
fadd st(3)
call fcn.10060570
jmp 0x10035511
call fcn.10060570
mov dword [esp + 0x44], eax
fld st(1)
fdiv st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fcom st(5)
fnstsw ax
test ah, 1
jne 0x10035553
fld st(0)
call fcn.10060570
fld st(0)
mov edi, eax
mov dword [esp + 0x48], edi
fild dword [esp + 0x48]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003554a
fstp st(0)
jmp 0x1003555a
fadd st(3)
call fcn.10060570
jmp 0x10035558
call fcn.10060570
mov edi, eax
fdivr st(3)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fcom st(4)
fnstsw ax
test ah, 1
jne 0x10035598
fld st(0)
call fcn.10060570
fld st(0)
mov ecx, eax
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1003558f
fstp st(0)
mov eax, ecx
jmp 0x1003559d
fadd st(2)
call fcn.10060570
jmp 0x1003559d
call fcn.10060570
sub dword [esp + 0x40], 1
sub ebp, 1
jne 0x1003542f
fstp st(3)
pop edi
fstp st(0)
pop esi
fstp st(0)
pop ebp
fstp st(0)
pop ebx
add esp, 0x24
ret