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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x730
mov esi, esp
mov eax, dword [0x10305014]
xor eax, ebp
mov dword [esi + 0x10], eax
xor eax, eax
cmp dword [ebp + 0x1c], 0
setne al
mov ecx, eax
inc ecx
mov dword [esi + 0x60], ecx
cmp dword [ebp + 8], 0
sete bh
setne byte [esi + 0x17]
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x24], ecx
test ecx, ecx
sete dl
mov edi, dword [ebp + 0x58]
cmp edi, 8
setge bl
and bl, dl
and bl, al
mov ecx, dword [ebp + 0x4c]
xor edx, edx
inc edx
shl edx, cl
and byte [esi + 0x17], bl
or bl, bh
mov eax, dword [esi + 0x10]
mov dword [esi + 0x728], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x20]
xor eax, eax
dec eax
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1ec], eax
pcmpeqd xmm0, xmm0
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov dword [esi + 0xc], eax
mov eax, 1
cmove edx, eax
mov dword [esi + 0x44], edx
movdqu xmmword [esi + 0x1dc], xmm0
mov eax, dword [ebp + 0x10]
movsx eax, word [edi + eax*2]
mov edx, eax
mov ecx, dword [ebp + 0x4c]
shl edx, cl
mov dword [esi + 0xa0], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x10], ecx
movsx edx, word [edi + ecx*2 - 2]
mov dword [esi + 0x88], eax
sub edx, eax
mov ecx, dword [ebp + 0x4c]
shl edx, cl
imul edx, dword [esi + 0x60]
shl edx, 2
movzx eax, bl
mov dword [esi + 0x84], eax
mov eax, edx
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push edx
push 0xff
mov dword [esi + 0x38], eax
push eax
call fcn.10132b90
add esp, 0xc
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x10]
movsx eax, word [edi + ecx*2 - 2]
mov edi, ecx
mov edx, eax
mov ecx, dword [ebp + 0x4c]
shl edx, cl
cmp byte [esi + 0x17], 0
mov dword [esi + 0x48], edx
jne 0x1012ba92
mov eax, dword [ebp + 0x18]
lea eax, [eax + edx*4]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x210]
mov dword [esi + 0x78], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x1f4], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x1ec], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1d0], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x1e0], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1d8], eax
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov dword [esi + 0x1f8], eax
mov ecx, dword [ebp + 0x30]
mov dword [esi + 0x1e4], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x1fc], ecx
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x204], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x1d4], ecx
mov dword [esi + 0x200], 0
xor ecx, ecx
mov edi, dword [esi + 0x44]
mov edx, edi
cmp edi, 2
setge cl
mov dword [esi + 0x208], ecx
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp edi, ecx
jge 0x1012b45d
mov edi, dword [esi + 0x38]
mov eax, dword [esi + 0x48]
lea ebx, [edi + eax*4]
mov ecx, dword [esi + 0xa0]
lea eax, [ecx*4]
sub ebx, eax
mov eax, ecx
neg eax
cmp edx, 2
setge cl
mov edx, dword [ebp + 0x1c]
test edx, edx
mov edx, edi
cmove edx, dword [ebp + 0x1c]
mov dword [esi + 0xc8], edx
cmp dword [ebp + 0x30], 3
setne dl
or dl, cl
mov byte [esi + 0x57], dl
xor edx, edx
dec edx
mov ecx, dword [esi + 0x44]
shl edx, cl
not edx
mov dword [esi + 0xa4], edx
mov ecx, dword [esi + 0x84]
xor cl, 1
mov byte [esi + 0x56], cl
lea ecx, [edi + eax*4]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x80], ebx
lea eax, [ebx + eax*4]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x60]
mov ecx, eax
neg ecx
mov dword [esi + 0xcc], ecx
mov ecx, dword [ebp + 0x20]
sub ecx, eax
mov dword [esi + 0xc0], ecx
mov ecx, dword [ebp + 0x44]
mov dword [esi + 0x7c], ecx
mov ecx, dword [ebp + 0x14]
dec ecx
mov dword [esi + 0x34], ecx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebx + 1]
mov dword [esi + 0x8c], ecx
dec eax
mov dword [esi + 0xc4], eax
mov ecx, dword [ebp + 0x48]
lea eax, [ecx + 8]
mov dword [esi + 0x9c], eax
lea eax, [ecx + 0x1c]
mov dword [esi + 0x98], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x1dc], ebx
mov edi, dword [esi + 0x1c]
movsx eax, word [edi + ebx*2]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov dword [esi + 0x18], eax
lea edx, [ecx + eax*4]
cmove edx, ecx
mov dword [esi + 0x28], edx
movsx edi, word [edi + ebx*2 + 2]
sub edi, dword [esi + 0x30]
mov dword [esi + 0x30], edi
mov ecx, dword [ebp + 0x4c]
shl edi, cl
mov eax, edi
mov dword [esi + 0x3c], edi
test edi, edi
jle 0x1012b4b6
push dword [ebp + 0x48]
call fcn.10129c50
add esp, 4
xor edx, edx
cmp ebx, dword [ebp + 0x10]
mov ecx, eax
mov dword [esi + 0x50], 0
cmove ecx, edx
sub dword [esi + 0x7c], ecx
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0xd0], eax
sub ecx, eax
lea eax, [ecx - 1]
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x10], ebx
cmp ebx, dword [ebp + 0x50]
jge 0x1012b012
mov edi, dword [ebp + 0x50]
mov ebx, dword [esi + 0x10]
sub edi, ebx
cmp edi, 3
mov eax, 3
cmovge edi, eax
mov eax, dword [esi + 0x7c]
cdq
idiv edi
mov edx, eax
mov eax, dword [ebp + 0x28]
add edx, dword [eax + ebx*4]
cmp ecx, edx
cmovl edx, ecx
mov eax, 0x3fff
cmp edx, eax
cmovge edx, eax
test edx, edx
mov eax, 0
cmovle edx, eax
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], 0
je 0x1012b4d2
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x10]
movsx eax, word [edx + ebx*2]
sub eax, dword [esi + 0x30]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov edi, dword [ebp + 0x10]
movsx edx, word [edx + edi*2]
shl edx, cl
cmp eax, edx
jge 0x1012b046
cmp ebx, dword [esi + 0x8c]
jne 0x1012b058
mov eax, dword [esi + 0x48]
test eax, eax
cmove eax, ebx
cmp dword [esi + 0xc], 0
cmovne eax, ebx
mov dword [esi + 0x48], eax
cmp ebx, dword [esi + 0x8c]
je 0x1012b2ec
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x1e8], eax
mov ecx, dword [ebp + 0xc]
cmp ebx, dword [ecx + 0xc]
cmovge edx, dword [esi + 0x38]
mov dword [esi + 0x20], edx
mov ecx, dword [esi + 0x28]
cmovge ecx, dword [esi + 0xc8]
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x40]
mov edi, 0
cmovge ecx, edi
cmp ebx, dword [esi + 0x34]
mov edx, ecx
cmove edx, edi
cmp byte [esi + 0x17], 0
cmovne edx, ecx
mov dword [esi + 0x40], edx
test eax, eax
sets al
xor ecx, ecx
dec ecx
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0xa4]
mov edx, ecx
mov dword [esi + 0xc], ecx
cmp dword [esi + 0x48], 0
je 0x1012b1b3
or al, byte [esi + 0x57]
mov eax, 0xffffffff
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xa4]
mov edx, eax
mov dword [esi + 0xc], eax
je 0x1012b1b3
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x48]
movsx edx, word [eax + edi*2]
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x88]
sub edx, eax
mov ecx, dword [ebp + 0x4c]
shl edx, cl
test edx, edx
mov eax, 0
cmovle edx, eax
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x64], edx
add eax, edx
mov dword [esi + 0xc], eax
lea ecx, [edi - 2]
mov edx, dword [esi + 0xc0]
mov ebx, edi
mov dword [esi + 0x30], ecx
mov edi, edx
mov eax, dword [esi + 0x1c]
movsx eax, word [eax + ebx*2 - 2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
dec ebx
mov ecx, dword [esi + 0x30]
dec ecx
mov edx, dword [esi + 0xcc]
add edx, edi
cmp eax, dword [esi + 0xc]
jg 0x1012b129
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x48]
mov ebx, dword [esi + 0x10]
cmp eax, ebx
cmovg ebx, eax
lea ecx, [ebx - 1]
add eax, 0xfffffffe
mov dword [esi + 0x18], eax
neg ebx
mov edx, dword [esi + 0x18]
lea eax, [ebx + edx]
cmp eax, 0xfffffffe
jne 0x1012b332
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov ebx, dword [esi + 0x60]
imul ecx, ebx
imul ebx, eax
xor edx, edx
mov dword [esi + 0xc], 0
movzx eax, byte [edi + ebx]
or edx, eax
movzx eax, byte [edi + ecx - 1]
or dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
inc eax
add edi, dword [esi + 0x60]
mov dword [esi + 0x30], eax
cmp eax, dword [esi + 0x18]
jl 0x1012b196
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x30], eax
cmp dword [esi + 0x24], 0
jne 0x1012b357
cmp dword [esi + 0x28], 0
je 0x1012b4da
mov edi, dword [esi + 0x10]
cmp edi, dword [ebp + 0x38]
setl al
and al, byte [esi + 0x17]
cmp al, 1
je 0x1012b54d
or dword [esi + 0xc], edx
mov dword [esi + 0x24], 0
mov dword [esi + 0x200], 0
mov eax, 0
cmp edi, dword [esi + 0x34]
je 0x1012b215
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
mov edx, dword [esi + 0x64]
cmp edx, 0xffffffff
mov ecx, dword [esi + 0x38]
lea edi, [ecx + edx*4]
mov ecx, 0
cmove edi, ecx
lea ecx, [esi + 0x1d0]
mov edx, dword [esi + 0x20]
push dword [esi + 0xc]
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x44]
push dword [esi + 0x50]
mov ebx, dword [esi + 0x3c]
push ebx
push dword [esi + 0x28]
call fcn.1012c450
add esp, 0x24
mov dword [esi + 0xc], eax
mov edi, dword [esi + 0x10]
mov ecx, edi
imul ecx, dword [esi + 0x60]
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 eax, dword [esi + 0x7c]
add eax, dword [esi + 0xd0]
mov ecx, dword [ebp + 0x28]
add eax, dword [ecx + edi*4]
mov dword [esi + 0x7c], eax
shl ebx, 3
xor eax, eax
cmp dword [esi + 0x50], ebx
setg al
mov dword [esi + 0xc], eax
mov dword [esi + 0x208], 0
mov ebx, dword [esi + 0x30]
cmp ebx, dword [ebp + 0x14]
jne 0x1012af57
jmp 0x1012b457
mov ecx, dword [esi + 0x38]
movss xmm0, dword [ecx + eax*4]
mov edx, dword [esi + 0x80]
addss xmm0, dword [edx + eax*4]
mulss xmm0, dword [0x10299208]
movss dword [ecx + eax*4], xmm0
inc eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
movsx edx, word [ecx + edx*2]
sub edx, dword [esi + 0x88]
mov ecx, dword [ebp + 0x4c]
shl edx, cl
cmp eax, edx
mov edx, ebx
jl 0x1012b2ab
jmp 0x1012b1c4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edi, dword [ebp + 0x10]
movsx eax, word [ecx + edi*2 + 2]
movsx edx, word [ecx + edi*2]
movsx edi, word [ecx + edi*2 + 4]
sub edi, eax
sub eax, edx
mov ecx, dword [ebp + 0x4c]
shl eax, cl
shl edi, cl
lea edx, [eax + eax]
sub edx, edi
sub edi, eax
shl edi, 2
test edi, edi
jne 0x1012bae8
cmp dword [esi + 0x24], 0
mov ebx, dword [esi + 0x10]
je 0x1012b064
jmp 0x1012b477
mov eax, dword [esi + 0x1c]
movsx eax, word [eax + edx*2 + 4]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x2c]
inc edx
mov dword [esi + 0x18], edx
cmp eax, dword [esi + 0xc]
jl 0x1012b16c
jmp 0x1012b17e
mov ebx, edx
mov ecx, dword [ebp + 0x38]
mov edx, dword [esi + 0x10]
cmp edx, ecx
setne al
or al, byte [esi + 0x56]
je 0x1012b493
cmp edx, ecx
mov edx, ebx
je 0x1012b1c4
xor edx, edx
mov eax, 0
mov edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x34]
je 0x1012b398
mov eax, dword [esi + 0x1c]
movsx eax, word [eax + edi*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x64]
cmp ecx, 0xffffffff
mov eax, dword [esi + 0x38]
lea eax, [eax + ecx*4]
cmove eax, edx
mov edi, dword [esi + 0x50]
shr edi, 1
lea ecx, [esi + 0x1d0]
mov dword [esi + 0x18], 0
mov edx, dword [esi + 0x20]
movss xmm0, dword [0x10299218]
push ebx
push dword [esi + 0x40]
push dword [esi + 0x2c]
mov ebx, dword [ebp + 0x4c]
push ebx
push eax
push dword [esi + 0x44]
mov dword [esi + 0x20], edi
push edi
mov edi, dword [esi + 0x10]
push dword [esi + 0x3c]
call fcn.1012bbb0
add esp, 0x20
mov dword [esi + 0x2c], eax
cmp edi, dword [esi + 0x34]
je 0x1012b407
mov eax, dword [esi + 0x1c]
movsx eax, word [eax + edi*2]
mov ecx, ebx
shl eax, cl
mov ecx, dword [esi + 0xbc]
lea eax, [ecx + eax*4]
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x64]
cmp ecx, 0xffffffff
mov eax, dword [esi + 0x80]
lea eax, [eax + ecx*4]
mov ecx, 0
cmove eax, ecx
lea ecx, [esi + 0x1d0]
mov edx, dword [esi + 0x28]
movss xmm0, dword [0x10299218]
push dword [esi + 0xc]
push dword [esi + 0x40]
push dword [esi + 0x18]
push ebx
push eax
push dword [esi + 0x44]
push dword [esi + 0x20]
mov ebx, dword [esi + 0x3c]
push ebx
call fcn.1012bbb0
add esp, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
jmp 0x1012b255
mov eax, dword [esi + 0x1f8]
mov ecx, dword [ebp + 0x54]
mov dword [ecx], eax
mov ecx, dword [esi + 0x728]
xor ecx, ebp
call fcn.10130483
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x80]
lea eax, [ecx + eax*4]
lea ecx, [ecx + edx*4]
push edi
push ecx
push eax
call fcn.10132610
add esp, 0xc
jmp 0x1012b064
mov eax, dword [esi + 0x1c]
movsx eax, word [eax + edx*2]
sub eax, dword [esi + 0x88]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
test eax, eax
mov edx, ebx
jle 0x1012b1c4
xor eax, eax
jmp 0x1012b2ab
push 0x5d8
push str....._third_partyopus_srccelt_bands.c
push str.assertion_failed:_N___0
call fcn.1028ab20
add esp, 0xc
jmp 0x1012af9a
mov ebx, dword [esi + 0x10]
jmp 0x1012b058
or dword [esi + 0xc], edx
mov dword [esi + 0x24], 0
mov eax, 0
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x34]
je 0x1012b506
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
mov edx, dword [esi + 0x64]
cmp edx, 0xffffffff
mov ecx, dword [esi + 0x38]
lea edi, [ecx + edx*4]
mov ecx, 0
cmove edi, ecx
lea ecx, [esi + 0x1d0]
movd xmm0, dword [0x10299218]
mov edx, dword [esi + 0x20]
push dword [esi + 0xc]
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push edi
push dword [esi + 0x44]
push dword [esi + 0x50]
mov ebx, dword [esi + 0x3c]
push ebx
call fcn.1012bbb0
add esp, 0x20
jmp 0x1012b252
lea eax, [esi + 0x22d]
push 0x4fb
push 0xff
push eax
mov ebx, edx
call fcn.10132b90
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
add eax, edi
mov ecx, dword [ebp + 0x24]
movss xmm0, dword [ecx + eax*4]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [ecx + edi*4]
movss dword [esi + 0x18], xmm0
or dword [esi + 0xc], ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [esi + 0x90], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0x9c]
movups xmm0, xmmword [ecx]
movaps xmmword [esi + 0x1c0], xmm0
mov eax, dword [eax + 0x18]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0x98]
movups xmm0, xmmword [eax]
movaps xmmword [esi + 0x1a0], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1b0], eax
movups xmm0, xmmword [esi + 0x1d0]
movups xmm1, xmmword [esi + 0x1e0]
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x140], xmm1
movups xmm0, xmmword [esi + 0x1f0]
movaps xmmword [esi + 0x150], xmm0
movups xmm0, xmmword [esi + 0x1fc]
movups xmmword [esi + 0x15c], xmm0
mov eax, dword [esi + 0x3c]
lea ebx, [eax*4]
push ebx
push dword [esi + 0x20]
push dword [esi + 0x5c]
call fcn.10132610
add esp, 0xc
mov dword [esi + 0x24], ebx
push ebx
push dword [esi + 0x28]
push dword [esi + 0x58]
call fcn.10132610
add esp, 0xc
xor edx, edx
mov dword [esi + 0x200], 0xffffffff
mov eax, 0
cmp edi, dword [esi + 0x34]
je 0x1012b65e
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [esi + 0x2c]
minss xmm0, xmm2
divss xmm0, dword [0x102d7c68]
addss xmm1, xmm0
movss dword [esi + 0x18], xmm1
addss xmm0, xmm2
movss dword [esi + 0x94], xmm0
mov edi, dword [esi + 0x64]
cmp edi, 0xffffffff
mov ecx, dword [esi + 0x38]
lea edi, [ecx + edi*4]
cmove edi, edx
lea ecx, [esi + 0x1d0]
mov edx, dword [esi + 0x20]
push dword [esi + 0xc]
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
mov dword [esi + 0xb8], edi
push edi
push dword [esi + 0x44]
push dword [esi + 0x50]
mov edi, dword [esi + 0x3c]
push edi
mov ebx, dword [esi + 0x28]
push ebx
call fcn.1012c450
add esp, 0x24
mov dword [esi + 0x2c], eax
push edi
push dword [esi + 0x20]
push dword [esi + 0x5c]
call fcn.101280e0
add esp, 0xc
fstp xword [esi + 0x64]
push edi
push ebx
push dword [esi + 0x58]
call fcn.101280e0
add esp, 0xc
fstp xword [esi + 0xe4]
mov eax, dword [ebp + 0x48]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x180], xmm1
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esi + 0x190], xmm0
lea eax, [esi + 0x1d0]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0x100], xmm1
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esi + 0x110], xmm0
movups xmm0, xmmword [eax + 0x2c]
movups xmmword [esi + 0x11c], xmm0
mov edi, dword [esi + 0x24]
push edi
push dword [esi + 0x20]
push dword [esi + 0x78]
call fcn.10132610
add esp, 0xc
push edi
push ebx
push dword [esi + 0x70]
call fcn.10132610
add esp, 0xc
fld xword [esi + 0x64]
fstp dword [esi + 0xe0]
movss xmm0, dword [esi + 0xe0]
mulss xmm0, dword [esi + 0x18]
movss dword [esi + 0x64], xmm0
fld xword [esi + 0xe4]
fstp dword [esi + 0xdc]
movss xmm0, dword [esi + 0xdc]
mulss xmm0, dword [esi + 0x94]
movss dword [esi + 0xe4], xmm0
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x34]
je 0x1012b7d1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
push dword [esi + 0x24]
push eax
push dword [esi + 0x74]
call fcn.10132610
add esp, 0xc
mov edi, dword [esi + 0xb0]
mov eax, dword [esi + 0x90]
add eax, edi
mov ebx, dword [esi + 0xb4]
mov ecx, ebx
sub ecx, edi
mov dword [esi + 0xa8], ecx
push ecx
mov dword [esi + 0xac], eax
push eax
lea eax, [esi + 0x22d]
push eax
call fcn.10132610
add esp, 0xc
mov eax, dword [ebp + 0x48]
mov ecx, dword [esi + 0x90]
mov dword [eax], ecx
mov dword [eax + 4], ebx
movaps xmm0, xmmword [esi + 0x1c0]
mov ecx, dword [esi + 0x9c]
movups xmmword [ecx], xmm0
mov dword [eax + 0x18], edi
mov eax, dword [esi + 0x1b0]
mov ecx, dword [esi + 0x98]
mov dword [ecx + 0x10], eax
movaps xmm0, xmmword [esi + 0x1a0]
movups xmmword [ecx], xmm0
movaps xmm0, xmmword [esi + 0x130]
movaps xmm1, xmmword [esi + 0x140]
movaps xmmword [esi + 0x1d0], xmm0
movaps xmmword [esi + 0x1e0], xmm1
movaps xmm0, xmmword [esi + 0x150]
movaps xmmword [esi + 0x1f0], xmm0
movups xmm0, xmmword [esi + 0x15c]
movups xmmword [esi + 0x1fc], xmm0
mov edi, dword [esi + 0x24]
push edi
push dword [esi + 0x5c]
push dword [esi + 0x20]
call fcn.10132610
add esp, 0xc
push edi
push dword [esi + 0x58]
push dword [esi + 0x28]
call fcn.10132610
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x8c]
jne 0x1012b8e6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov ebx, dword [ebp + 0x10]
movsx ecx, word [eax + ebx*2 + 2]
movsx edx, word [eax + ebx*2]
movsx eax, word [eax + ebx*2 + 4]
sub eax, ecx
mov ebx, ecx
sub ebx, edx
mov ecx, dword [ebp + 0x4c]
shl ebx, cl
shl eax, cl
lea ecx, [ebx + ebx]
sub ecx, eax
sub eax, ebx
mov edi, dword [esi + 0x38]
lea edx, [edi + ebx*4]
lea ecx, [edi + ecx*4]
shl eax, 2
push eax
push ecx
push edx
call fcn.10132610
add esp, 0xc
xor eax, eax
mov dword [esi + 0x200], 1
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x34]
je 0x1012b90f
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
movss xmm0, dword [esi + 0x64]
addss xmm0, dword [esi + 0xe4]
movss dword [esi + 0x64], xmm0
lea ecx, [esi + 0x1d0]
mov ebx, dword [esi + 0x20]
mov edx, ebx
push dword [esi + 0xc]
push dword [esi + 0x40]
push eax
push dword [ebp + 0x4c]
push dword [esi + 0xb8]
push dword [esi + 0x44]
push dword [esi + 0x50]
mov edi, dword [esi + 0x3c]
push edi
push dword [esi + 0x28]
call fcn.1012c450
add esp, 0x24
mov dword [esi + 0xc], eax
push edi
push ebx
push dword [esi + 0x5c]
call fcn.101280e0
add esp, 0xc
fstp dword [esi + 0xd8]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [esi + 0xd8]
movss dword [esi + 0x18], xmm0
push edi
push dword [esi + 0x28]
push dword [esi + 0x58]
call fcn.101280e0
add esp, 0xc
fstp dword [esi + 0xd4]
movss xmm0, dword [esi + 0x94]
mulss xmm0, dword [esi + 0xd4]
addss xmm0, dword [esi + 0x18]
movss xmm1, dword [esi + 0x64]
ucomiss xmm1, xmm0
jae 0x1012b9b8
mov eax, dword [esi + 0xc]
mov dword [esi + 0x2c], eax
jmp 0x1012ba7d
movaps xmm0, xmmword [esi + 0x190]
mov eax, dword [ebp + 0x48]
movups xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x170]
movaps xmm1, xmmword [esi + 0x180]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
movaps xmm0, xmmword [esi + 0xf0]
movaps xmm1, xmmword [esi + 0x100]
movaps xmmword [esi + 0x1d0], xmm0
movaps xmmword [esi + 0x1e0], xmm1
movaps xmm0, xmmword [esi + 0x110]
movaps xmmword [esi + 0x1f0], xmm0
movsd xmm0, qword [esi + 0x120]
movsd qword [esi + 0x200], xmm0
mov edi, dword [esi + 0x24]
push edi
push dword [esi + 0x78]
push dword [esi + 0x20]
call fcn.10132610
add esp, 0xc
push edi
push dword [esi + 0x70]
push dword [esi + 0x28]
call fcn.10132610
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x34]
je 0x1012ba62
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x4c]
shl eax, cl
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4]
push dword [esi + 0x24]
push dword [esi + 0x74]
push eax
call fcn.10132610
add esp, 0xc
push dword [esi + 0xa8]
lea eax, [esi + 0x22d]
push eax
push dword [esi + 0xac]
call fcn.10132610
add esp, 0xc
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0xc], eax
mov ebx, dword [esi + 0x3c]
jmp 0x1012b255
mov ecx, dword [esi + 0x1c]
movsx ebx, word [ecx + edi*2]
sub ebx, eax
mov ecx, dword [ebp + 0x4c]
shl ebx, cl
shl ebx, 2
mov eax, ebx
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push ebx
push 0xff
mov dword [esi + 0x40], eax
push eax
call fcn.10132b90
add esp, 0xc
mov eax, ebx
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov edx, eax
mov esp, eax
test ebx, ebx
mov dword [esi + 0x5c], eax
jne 0x1012bb0b
lea eax, [esi + 0x210]
mov dword [esi + 0x78], eax
jmp 0x1012ae00
mov ecx, dword [esi + 0x38]
mov ebx, eax
lea eax, [ecx + edx*4]
lea ecx, [ecx + ebx*4]
push edi
push eax
push ecx
mov dword [esi + 0xc], edx
call fcn.10132610
mov edx, dword [esi + 0xc]
mov eax, ebx
add esp, 0xc
jmp 0x1012b320
mov eax, ebx
mov ecx, 0xff
push eax
push ecx
push edx
call fcn.10132b90
add esp, 0xc
lea edi, [ebx + 3]
and edi, 0xfffffffc
mov eax, edi
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push ebx
mov ecx, 0xff
push ecx
mov dword [esi + 0x58], eax
push eax
call fcn.10132b90
add esp, 0xc
mov eax, edi
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push ebx
mov ecx, 0xff
push ecx
mov dword [esi + 0x78], eax
push eax
call fcn.10132b90
add esp, 0xc
mov eax, edi
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push ebx
mov ecx, 0xff
push ecx
mov dword [esi + 0x70], eax
push eax
call fcn.10132b90
add esp, 0xc
mov eax, edi
call fcn.101308a0
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push ebx
mov ecx, 0xff
push ecx
mov dword [esi + 0x74], eax
push eax
call fcn.10132b90
add esp, 0xc
jmp 0x1012ae09