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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [ebp + 0xc]
push ebx
add eax, 0x80
push esi
mov dword [esp + 0x8c], eax
add eax, 0x40
push edi
lea ebx, [eax + 0x40]
mov dword [esp + 0x88], ebx
lea edx, [ebx + 0x240]
mov dword [esp + 0x94], edx
lea esi, [edx + 0x200]
mov dword [esp + 0x74], esi
lea edi, [esi + 0x200]
mov dword [esp + 0x70], edi
lea eax, [edi + 0x400]
mov dword [esp + 0x5c], eax
add eax, 0x200
mov dword [esp + 0x9c], eax
add eax, 0x200
mov dword [esp + 0x10], eax
add eax, 0x200
mov dword [esp + 0x98], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
fld qword [ecx + eax]
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 1
jne 0x10156f84
xor eax, eax
mov dword [esp + ecx + 0xe8], eax
mov dword [esp + ecx + 0x228], eax
mov dword [esp + ecx + 0xec], 0x3ff00000
mov dword [esp + ecx + 0x22c], 0xbff00000
jmp 0x10156fb5
xor eax, eax
mov dword [esp + ecx + 0xe8], eax
mov dword [esp + ecx + 0x228], eax
mov eax, dword [ebp + 8]
mov dword [esp + ecx + 0xec], 0xbff00000
mov dword [esp + ecx + 0x22c], 0x3ff00000
fld qword [ecx + eax]
fchs
fstp qword [ecx + eax]
add ecx, 8
cmp ecx, 0x140
jl 0x10156f49
lea eax, [esp + 0xe8]
lea ecx, [ebx + 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x20], 0x28
mov eax, dword [esp + 0x3c]
lea ebx, [esp + 0xe8]
fld qword [eax]
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 1
je 0x10156fff
lea ebx, [esp + 0x228]
lea eax, [ebx + 0x18]
mov ebx, 8
fld qword [eax - 0x10]
fmul qword [ecx]
add ecx, 8
add edx, 8
add esi, 8
add edi, 8
add eax, 0x28
dec ebx
fstp qword [ecx - 8]
fld qword [eax - 0x30]
fmul qword [edx - 8]
fstp qword [edx - 8]
fld qword [esi - 8]
fmul qword [eax - 0x28]
fstp qword [esi - 8]
fld qword [eax - 0x20]
fmul qword [edi - 8]
fstp qword [edi - 8]
jne 0x10157007
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add ebx, 0x28
dec eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], eax
jne 0x10156fde
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x9c]
add ecx, 0x200
lea ebx, [esp + 0xf0]
mov dword [esp + 0x14], 8
fld qword [ebx]
fcomp qword [0x103df6a8]
lea edi, [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x10157093
lea edi, [esp + 0x228]
lea eax, [edi + 0x20]
mov edi, 8
fld qword [eax - 0x10]
fmul qword [ecx]
add ecx, 8
add edx, 8
add esi, 8
add eax, 0x28
dec edi
fstp qword [ecx - 8]
fld qword [eax - 0x30]
fmul qword [edx - 8]
fstp qword [edx - 8]
fld qword [eax - 0x28]
fmul qword [esi - 8]
fstp qword [esi - 8]
jne 0x1015709b
mov eax, dword [esp + 0x14]
add ebx, 0x28
dec eax
mov dword [esp + 0x14], eax
jne 0x10157076
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x98]
lea edi, [esp + 0xf8]
mov ebx, 8
fld qword [edi]
fcomp qword [0x103df6a8]
lea esi, [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x10157106
lea esi, [esp + 0x228]
lea eax, [esi + 0x18]
mov esi, 8
fld qword [eax]
fmul qword [ecx]
add ecx, 8
add edx, 8
add eax, 0x28
dec esi
fstp qword [ecx - 8]
fld qword [eax - 0x20]
fmul qword [edx - 8]
fstp qword [edx - 8]
jne 0x1015710e
add edi, 0x28
dec ebx
jne 0x101570e9
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x90]
fld qword [0x103df758]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], eax
fld qword [0x103df708]
mov esi, dword [esp + 0x20]
lea eax, [edx + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xbff00000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x3ff00000
or edi, 0xffffffff
mov dword [esp + 0x10], 2
mov edx, dword [ebp + 8]
mov ecx, 2
fld qword [0x103df758]
add edx, 0x10
add edi, 0xfffffffe
fld qword [edx]
fsub st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x101571dc
test edi, edi
je 0x101571dc
fstp st(0)
fld qword [edx]
mov esi, ecx
add ecx, 5
sub edi, 5
add edx, 0x28
cmp ecx, 0x28
jl 0x101571c1
mov eax, 0x66666667
mov ecx, dword [ebp + 8]
imul esi
fstp st(0)
fld qword [ecx + esi*8]
fstp qword [esp + 0x60]
sar edx, 1
mov eax, edx
mov ecx, dword [esp + 0x5c]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x90]
mov edi, esi
fld qword [eax + edx*8]
fmul qword [0x103df698]
shl edx, 6
add ecx, edx
cmp ebx, 0x28
mov dword [esp + 0x28], edi
mov edx, ebx
fstp qword [esp + 0x78]
jge 0x101572c0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
sub ebx, ecx
mov dword [esp + 0x24], ebx
fld qword [esp + 0x60]
fadd qword [edi]
fld qword [ebx + ecx]
fmul qword [0x103df698]
add ecx, 8
fadd qword [esp + 0x78]
fadd qword [ecx - 8]
fstp qword [esp + 0x50]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [esp + 0x18]
fld qword [esp + 0x50]
fmul qword [esp + 0x30]
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x101572a9
fstp qword [esp + 0x30]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
fstp qword [esp + 0xa0]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
jmp 0x101572ad
fstp st(0)
fstp st(0)
add edx, 5
add edi, 0x28
cmp edx, 0x28
jl 0x10157242
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x101571ad
mov ecx, dword [esp + 0x4c]
mov eax, 0x66666667
imul ecx
fld qword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
sar edx, 1
mov ecx, edx
mov ebx, dword [esp + 0x48]
shr ecx, 0x1f
lea edi, [eax + 0x40]
add edx, ecx
lea eax, [esp + 0xa8]
mov esi, edx
mov edx, dword [esp + 0x70]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, 0x66666667
lea ecx, [edx + 0x200]
imul ebx
sar edx, 1
mov eax, edx
mov dword [esp + 0x60], esi
shr eax, 0x1f
add edx, eax
lea ecx, [ecx + esi*8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x84]
lea eax, [edx*8]
mov edx, eax
mov dword [esp + 0x30], 0
sub edx, ecx
mov dword [esp + 0x34], 0xbff00000
add edx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x3ff00000
mov edx, 8
fld qword [edi]
fmul qword [0x103df698]
mov ebx, dword [esp + 0x24]
add ecx, 0x40
add edi, 8
dec edx
fadd qword [ebx + ecx - 0x40]
mov ebx, dword [esp + 0x10]
fadd qword [ecx - 0x40]
fstp qword [ebx + edi - 8]
jne 0x1015736a
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x88]
add edx, 0x40
lea ecx, [ecx + esi*8]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x8c]
sub eax, ecx
xor ebx, ebx
add eax, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
fld qword [esp + 0xa0]
fadd qword [eax]
mov eax, dword [esp + 0x24]
add ecx, 0x40
lea edi, [esp + 0xa8]
fld qword [eax]
fmul qword [0x103df698]
add eax, 8
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
fadd qword [edx + ecx - 0x40]
mov edx, 1
lea esi, [eax + 8]
fadd st(2)
fadd qword [ecx - 0x40]
mov eax, dword [esp + 0x28]
add edi, 8
fld st(1)
fadd qword [esi]
fld qword [eax]
fadd qword [edi - 8]
add eax, 8
mov dword [esp + 0x28], eax
fadd st(2)
fstp qword [esp + 0x50]
fld st(0)
fmulp st(1)
fld st(0)
fmul qword [esp + 0x18]
fld qword [esp + 0x50]
fmul qword [esp + 0x30]
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x1015746b
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
fstp qword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
jmp 0x1015746d
fstp st(0)
add edx, 5
add esi, 0x28
cmp edx, 0x28
jl 0x1015740b
mov edx, dword [esp + 0x10]
add ebx, 5
fstp st(0)
add edx, 0x28
cmp ebx, 0x28
fstp st(0)
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], edx
jl 0x101573c9
fstp st(0)
fld qword [esp + 0x30]
fmul st(1)
fld qword [esp + 0x18]
fmul st(3)
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x101574e2
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
fstp st(0)
fstp st(0)
fld qword [esp + 0x30]
fld qword [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x101574e6
mov esi, dword [esp + 0x20]
or eax, 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xbff00000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x3ff00000
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 2
jmp 0x1015751b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
fld qword [0x103df758]
cmp ecx, 0x28
jge 0x1015755b
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov edi, eax
fld qword [edx]
fsub st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x1015754d
test edi, edi
je 0x1015754d
fstp st(0)
fld qword [edx]
mov esi, ecx
add ecx, 5
sub edi, 5
add edx, 0x28
cmp ecx, 0x28
jl 0x10157532
mov eax, 0x66666667
mov edi, dword [ebp + 8]
imul esi
fstp st(0)
fld qword [edi + esi*8]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 0xc]
sar edx, 1
mov ecx, edx
mov dword [esp + 0x28], esi
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x8c]
fld qword [eax + edx*8]
fmul qword [0x103df698]
lea edx, [ecx + edx*8]
xor ecx, ecx
fld st(1)
fadd qword [edi]
fld qword [ebx]
fmul qword [0x103df698]
add edx, 0x40
add ebx, 8
mov dword [esp + 0x60], ebx
fadd st(2)
fadd qword [edx - 0x40]
fstp qword [esp + 0x50]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [esp + 0x18]
fld qword [esp + 0x50]
fmul qword [esp + 0x30]
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x101575fc
fstp qword [esp + 0x30]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
fstp qword [esp + 0xa0]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ecx
jmp 0x10157600
fstp st(0)
fstp st(0)
add ecx, 5
add edi, 0x28
cmp ecx, 0x28
jl 0x10157593
mov eax, dword [esp + 0x24]
fstp st(0)
dec eax
fstp st(0)
mov dword [esp + 0x24], eax
jne 0x10157517
mov ecx, dword [esp + 0x48]
mov eax, 0x66666667
imul ecx
fld qword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
sar edx, 1
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
add edx, ecx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], esi
lea ecx, [edx*8]
imul esi
sar edx, 1
mov eax, edx
lea esi, [esp + 0xa8]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x5c]
shl ecx, 3
lea edi, [eax + edx*8]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], edx
mov dword [esp + 0x60], ecx
sub ecx, eax
sub esi, eax
add ebx, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xbff00000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x3ff00000
mov ecx, 8
fld qword [eax]
fmul qword [0x103df698]
add edi, 0x40
add eax, 8
dec ecx
fadd qword [ebx + eax - 8]
fadd qword [edi - 0x40]
fstp qword [esi + eax - 8]
jne 0x101576af
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
add eax, 0x40
mov ebx, 1
lea edx, [ecx + edx*8]
mov ecx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x70]
add eax, 0x200
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, 0x40
sub eax, ecx
mov dword [esp + 0x60], eax
jmp 0x1015771b
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x10]
add edx, 0x40
fld qword [esp + 0xa0]
fadd qword [esi]
fld qword [eax + ecx]
fmul qword [0x103df698]
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], edx
lea edi, [esp + 0xa8]
fadd qword [ecx]
add ecx, 8
lea esi, [eax + 0x10]
fadd st(2)
fadd qword [edx - 0x40]
mov edx, 2
mov eax, dword [esp + 0x28]
add edi, 8
fld st(1)
fadd qword [esi]
fld qword [eax]
fadd qword [edi - 8]
add eax, 8
mov dword [esp + 0x28], eax
fadd st(2)
fstp qword [esp + 0x50]
fld st(0)
fmulp st(1)
fld st(0)
fmul qword [esp + 0x18]
fld qword [esp + 0x50]
fmul qword [esp + 0x30]
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x101577b4
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
fstp qword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
jmp 0x101577b6
fstp st(0)
add edx, 5
add esi, 0x28
cmp edx, 0x28
jl 0x10157754
mov edx, dword [esp + 0x10]
add ebx, 5
fstp st(0)
add edx, 0x28
cmp ebx, 0x28
fstp st(0)
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], edx
jl 0x10157713
fstp st(0)
fld qword [esp + 0x30]
fmul st(1)
fld qword [esp + 0x18]
fmul st(3)
fsubp st(1)
fcomp qword [0x103df6a8]
fnstsw ax
test ah, 0x41
jne 0x1015782b
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
fstp st(0)
fstp st(0)
fld qword [esp + 0x30]
fld qword [esp + 0x18]
mov dword [esp + 0x74], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
jmp 0x1015782f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x88]
inc eax
add edx, 8
cmp eax, 5
mov dword [esp + 0x14], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], edx
jl 0x1015717e
mov ebx, dword [esp + 0x40]
fstp st(0)
fstp st(0)
fld qword [esp + ebx*8 + 0xe8]
call fcn.1013c4b5
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
fld qword [esp + edx*8 + 0xe8]
call fcn.1013c4b5
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
fld qword [esp + eax*8 + 0xe8]
call fcn.1013c4b5
mov esi, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
fld qword [esp + esi*8 + 0xe8]
call fcn.1013c4b5
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x20]
mov ecx, 0x50
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
fstp qword [edx + ebx*8]
fild dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
test ebx, ebx
fstp qword [edx + ecx*8]
fild dword [esp + 0x2c]
mov ebx, dword [ebp + 0x18]
fstp qword [edx + eax*8]
fild dword [esp + 0x14]
fstp qword [edx + esi*8]
jle 0x1015791a
mov ecx, dword [esp + 0x40]
mov edi, ebx
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
test eax, eax
mov eax, dword [esp + 0x40]
jle 0x10157951
cmp eax, 0x28
jge 0x10157976
mov edi, eax
mov ecx, edx
mov edx, 0x28
lea eax, [ebx + edi*8]
sub edx, edi
mov edi, dword [ecx]
add ecx, 8
mov dword [eax], edi
mov edi, dword [ecx - 4]
mov dword [eax + 4], edi
add eax, 8
dec edx
jne 0x1015793c
jmp 0x10157973
cmp eax, 0x28
jge 0x10157976
mov edi, dword [esp + 0x40]
mov eax, 0x28
sub eax, edi
lea ecx, [ebx + edi*8]
fld qword [edx]
fchs
fstp qword [ecx]
add ecx, 8
add edx, 8
dec eax
jne 0x10157964
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x78]
test eax, eax
mov eax, dword [esp + 0x44]
jle 0x101579a5
cmp eax, 0x28
jge 0x101579cb
mov edi, eax
mov ecx, 0x28
sub ecx, edi
lea eax, [ebx + edi*8]
fld qword [eax]
fadd qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x10157993
jmp 0x101579c8
cmp eax, 0x28
jge 0x101579cb
mov edi, dword [esp + 0x44]
mov ecx, 0x28
sub ecx, edi
lea eax, [ebx + edi*8]
fld qword [eax]
fsub qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x101579b8
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
test eax, eax
mov eax, dword [esp + 0x38]
jle 0x101579fa
cmp eax, 0x28
jge 0x10157a20
mov edi, eax
mov ecx, 0x28
sub ecx, edi
lea eax, [ebx + edi*8]
fld qword [eax]
fadd qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x101579e8
jmp 0x10157a1d
cmp eax, 0x28
jge 0x10157a20
mov edi, dword [esp + 0x38]
mov ecx, 0x28
sub ecx, edi
lea eax, [ebx + edi*8]
fld qword [eax]
fsub qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x10157a0d
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x10157a49
cmp esi, 0x28
jge 0x10157a68
mov ecx, 0x28
lea eax, [ebx + esi*8]
sub ecx, esi
fld qword [eax]
fadd qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x10157a37
jmp 0x10157a68
cmp esi, 0x28
jge 0x10157a68
mov ecx, 0x28
lea eax, [ebx + esi*8]
sub ecx, esi
fld qword [eax]
fsub qword [edx]
add eax, 8
add edx, 8
dec ecx
fstp qword [eax - 8]
jne 0x10157a58
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
jle 0x10157a77
mov eax, 1
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x10157a82
add eax, 2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x10157a8d
add eax, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x10157a98
add eax, 8
mov ecx, dword [ebp + 0x1c]
pop edi
mov dword [ecx], eax
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
lea ecx, [edx + edx*2 + 3]
imul dword [esp + 0x34]
sar edx, 1
mov eax, edx
sub esi, ecx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
lea ecx, [edx + esi*8]
imul dword [esp + 0x40]
sar edx, 1
mov eax, edx
pop esi
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
pop ebx
lea ecx, [edx + ecx*8]
imul dword [esp + 0x34]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + ecx*8]
mov esp, ebp
pop ebp
ret