Function at 0x10013930
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 [0x100165e8]
fnstsw ax
test ah, 1
jne 0x100139e4
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 0x10013a15
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 0x100139a9
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 [0x100165e8]
fnstsw ax
test ah, 1
je 0x10013a5f
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 0x10013a67
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 0x10013a3e
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 [0x100165e8]
lea edi, [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x10013af3
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 0x10013afb
mov eax, dword [esp + 0x14]
add ebx, 0x28
dec eax
mov dword [esp + 0x14], eax
jne 0x10013ad6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x98]
lea edi, [esp + 0xf8]
mov ebx, 8
fld qword [edi]
fcomp qword [0x100165e8]
lea esi, [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x10013b66
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 0x10013b6e
add edi, 0x28
dec ebx
jne 0x10013b49
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x90]
fld qword [0x10016620]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], eax
fld qword [0x10016610]
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 [0x10016620]
add edx, 0x10
add edi, 0xfffffffe
fld qword [edx]
fsub st(1)
fcomp qword [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10013c3c
test edi, edi
je 0x10013c3c
fstp st(0)
fld qword [edx]
mov esi, ecx
add ecx, 5
sub edi, 5
add edx, 0x28
cmp ecx, 0x28
jl 0x10013c21
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 [0x10016438]
shl edx, 6
add ecx, edx
cmp ebx, 0x28
mov dword [esp + 0x28], edi
mov edx, ebx
fstp qword [esp + 0x78]
jge 0x10013d20
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 [0x10016438]
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 [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10013d09
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 0x10013d0d
fstp st(0)
fstp st(0)
add edx, 5
add edi, 0x28
cmp edx, 0x28
jl 0x10013ca2
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x10013c0d
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 [0x10016438]
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 0x10013dca
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 [0x10016438]
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 [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10013ecb
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 0x10013ecd
fstp st(0)
add edx, 5
add esi, 0x28
cmp edx, 0x28
jl 0x10013e6b
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 0x10013e29
fstp st(0)
fld qword [esp + 0x30]
fmul st(1)
fld qword [esp + 0x18]
fmul st(3)
fsubp st(1)
fcomp qword [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10013f42
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 0x10013f46
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 0x10013f7b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
fld qword [0x10016620]
cmp ecx, 0x28
jge 0x10013fbb
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov edi, eax
fld qword [edx]
fsub st(1)
fcomp qword [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10013fad
test edi, edi
je 0x10013fad
fstp st(0)
fld qword [edx]
mov esi, ecx
add ecx, 5
sub edi, 5
add edx, 0x28
cmp ecx, 0x28
jl 0x10013f92
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 [0x10016438]
lea edx, [ecx + edx*8]
xor ecx, ecx
fld st(1)
fadd qword [edi]
fld qword [ebx]
fmul qword [0x10016438]
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 [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x1001405c
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 0x10014060
fstp st(0)
fstp st(0)
add ecx, 5
add edi, 0x28
cmp ecx, 0x28
jl 0x10013ff3
mov eax, dword [esp + 0x24]
fstp st(0)
dec eax
fstp st(0)
mov dword [esp + 0x24], eax
jne 0x10013f77
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 [0x10016438]
add edi, 0x40
add eax, 8
dec ecx
fadd qword [ebx + eax - 8]
fadd qword [edi - 0x40]
fstp qword [esi + eax - 8]
jne 0x1001410f
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 0x1001417b
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 [0x10016438]
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 [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x10014214
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 0x10014216
fstp st(0)
add edx, 5
add esi, 0x28
cmp edx, 0x28
jl 0x100141b4
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 0x10014173
fstp st(0)
fld qword [esp + 0x30]
fmul st(1)
fld qword [esp + 0x18]
fmul st(3)
fsubp st(1)
fcomp qword [0x100165e8]
fnstsw ax
test ah, 0x41
jne 0x1001428b
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 0x1001428f
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 0x10013bde
mov ebx, dword [esp + 0x40]
fstp st(0)
fstp st(0)
fld qword [esp + ebx*8 + 0xe8]
call fcn.10015860
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
fld qword [esp + edx*8 + 0xe8]
call fcn.10015860
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
fld qword [esp + eax*8 + 0xe8]
call fcn.10015860
mov esi, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
fld qword [esp + esi*8 + 0xe8]
call fcn.10015860
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 0x1001437a
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 0x100143b1
cmp eax, 0x28
jge 0x100143d6
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 0x1001439c
jmp 0x100143d3
cmp eax, 0x28
jge 0x100143d6
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 0x100143c4
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x78]
test eax, eax
mov eax, dword [esp + 0x44]
jle 0x10014405
cmp eax, 0x28
jge 0x1001442b
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 0x100143f3
jmp 0x10014428
cmp eax, 0x28
jge 0x1001442b
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 0x10014418
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
test eax, eax
mov eax, dword [esp + 0x38]
jle 0x1001445a
cmp eax, 0x28
jge 0x10014480
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 0x10014448
jmp 0x1001447d
cmp eax, 0x28
jge 0x10014480
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 0x1001446d
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x100144a9
cmp esi, 0x28
jge 0x100144c8
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 0x10014497
jmp 0x100144c8
cmp esi, 0x28
jge 0x100144c8
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 0x100144b8
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
jle 0x100144d7
mov eax, 1
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x100144e2
add eax, 2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x100144ed
add eax, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x100144f8
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