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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0xf4
mov ebx, dword [ebp + 0x3c]
mov esi, dword [ebx]
inc dword [0x102198e8]
cmp dword [ebp + 0x74], 0
je 0x1013a57b
mov eax, dword [ebp + 0x74]
pxor xmm0, xmm0
movsd qword [eax], xmm0
mov eax, esi
shl eax, 4
push eax
call fcn.101bcde0
pop ecx
mov dword [esp + 0xac], eax
test esi, esi
jle 0x1013a5d0
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov eax, dword [esp + 0xac]
xor edx, edx
movsd xmm0, qword [ecx + edx*8]
movsd qword [eax], xmm0
mov dword [eax + 8], edx
inc edx
add eax, 0x10
cmp edx, esi
jl 0x1013a5a0
cmp esi, 1
jle 0x1013a5d0
push 0x100adf70
push 0x10
push esi
push dword [esp + 0xb8]
call fcn.101bec80
add esp, 0x10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1013b218
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
xor edi, edi
mov dword [esp + 0x84], edi
test esi, esi
jle 0x1013b096
movsd xmm7, qword [ebp + 0x5c]
movsd xmm6, qword [ebp + 0x54]
movsd xmm5, qword [ebp + 0x48]
movsd xmm4, qword [ebp + 0xc]
movsd xmm2, qword [0x101f2860]
mov dword [esp + 0xa0], esi
xor eax, eax
mov esi, eax
mov edx, eax
pxor xmm3, xmm3
mov ecx, dword [esp + 0xac]
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp + 4], xmm0
mov eax, esi
shl eax, 4
mov ebx, dword [ecx + eax + 8]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], 1
mov dword [esp], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x38]
mov ecx, dword [ecx]
movsd xmm1, qword [ecx + ebx*8]
mov ecx, dword [ebp + 0x34]
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
movsd qword [esp + 0x1c], xmm1
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x38], ecx
call fcn.100b07a0
mov ecx, dword [esp + 0xa4]
xor edx, edx
cmp ecx, 2
je 0x1013b031
test ecx, ecx
jne 0x1013a741
mov ecx, dword [ebp + 0x30]
movsd xmm1, qword [ebp + 0xc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
movsd qword [esp + 0x18], xmm1
mov dword [esp], ecx
mov ecx, dword [ebp + 0x34]
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0x38]
mov ecx, dword [ecx]
movsd xmm0, qword [ecx + ebx*8]
mov ecx, dword [ebp + 8]
movsd qword [esp + 8], xmm0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x2c], ecx
call fcn.100c9ef0
jmp 0x1013a7e8
mov ecx, dword [ebp + 0x30]
movsd xmm1, qword [ebp + 0xc]
movsd qword [esp + 0x1c], xmm1
mov dword [esp + 4], edx
mov dword [esp + 0x80], 5
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
mov dword [esp], ecx
mov ecx, dword [ebp + 0x38]
mov ecx, dword [ecx]
movsd xmm0, qword [ecx + ebx*8]
mov ecx, dword [ebp + 0x34]
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
movsd qword [esp + 8], xmm0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
call fcn.100d2c30
xor edx, edx
test eax, eax
jne 0x1013b020
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x88], edi
test edi, edi
jle 0x1013a8b7
movsd xmm2, qword [ebp + 0x40]
mov dword [esp + 0x78], ebx
mov eax, edx
mov dword [esp + 0x7c], esi
mov esi, eax
mov eax, dword [ebp + 0x74]
mov edx, dword [esp + 0xc0]
movsd xmm1, qword [edx + esi*8]
comisd xmm2, xmm1
jbe 0x1013a8a4
test eax, eax
je 0x1013a845
movsd xmm0, qword [eax]
addsd xmm1, xmm0
movsd qword [eax], xmm1
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc4]
push dword [ebx + esi*4]
call fcn.101bceaa
mov eax, dword [ebp + 0x74]
movsd xmm2, qword [ebp + 0x40]
add esp, 4
mov edx, dword [ebx + edi*4 - 4]
mov dword [ebx + esi*4], edx
mov ebx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
movsd xmm0, qword [ebx + ecx*8 - 8]
movsd qword [ebx + esi*8], xmm0
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0xbc]
mov edi, dword [edx + edi*4 - 4]
mov dword [edx + esi*4], edi
mov edi, dword [esp + 0xbc]
dec edi
dec esi
mov dword [esp + 0xbc], edi
inc esi
cmp esi, edi
jl 0x1013a81c
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
xor edx, edx
test edi, edi
jle 0x1013b1f6
mov dword [esp + 0x78], ebx
mov eax, edx
mov dword [esp + 0x7c], esi
mov esi, eax
mov ebx, edx
mov ecx, dword [esp + 0xc4]
movsd xmm1, qword [0x101f2870]
movsd xmm0, qword [0x101f2868]
mov edi, dword [ecx + esi*4]
mov ecx, dword [esp + 0xc8]
movsd qword [esp + 0x14], xmm1
movsd qword [esp + 0x1c], xmm0
movsd qword [esp + 0x24], xmm1
mov dword [esp + 0xc], 0xd
mov dword [esp], edi
lea ecx, [ecx + esi*4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
call fcn.100be0f0
mov ecx, dword [esp + 0xc8]
cmp dword [ecx + esi*4], 3
jl 0x1013a935
mov edi, dword [esp + 0xbc]
jmp 0x1013a990
mov edi, dword [esp + 0xc4]
push dword [edi + esi*4]
call fcn.101bceaa
pop ecx
mov ecx, dword [esp + 0xbc]
mov ecx, dword [edi + ecx*4 - 4]
mov dword [edi + esi*4], ecx
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
movsd xmm0, qword [ecx + edi*8 - 8]
movsd qword [ecx + esi*8], xmm0
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xbc]
mov ecx, dword [edi + ecx*4 - 4]
mov dword [edi + esi*4], ecx
mov edi, dword [esp + 0xbc]
dec edi
mov dword [esp + 0xbc], edi
inc esi
cmp esi, edi
jl 0x1013a8cd
mov esi, dword [esp + 0x7c]
movsd xmm0, qword [ebp + 0x48]
mov edx, ebx
mov ebx, dword [esp + 0x78]
pxor xmm1, xmm1
comisd xmm0, xmm1
jb 0x1013ad2c
test edi, edi
jle 0x1013b1e5
mov dword [esp + 0x78], ebx
mov eax, edx
mov dword [esp + 0x7c], esi
mov esi, dword [ebp + 0x74]
mov ebx, eax
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + ebx*4]
cmp edx, dword [ebp + 0x68]
jl 0x1013ad19
mov ecx, dword [esp + 0xc4]
movsd xmm1, qword [ebp + 0x48]
movsd xmm2, qword [ebp + 0x40]
mov edi, dword [ecx + ebx*4]
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x24], xmm2
mov dword [esp], edi
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc0]
movsd xmm0, qword [edx + ebx*8]
movsd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x98]
mov dword [esp + 0x34], edx
lea edx, [esp + 0xb8]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x9c]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x40], edx
call fcn.10091670
test esi, esi
je 0x1013aa7c
movsd xmm0, qword [esp + 0x90]
addsd xmm0, qword [esi]
movsd qword [esi], xmm0
mov edx, dword [esp + 0x9c]
test edx, edx
jle 0x1013b1da
movsd xmm2, qword [ebp + 0x40]
mov dword [esp + 0x64], ebx
xor eax, eax
mov ecx, eax
mov eax, esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [esp + 0xb8]
movsd xmm1, qword [ecx + esi*8]
comisd xmm2, xmm1
jbe 0x1013ab26
test eax, eax
je 0x1013aac7
movsd xmm0, qword [eax]
addsd xmm1, xmm0
movsd qword [eax], xmm1
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x8c]
push dword [edi + esi*4]
call fcn.101bceaa
mov eax, dword [ebp + 0x74]
movsd xmm2, qword [ebp + 0x40]
add esp, 4
mov edx, dword [edi + ebx*4 - 4]
mov dword [edi + esi*4], edx
mov ebx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x9c]
movsd xmm0, qword [ebx + ecx*8 - 8]
movsd qword [ebx + esi*8], xmm0
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov edi, dword [edx + edi*4 - 4]
mov dword [edx + esi*4], edi
mov ebx, dword [esp + 0x9c]
dec ebx
dec esi
mov dword [esp + 0x9c], ebx
inc esi
cmp esi, ebx
jl 0x1013aa9e
mov esi, eax
mov edx, ebx
mov ebx, dword [esp + 0x64]
test edx, edx
je 0x1013acbe
jle 0x1013ac7b
mov edi, dword [esp + 0xc4]
push dword [edi + ebx*4]
call fcn.101bceaa
pop ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx]
mov dword [edi + ebx*4], ecx
mov edi, dword [esp + 0xb8]
mov edx, dword [esp + 0xc0]
movsd xmm0, qword [edi]
movsd qword [edx + ebx*8], xmm0
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xc8]
mov edx, dword [edx]
mov dword [ecx + ebx*4], edx
mov edx, dword [esp + 0x9c]
cmp edx, 1
jle 0x1013ac7b
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x58], ecx
lea edi, [edx + ecx]
lea ecx, [edi*4 - 4]
mov dword [esp + 0x5c], ecx
push ecx
push dword [esp + 0xc8]
mov dword [esp + 0x68], edx
call fcn.101bcb76
mov edx, dword [esp + 0x68]
add edx, dword [esp + 0x60]
mov dword [esp + 0xcc], eax
lea edx, [edx*8 - 8]
push edx
push dword [esp + 0xcc]
call fcn.101bcb76
mov dword [esp + 0xd0], eax
push dword [esp + 0x6c]
push dword [esp + 0xdc]
call fcn.101bcb76
add esp, 0x18
mov dword [esp + 0xc8], eax
mov eax, 1
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov edi, dword [edi + eax*4]
lea edx, [edx + ecx*4]
mov dword [edx + eax*4 - 4], edi
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
movsd xmm0, qword [ecx + eax*8]
mov edi, dword [esp + 0xc0]
lea edi, [edi + edx*8]
movsd qword [edi + eax*8 - 8], xmm0
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [edx + eax*4]
lea ecx, [ecx + edi*4]
mov dword [ecx + eax*4 - 4], edx
mov edx, dword [esp + 0x9c]
inc eax
cmp eax, edx
jl 0x1013ac0e
mov ecx, dword [esp + 0xbc]
lea edi, [edx + ecx - 1]
mov dword [esp + 0xbc], edi
test edx, edx
jle 0x1013ad19
push dword [esp + 0x8c]
call fcn.101bceaa
push dword [esp + 0x9c]
call fcn.101bceaa
push dword [esp + 0xc0]
call fcn.101bceaa
add esp, 0xc
jmp 0x1013ad19
mov edi, dword [esp + 0xc4]
push dword [edi + ebx*4]
call fcn.101bceaa
pop ecx
mov edx, dword [esp + 0xbc]
mov ecx, dword [edi + edx*4 - 4]
mov dword [edi + ebx*4], ecx
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
movsd xmm0, qword [edx + edi*8 - 8]
movsd qword [edx + ebx*8], xmm0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xbc]
mov edx, dword [ecx + edx*4 - 4]
mov dword [ecx + ebx*4], edx
mov edi, dword [esp + 0xbc]
dec edi
mov dword [esp + 0xbc], edi
inc ebx
cmp ebx, edi
jl 0x1013a9cd
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
xor edx, edx
cmp dword [ebp + 0x50], 0
je 0x1013ae6c
test edi, edi
jle 0x1013b1e9
mov dword [esp + 0x78], ebx
mov eax, edx
mov dword [esp + 0x7c], esi
mov esi, dword [ebp + 0x74]
mov ebx, eax
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
movsd xmm0, qword [ebp + 0x54]
movsd xmm1, qword [ebp + 0x5c]
mov ecx, dword [edx + ebx*4]
mov edx, dword [edi + ebx*4]
movsd xmm2, qword [0x101f2860]
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x4c], xmm2
mov dword [esp], ecx
mov dword [esp + 0x48], 4
mov dword [esp + 8], edx
xor ecx, ecx
mov dword [esp + 0x54], 7
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xb0]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0xb4]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x64]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x68]
mov dword [esp + 0x44], edx
call fcn.100b6020
mov edi, dword [esp + 0xc4]
push dword [edi + ebx*4]
call fcn.101bceaa
mov edx, dword [esp + 0xb4]
mov dword [edi + ebx*4], edx
mov edi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xb8]
mov dword [edi + ebx*4], ecx
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc4]
lea edx, [edx + ebx*8]
push edx
push dword [ecx + ebx*4]
push dword [edi + ebx*4]
call fcn.100b0a90
add esp, 0x10
test esi, esi
je 0x1013ae52
movsd xmm0, qword [esp + 0x90]
addsd xmm0, qword [esi]
movsd qword [esi], xmm0
mov edi, dword [esp + 0xbc]
inc ebx
cmp ebx, edi
jl 0x1013ad4d
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
xor edx, edx
test edi, edi
jne 0x1013ae95
mov ecx, dword [ebp + 0x30]
mov edi, dword [ecx]
push dword [edi + ebx*4]
call fcn.101bceaa
xor edx, edx
add esp, 4
mov ecx, dword [ebp + 0x30]
mov edi, dword [ecx]
mov dword [edi + ebx*4], 0
mov edi, dword [esp + 0xbc]
test edi, edi
jle 0x1013afe2
mov ecx, dword [ebp + 0x30]
mov edi, dword [ecx]
push dword [edi + ebx*4]
call fcn.101bceaa
xor edx, edx
add esp, 4
mov edi, dword [esp + 0xc4]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [edi]
mov dword [eax + ebx*4], ecx
mov edi, dword [esp + 0xc0]
mov ecx, dword [ebp + 0x38]
mov ecx, dword [ecx]
movsd xmm0, qword [edi]
movsd qword [ecx + ebx*8], xmm0
mov ecx, dword [ebp + 0x34]
mov edi, dword [esp + 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edi]
mov dword [eax + ebx*4], ecx
mov edi, dword [esp + 0xbc]
cmp edi, 1
jle 0x1013afe2
mov ecx, dword [ebp + 0x3c]
add edi, dword [ecx]
mov ecx, dword [ebp + 0x30]
lea edi, [edi*4 - 4]
push edi
push dword [ecx]
call fcn.101bcb76
xor edx, edx
mov ecx, dword [ebp + 0x30]
mov edi, dword [ebp + 0x3c]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc4]
add ecx, dword [edi]
lea ecx, [ecx*8 - 8]
push ecx
mov ecx, dword [ebp + 0x38]
push dword [ecx]
call fcn.101bcb76
xor edx, edx
mov ecx, dword [ebp + 0x38]
mov edi, dword [ebp + 0x3c]
mov dword [ecx], eax
mov ecx, dword [esp + 0xcc]
add ecx, dword [edi]
lea ecx, [ecx*4 - 4]
push ecx
mov ecx, dword [ebp + 0x34]
push dword [ecx]
call fcn.101bcb76
xor edx, edx
add esp, 0x18
mov ecx, dword [ebp + 0x34]
mov dword [ecx], eax
mov edi, dword [esp + 0xbc]
cmp edi, 1
jle 0x1013afd7
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x7c], esi
mov ecx, 1
mov esi, dword [esp + 0xc4]
mov ebx, dword [edx]
mov edi, dword [eax]
mov esi, dword [esi + ecx*4]
lea edi, [edi + ebx*4]
mov dword [edi + ecx*4 - 4], esi
mov edi, dword [esp + 0xc0]
mov esi, dword [ebp + 0x38]
mov ebx, dword [edx]
mov esi, dword [esi]
movsd xmm0, qword [edi + ecx*8]
mov edi, dword [ebp + 0x34]
lea ebx, [esi + ebx*8]
movsd qword [ebx + ecx*8 - 8], xmm0
mov esi, dword [edx]
mov ebx, dword [esp + 0xc8]
mov edi, dword [edi]
mov ebx, dword [ebx + ecx*4]
lea esi, [edi + esi*4]
mov dword [esi + ecx*4 - 4], ebx
mov edi, dword [esp + 0xbc]
inc ecx
cmp ecx, edi
jl 0x1013af7c
mov esi, dword [esp + 0x7c]
xor edx, edx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
lea edi, [ecx + edi - 1]
mov dword [eax], edi
cmp dword [esp + 0x88], 0
jle 0x1013b019
push dword [esp + 0xc4]
call fcn.101bceaa
push dword [esp + 0xcc]
xor edx, edx
call fcn.101bceaa
push dword [esp + 0xc8]
xor edx, edx
call fcn.101bceaa
xor edx, edx
add esp, 0xc
mov edi, 1
jmp 0x1013b02b
mov dword [esp + 0x84], 9
cmp dword [ebp + 0x6c], 0
jne 0x1013b03f
inc esi
cmp esi, dword [esp + 0xa0]
jl 0x1013a62e
mov esi, dword [esp + 0xa0]
mov ebx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x30]
mov eax, dword [ebx]
mov dword [esp + 0x58], edi
xor ecx, ecx
cmp ecx, eax
jge 0x1013b08d
mov edi, dword [edx]
cmp dword [edi + ecx*4], 0
jne 0x1013b08d
mov eax, dword [edi + eax*4 - 4]
mov dword [edi + ecx*4], eax
mov edi, dword [ebp + 0x34]
mov eax, dword [edi]
mov edi, dword [ebx]
mov edi, dword [eax + edi*4 - 4]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebx]
movsd xmm0, qword [edi + eax*8 - 8]
movsd qword [edi + ecx*8], xmm0
mov eax, dword [ebx]
dec ecx
dec eax
mov dword [ebx], eax
inc ecx
cmp ecx, esi
jl 0x1013b054
mov edi, dword [esp + 0x58]
mov esi, dword [ebp + 0x2c]
test esi, esi
jle 0x1013b1b4
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebx]
shl eax, 2
lea edx, [eax + esi*4]
push edx
push dword [ecx]
call fcn.101bcb76
mov edx, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x38]
mov dword [edx], eax
mov eax, dword [ebx]
add eax, esi
shl eax, 3
push eax
push dword [ecx]
call fcn.101bcb76
mov edx, dword [ebp + 0x38]
mov dword [edx], eax
mov eax, dword [ebx]
shl eax, 2
lea ecx, [eax + esi*4]
mov eax, dword [ebp + 0x34]
push ecx
push dword [eax]
call fcn.101bcb76
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x58], edi
mov dword [ecx], edx
xor edx, edx
pxor xmm0, xmm0
mov edi, eax
mov esi, edx
test edi, edi
je 0x1013b115
movsd xmm1, qword [edi + esi*8]
comisd xmm0, xmm1
jae 0x1013b115
movsd qword [esp + 0x60], xmm1
jmp 0x1013b138
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [ebp + 0x28]
push dword [ecx + esi*4]
mov ecx, dword [ebp + 0x1c]
push dword [ecx + esi*4]
call fcn.100b0a90
add esp, 0xc
pxor xmm0, xmm0
movsd xmm1, qword [esp + 0x60]
comisd xmm1, xmmword [ebp + 0x40]
jb 0x1013b1a6
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx + esi*4]
shl ecx, 4
push ecx
call fcn.101bcde0
pxor xmm0, xmm0
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebx]
mov edi, dword [ecx]
mov dword [edi + edx*4], eax
mov edx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x28]
mov edi, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x1c]
shl edi, 4
push edi
push dword [ecx + esi*4]
push dword [eax + edx*4]
mov edi, dword [ebp + 0x20]
call fcn.101d7590
add esp, 0x10
pxor xmm0, xmm0
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebx]
mov edx, dword [eax]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + esi*4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp + 0x38]
movsd xmm1, qword [esp + 0x60]
mov eax, dword [ebx]
mov ecx, dword [ecx]
movsd qword [ecx + eax*8], xmm1
inc dword [ebx]
inc esi
cmp esi, dword [ebp + 0x2c]
jl 0x1013b0fe
mov edi, dword [esp + 0x58]
push dword [esp + 0xac]
mov eax, dword [ebp + 0x70]
mov dword [eax], edi
call fcn.101bceaa
pop ecx
mov eax, dword [esp + 0x84]
add esp, 0xf4
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
je 0x1013acbe
jmp 0x1013ac7b
cmp dword [ebp + 0x50], 0
test edi, edi
je 0x1013ae70
jmp 0x1013afe2
movsd xmm0, qword [ebp + 0x48]
pxor xmm1, xmm1
comisd xmm0, xmm1
jae 0x1013b1e5
cmp dword [ebp + 0x50], 0
jne 0x1013b1e9
test edi, edi
je 0x1013ae70
jmp 0x1013afe2
lea eax, [esp + 0x68]
push eax
push dword [ebp + 0x18]
push dword [ebp + 8]
call fcn.100af900
add esp, 0xc
jmp 0x1013a5f0