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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x6f0
mov esi, esp
mov eax, dword [0x101db764]
xor ebx, ebx
mov edi, dword [ebp + 0x58]
xor eax, ebp
cmp dword [ebp + 0x1c], 0
setne bl
mov ecx, ebx
inc ecx
cmp dword [ebp + 8], 0
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x34]
sete byte [esi + 0xc]
setne dh
test ecx, ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp + 0x4c]
sete dl
cmp edi, 7
setg byte [esi + 0x14]
and dl, bl
xor edi, edi
xor ebx, ebx
and dl, byte [esi + 0x14]
mov dword [esi + 0x6e8], eax
inc edi
mov eax, 1
shl edi, cl
mov dword [esi + 0x18], eax
mov eax, 1
and dl, dh
or byte [esi + 0xc], dl
cmp dword [ebp + 0x2c], ebx
cmove edi, eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c], edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 8]
mov dword [esi + 0x14], ecx
movsx edi, word [ecx + edi*2]
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x84], eax
shl edi, cl
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x70], edi
movsx eax, word [ecx + eax*2 - 2]
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x50], eax
shl eax, cl
mov ecx, eax
sub eax, edi
movzx edi, byte [esi + 0xc]
imul eax, dword [esi + 0x30]
mov dword [esi + 0x7c], edi
shl eax, 2
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x34], eax
mov esp, eax
mov eax, dword [esi + 0x14]
cmp dl, 1
mov byte [esi + 0x2b], dl
mov dword [esi + 0x80], ecx
jne 0x10154a07
mov ecx, dword [esi + 0x84]
movsx ebx, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
sub ebx, dword [esi + 0x50]
shl ebx, cl
shl ebx, 2
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x38], eax
mov esp, eax
jmp 0x10154a10
mov eax, dword [ebp + 0x18]
lea eax, [eax + ecx*4]
mov dword [esi + 0x38], eax
add ebx, 3
and ebx, 0xfffffffc
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x6c], eax
mov esp, eax
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x68], eax
mov esp, eax
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x94], eax
mov esp, eax
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x90], eax
mov esp, eax
mov eax, ebx
call fcn.1015e8d0
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x88], eax
mov esp, eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esi + 0x3c]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x1c8], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x1c0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1a4], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x1b4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1ac], eax
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1b8], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x1d0], ecx
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x1d8], ecx
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x1a8], ecx
xor ecx, ecx
cmp edx, 1
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x1d4], 0
setg cl
mov dword [esi + 0x1dc], ecx
cmp edi, edx
jge 0x101555f3
mov ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x48], 0
lea edi, [ecx + eax*4]
lea ecx, [ebx*4]
mov edx, ebx
mov ebx, dword [esi + 0x34]
sub edi, ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x3c]
neg edx
mov dword [esi + 0x8c], edi
mov edi, dword [ebp + 0x1c]
cmp ecx, 1
setg byte [esi + 0x50]
test edi, edi
mov edi, ebx
cmove edi, dword [ebp + 0x1c]
mov dword [esi + 0xc8], edi
xor edi, edi
dec edi
shl edi, cl
mov ecx, dword [esi + 0x7c]
not edi
mov dword [esi + 0xac], edi
xor cl, 1
cmp dword [ebp + 0x30], 3
mov byte [esi + 0x57], cl
setne cl
shl eax, 2
or cl, byte [esi + 0x50]
sub eax, dword [esi + 0xc]
mov byte [esi + 0x56], cl
lea ecx, [ebx + edx*4]
add eax, ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x80], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ecx + edx*4]
lea eax, [eax - 1]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov edx, ecx
lea eax, [ecx - 1]
neg edx
mov dword [esi + 0xc4], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x84], edx
mov edx, dword [ebp + 0x20]
sub edx, ecx
mov ecx, eax
lea eax, [eax + 8]
mov dword [esi + 0xc0], edx
mov dword [esi + 0xa0], eax
lea eax, [ecx + 0x1c]
mov edx, dword [ebp + 0x44]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x9c], eax
lea eax, [ebx + 1]
mov dword [esi + 0xb4], eax
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x64], edx
mov edx, ecx
mov eax, dword [ebp + 0x1c]
movsx edi, word [ecx + ebx*2]
mov ecx, dword [ebp + 0x4c]
shl edi, cl
test eax, eax
mov dword [esi + 0xc], edi
lea edi, [eax + edi*4]
cmove edi, eax
movsx eax, word [edx + ebx*2 + 2]
mov dword [esi + 0x40], edi
shl eax, cl
mov dword [esi + 0x4c], eax
push dword [ebp + 0x48]
call fcn.10153994
add esp, 4
cmp ebx, dword [ebp + 0x10]
mov edx, eax
mov ecx, 0
mov dword [esi + 0xcc], eax
mov dword [esi + 0x10], ebx
cmove edx, ecx
mov ecx, dword [ebp + 0x40]
sub dword [esi + 0x64], edx
mov edx, 0
sub ecx, eax
cmp ebx, dword [ebp + 0x50]
lea eax, [ecx - 1]
mov dword [esi + 0x1c4], eax
jge 0x10154c84
mov ebx, dword [ebp + 0x50]
mov eax, 3
sub ebx, dword [esi + 0x10]
cmp ebx, 4
cmovge ebx, eax
mov eax, dword [esi + 0x64]
cdq
idiv ebx
mov ebx, dword [esi + 0x10]
mov edx, dword [ebp + 0x28]
add eax, dword [edx + ebx*4]
mov edx, 0x3fff
cmp ecx, eax
cmovle eax, ecx
cmp eax, 0x3fff
jg 0x10154c84
test eax, eax
mov ecx, 0
cmovs eax, ecx
mov edx, eax
mov dword [esi + 0x60], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x4c]
mov eax, dword [ebp + 0x18]
sub edx, ecx
cmp dword [esi + 0x7c], 0
lea eax, [eax + ecx*4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x4c], edx
je 0x10154ce5
mov edi, dword [esi + 0x14]
movsx eax, word [edi + ebx*2]
mov ebx, dword [ebp + 0x4c]
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp + 0x10]
sub eax, edx
movsx edx, word [edi + ecx*2]
mov ecx, ebx
shl edx, cl
cmp eax, edx
jge 0x10154cd0
movss xmm1, dword [0x10187134]
mov edx, dword [esi + 0x24]
mov ebx, dword [esi + 0x10]
jmp 0x10154cf0
mov eax, dword [esi + 0x48]
mov ebx, dword [esi + 0x10]
test eax, eax
cmove eax, ebx
cmp dword [esi + 0x18], 0
cmovne eax, ebx
mov dword [esi + 0x48], eax
movss xmm1, dword [0x10187134]
mov edx, dword [esi + 0x24]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi + 0x40]
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x1bc], eax
cmp ebx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x20]
cmovge ecx, dword [esi + 0x34]
cmovge edi, dword [esi + 0xc8]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x40], edi
mov edi, 0
cmovge ecx, edi
cmp ebx, edx
mov ebx, dword [ebp + 0x4c]
mov edx, ecx
cmove edx, edi
cmp byte [esi + 0x2b], 0
mov edi, dword [esi + 0xac]
cmovne edx, ecx
test eax, eax
mov eax, edi
sets cl
cmp dword [esi + 0x48], 0
mov dword [esi + 0x38], edx
mov edx, 0xffffffff
je 0x10154e1d
mov edi, dword [esi + 0xac]
or cl, byte [esi + 0x56]
mov ecx, 0xffffffff
mov edx, ecx
mov eax, edi
je 0x10154e1d
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x70]
mov ecx, ebx
movsx eax, word [eax + edi*2]
shl eax, cl
mov ecx, 0
sub eax, edx
sub eax, dword [esi + 0x4c]
cmovs eax, ecx
mov ecx, dword [esi + 0xc0]
mov dword [esi + 0x1c], eax
lea eax, [eax + edx]
mov dword [esi + 0xc], eax
lea eax, [edi - 2]
mov ebx, eax
mov eax, dword [esi + 0x14]
mov edx, ecx
mov ecx, dword [ebp + 0x4c]
movsx eax, word [eax + edi*2 - 2]
dec edi
shl eax, cl
mov ecx, dword [esi + 0x84]
cmp eax, dword [esi + 0xc]
lea eax, [ebx - 1]
lea ecx, [edx + ecx]
jg 0x10154d9c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x48]
add eax, dword [esi + 0x4c]
lea edi, [ecx - 2]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x4c]
movsx eax, word [eax + edi*2 + 4]
inc edi
shl eax, cl
cmp eax, dword [esi + 0xc]
jl 0x10154dce
mov eax, dword [esi + 0x48]
mov dword [esi + 0x18], edi
xor edi, edi
lea ecx, [eax + 1]
mov eax, dword [esi + 0x30]
imul ecx, eax
imul eax, dword [esi + 0x48]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x50], eax
xor eax, eax
mov ecx, dword [esi + 0x50]
inc ebx
movzx ecx, byte [edx + ecx]
or eax, ecx
mov ecx, dword [esi + 0xc]
movzx ecx, byte [edx + ecx - 1]
add edx, dword [esi + 0x30]
or edi, ecx
cmp ebx, dword [esi + 0x18]
jl 0x10154dfe
mov edx, dword [esi + 0x1c]
mov dword [esi + 0xc], edi
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x1c], edx
test edi, edi
sete cl
cmp ebx, dword [ebp + 0x38]
setne dl
or dl, cl
lea ecx, [ebx + 1]
or dl, byte [esi + 0x57]
mov dword [esi + 0x50], ecx
je 0x10154f33
test edi, edi
mov edi, dword [esi + 0x14]
je 0x10154f79
cmp ebx, dword [ebp + 0x38]
je 0x10154f79
xor edx, edx
cmp ebx, dword [esi + 0x24]
mov dword [esi + 0x18], 0
je 0x10154e7b
mov ecx, dword [ebp + 0x4c]
movsx edx, word [edi + ebx*2]
shl edx, cl
mov ecx, dword [esi + 0x44]
lea ecx, [ecx + edx*4]
xor edx, edx
mov dword [esi + 0x18], ecx
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x34]
movss xmm0, dword [0x10187150]
lea ebx, [ecx + edi*4]
cmp edi, 0xffffffff
mov edi, dword [esi + 0x60]
lea ecx, [esi + 0x1a4]
cmove ebx, edx
mov edx, dword [esi + 0x20]
shr edi, 1
push eax
push dword [esi + 0x38]
push dword [esi + 0x18]
push dword [ebp + 0x4c]
push ebx
push dword [esi + 0x3c]
mov dword [esi + 0x18], edi
push edi
mov ebx, dword [esi + 0x4c]
xor edi, edi
push ebx
call fcn.1015560d
add esp, 0x20
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], eax
cmp ecx, dword [esi + 0x24]
je 0x10154ee3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0xb0]
lea edi, [ecx + eax*4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x40]
movss xmm0, dword [0x10187150]
cmp ecx, 0xffffffff
lea eax, [eax + ecx*4]
mov ecx, 0
cmove eax, ecx
lea ecx, [esi + 0x1a4]
push dword [esi + 0xc]
push dword [esi + 0x38]
push edi
push dword [ebp + 0x4c]
push eax
push dword [esi + 0x3c]
push dword [esi + 0x18]
push ebx
call fcn.1015560d
add esp, 0x20
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x58]
jmp 0x1015559d
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 0x4c]
movsx edx, word [edi + ebx*2]
mov ebx, dword [esi + 0x34]
shl edx, cl
cmp edx, dword [esi + 0x70]
jle 0x10154f79
xor edx, edx
movss xmm0, dword [ebx + edx*4]
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x10]
addss xmm0, dword [ecx + edx*4]
mov ecx, dword [esi + 0x14]
mulss xmm0, xmm1
movss dword [ebx + edx*4], xmm0
inc edx
movsx edi, word [ecx + edi*2]
mov ecx, dword [ebp + 0x4c]
shl edi, cl
sub edi, dword [esi + 0x70]
cmp edx, edi
jl 0x10154f49
mov edi, dword [esi + 0x40]
test edi, edi
je 0x10155155
mov ecx, dword [esi + 0x10]
mov dl, byte [esi + 0x2b]
mov ebx, dword [esi + 0x4c]
cmp ecx, dword [ebp + 0x38]
setge cl
xor dl, 1
or dl, cl
mov edx, dword [esi + 0x64]
mov dword [esi + 0x64], edx
jne 0x101551c5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x24]
or dword [esi + 0xc], eax
mov eax, dword [ebp + 0x48]
mov ecx, dword [ecx + 8]
add ecx, dword [esi + 0x10]
movss xmm0, dword [edx + ecx*4]
mov ecx, dword [esi + 0x10]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [edx + ecx*4]
mov ecx, dword [eax]
mov dword [esi + 0x58], ecx
mov ecx, dword [eax + 4]
movss dword [esi + 0x5c], xmm0
mov dword [esi + 0xa8], ecx
mov ecx, dword [esi + 0xa0]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov ecx, dword [esi + 0x9c]
movsd qword [esi + 0x198], xmm1
movsd qword [esi + 0x190], xmm0
mov eax, dword [eax + 0x18]
mov dword [esi + 0xa4], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x188], eax
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [esi + 0x180], xmm1
movsd qword [esi + 0x178], xmm0
push 0x3c
lea eax, [esi + 0x1a4]
push eax
lea eax, [esi + 0x10c]
push eax
call fcn.101613e0
add esp, 0xc
lea eax, [ebx*4]
mov dword [esi + 0x18], eax
push eax
push dword [esi + 0x20]
push dword [esi + 0x6c]
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push edi
push dword [esi + 0x68]
call fcn.101613e0
movss xmm0, dword [esi + 0x5c]
add esp, 0xc
movaps xmm1, xmm0
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esi + 0x1d4], 0xffffffff
minss xmm1, dword [esi + 0x2c]
cmp eax, dword [esi + 0x24]
divss xmm1, dword [0x101c5a7c]
je 0x101550a9
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movsx eax, word [ecx + eax*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea ecx, [ecx + eax*4]
mov dword [esi + 0x78], ecx
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x34]
addss xmm0, xmm1
movss dword [esi + 0x74], xmm1
movss dword [esi + 0x5c], xmm0
lea eax, [ecx + edx*4]
cmp edx, 0xffffffff
mov edx, dword [esi + 0x20]
mov ecx, 0
cmove eax, ecx
lea ecx, [esi + 0x1a4]
push dword [esi + 0xc]
push dword [esi + 0x38]
push dword [esi + 0x78]
push dword [ebp + 0x4c]
mov dword [esi + 0x78], eax
push eax
push dword [esi + 0x3c]
push dword [esi + 0x60]
push ebx
push edi
call fcn.10155991
add esp, 0x24
test ebx, ebx
mov dword [esi + 0xbc], eax
jle 0x1015523d
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x20]
xor eax, eax
xorps xmm1, xmm1
movss xmm0, dword [ecx + eax*4]
mulss xmm0, dword [edx + eax*4]
inc eax
cmp ebx, eax
addss xmm1, xmm0
jne 0x10155110
mulss xmm1, dword [esi + 0x5c]
mov ecx, dword [esi + 0x68]
xor eax, eax
movss dword [esi + 0x1c], xmm1
xorps xmm1, xmm1
movss xmm0, dword [ecx + eax*4]
mulss xmm0, dword [edi + eax*4]
inc eax
cmp ebx, eax
addss xmm1, xmm0
jne 0x10155135
movss dword [esi + 0x98], xmm1
jmp 0x10155259
or dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
movss xmm0, dword [0x10187150]
mov ebx, dword [esi + 0x4c]
mov dword [esi + 0x2c], 0
cmp eax, dword [esi + 0x24]
mov eax, 0
je 0x1015518c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movsx eax, word [ecx + eax*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea eax, [ecx + eax*4]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x34]
lea edi, [ecx + edx*4]
cmp edx, 0xffffffff
mov edx, dword [esi + 0x20]
mov ecx, 0
cmove edi, ecx
lea ecx, [esi + 0x1a4]
push dword [esi + 0xc]
push dword [esi + 0x38]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x3c]
push dword [esi + 0x60]
push ebx
call fcn.1015560d
add esp, 0x20
jmp 0x10155235
or dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1d4], 0
cmp eax, dword [esi + 0x24]
mov eax, 0
je 0x101551fe
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movsx eax, word [ecx + eax*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x34]
cmp edx, 0xffffffff
lea edi, [ecx + edx*4]
mov edx, dword [esi + 0x20]
mov ecx, 0
cmove edi, ecx
lea ecx, [esi + 0x1a4]
push dword [esi + 0xc]
push dword [esi + 0x38]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x3c]
push dword [esi + 0x60]
push ebx
push dword [esi + 0x40]
call fcn.10155991
add esp, 0x24
mov edx, dword [esi + 0x30]
jmp 0x1015559a
movss xmm0, dword [esi + 0x5c]
xorps xmm2, xmm2
xorps xmm1, xmm1
movss dword [esi + 0x98], xmm1
mulss xmm0, xmm2
movss dword [esi + 0x1c], xmm0
mov eax, dword [ebp + 0x48]
push 0x30
push eax
lea eax, [esi + 0x148]
push eax
call fcn.101613e0
add esp, 0xc
push 0x3c
lea eax, [esi + 0x1a4]
push eax
lea eax, [esi + 0xd0]
push eax
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push dword [esi + 0x20]
push dword [esi + 0x94]
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push edi
push dword [esi + 0x90]
call fcn.101613e0
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x24]
je 0x101552db
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea eax, [ecx + eax*4]
push dword [esi + 0x18]
push eax
push dword [esi + 0x88]
call fcn.101613e0
add esp, 0xc
movss xmm0, dword [esi + 0x2c]
mov edx, dword [esi + 0xa4]
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0x58]
addss xmm0, dword [esi + 0x74]
sub ecx, edx
lea eax, [eax + edx]
mov dword [esi + 0xb8], ecx
movss dword [esi + 0x2c], xmm0
push ecx
mov dword [esi + 0x74], eax
push eax
lea eax, [esi + 0x1ed]
push eax
call fcn.101613e0
add esp, 0xc
mov eax, dword [ebp + 0x48]
mov ecx, dword [esi + 0x58]
mov dword [eax], ecx
mov ecx, dword [esi + 0xa8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xa0]
movsd xmm0, qword [esi + 0x190]
movsd xmm1, qword [esi + 0x198]
movsd qword [ecx], xmm0
movsd qword [ecx + 8], xmm1
mov ecx, dword [esi + 0xa4]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x188]
mov dword [ecx + 0x10], eax
movsd xmm0, qword [esi + 0x178]
movsd xmm1, qword [esi + 0x180]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
push 0x3c
lea eax, [esi + 0x10c]
push eax
lea eax, [esi + 0x1a4]
push eax
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push dword [esi + 0x6c]
push dword [esi + 0x20]
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push dword [esi + 0x68]
push edi
call fcn.101613e0
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xb4]
jne 0x10155407
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
mov edi, ecx
movsx ecx, word [eax + ecx*2 + 2]
movsx edx, word [eax + edi*2]
movsx eax, word [eax + edi*2 + 4]
mov edi, ecx
sub eax, ecx
mov ecx, dword [ebp + 0x4c]
sub edi, edx
mov edx, ebx
mov ebx, dword [esi + 0x34]
shl edi, cl
shl eax, cl
lea ecx, [edi + edi]
sub ecx, eax
sub eax, edi
lea edi, [ebx + edi*4]
lea ecx, [ebx + ecx*4]
mov ebx, edx
shl eax, 2
push eax
push ecx
push edi
mov edi, dword [esi + 0x40]
call fcn.101613e0
add esp, 0xc
movss xmm1, dword [esi + 0x98]
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [esi + 0x1d4], 1
mulss xmm1, dword [esi + 0x2c]
cmp ecx, dword [esi + 0x24]
je 0x1015543d
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movsx eax, word [ecx + eax*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea eax, [ecx + eax*4]
movss xmm0, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x1a4]
addss xmm0, xmm1
movss dword [esi + 0x1c], xmm0
push dword [esi + 0xc]
push dword [esi + 0x38]
push eax
push dword [ebp + 0x4c]
push dword [esi + 0x78]
push dword [esi + 0x3c]
push dword [esi + 0x60]
push ebx
push edi
call fcn.10155991
add esp, 0x24
test ebx, ebx
jle 0x101554c7
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x58], eax
xor eax, eax
xorps xmm0, xmm0
movss xmm1, dword [ecx + eax*4]
mulss xmm1, dword [edx + eax*4]
inc eax
cmp ebx, eax
addss xmm0, xmm1
jne 0x10155483
movss xmm2, dword [esi + 0x5c]
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x68]
movss xmm3, dword [esi + 0x1c]
xor eax, eax
mulss xmm2, xmm0
xorps xmm0, xmm0
movss xmm1, dword [ecx + eax*4]
mulss xmm1, dword [edi + eax*4]
inc eax
cmp ebx, eax
addss xmm0, xmm1
jne 0x101554af
mov eax, dword [esi + 0x58]
jmp 0x101554db
movss xmm2, dword [esi + 0x5c]
mov edx, dword [esi + 0x30]
movss xmm3, dword [esi + 0x1c]
xorps xmm0, xmm0
mulss xmm2, xmm0
movss xmm1, dword [esi + 0x2c]
mulss xmm1, xmm0
addss xmm1, xmm2
ucomiss xmm3, xmm1
jb 0x10155593
push 0x30
lea eax, [esi + 0x148]
push eax
push dword [ebp + 0x48]
call fcn.101613e0
add esp, 0xc
push 0x3c
lea eax, [esi + 0xd0]
push eax
lea eax, [esi + 0x1a4]
push eax
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push dword [esi + 0x94]
push dword [esi + 0x20]
call fcn.101613e0
add esp, 0xc
push dword [esi + 0x18]
push dword [esi + 0x90]
push edi
call fcn.101613e0
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x24]
je 0x10155572
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movsx eax, word [ecx + eax*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x44]
lea eax, [ecx + eax*4]
push dword [esi + 0x18]
push dword [esi + 0x88]
push eax
call fcn.101613e0
add esp, 0xc
push dword [esi + 0xb8]
lea eax, [esi + 0x1ed]
push eax
push dword [esi + 0x74]
call fcn.101613e0
add esp, 0xc
mov eax, dword [esi + 0xbc]
mov edx, dword [esi + 0x30]
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0x10]
shl ebx, 3
mov ecx, edi
imul ecx, edx
mov edx, dword [ebp + 0x20]
mov byte [edx + ecx], al
add ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xc]
mov byte [edx + ecx], al
mov edx, dword [esi + 0x64]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 0x14]
add edx, dword [esi + 0xcc]
add edx, dword [eax + edi*4]
xor eax, eax
cmp dword [esi + 0x60], ebx
mov ebx, dword [esi + 0x50]
mov dword [esi + 0x1dc], 0
setg al
cmp ebx, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
jne 0x10154bdc
mov eax, dword [esi + 0x1cc]
mov ecx, dword [ebp + 0x54]
mov dword [ecx], eax
mov ecx, dword [esi + 0x6e8]
xor ecx, ebp
call fcn.1015e65c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret