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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ecx, dword [eax + 4]
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, dword [eax + 0xc]
mov ebp, edi
imul ebp, edi
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
test edi, edi
jle 0x10120864
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x8c]
dec ecx
cmp dword [eax + 0x18], 0
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], ecx
je 0x101207ce
dec eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov eax, esi
mov dword [esp + 0x18], eax
nop dword [eax]
test ebx, ebx
jns 0x10120758
xor edx, edx
jmp 0x1012075f
cmp ebx, ecx
mov edx, ebx
cmovg edx, ecx
imul edx, dword [esp + 0x84]
mov esi, eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
jns 0x10120778
xor eax, eax
jmp 0x10120783
cmp ecx, dword [esp + 0x14]
mov eax, ecx
cmovg eax, dword [esp + 0x14]
add eax, edx
inc ecx
movzx eax, word [ebp + eax*2]
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [eax + 0x10]
movsd qword [esi], xmm0
add esi, 8
sub edi, 1
jne 0x10120770
mov edi, dword [esp + 0x2c]
inc ebx
mov eax, dword [esp + 0x18]
lea ecx, [edi*8]
add eax, ecx
sub dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jne 0x10120750
jmp 0x10120858
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov eax, esi
mov dword [esp + 0x18], eax
nop dword [eax]
test ebx, ebx
jns 0x101207e8
xor edx, edx
jmp 0x101207ef
cmp ebx, ecx
mov edx, ebx
cmovg edx, ecx
imul edx, dword [esp + 0x84]
mov esi, eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
jns 0x10120808
xor eax, eax
jmp 0x10120813
cmp ecx, dword [esp + 0x1c]
mov eax, ecx
cmovg eax, dword [esp + 0x1c]
add eax, edx
inc ecx
movzx eax, byte [eax + ebp]
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [eax + 0x10]
movsd qword [esi], xmm0
add esi, 8
sub edi, 1
jne 0x10120800
mov edi, dword [esp + 0x2c]
inc ebx
mov eax, dword [esp + 0x18]
lea ecx, [edi*8]
add eax, ecx
sub dword [esp + 0x14], 1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jne 0x101207e0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push 3
push ebp
push 1
push eax
push edi
push esi
call fcn.10124140
push 1
push 3
push 3
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x64]
call fcn.10124140
push 1
push 3
push ebp
push ebx
lea eax, [esp + 0x94]
push eax
push edi
call fcn.10124140
add esp, 0x48
xor ecx, ecx
test ebp, ebp
jle 0x101209e8
cmp ebp, 8
jb 0x1012094e
lea eax, [ebp - 1]
lea eax, [ebx + eax*8]
lea edx, [ebp - 1]
lea edx, [esi + edx*8]
cmp esi, eax
ja 0x101208d0
cmp edx, ebx
jae 0x1012094e
mov eax, ebp
and eax, 0x80000007
jns 0x101208de
dec eax
or eax, 0xfffffff8
inc eax
mov esi, ebp
lea edx, [ebx + 0x30]
sub esi, eax
mov edi, ebx
mov eax, dword [esp + 0x10]
add eax, 0x10
sub edi, dword [esp + 0x10]
movups xmm0, xmmword [edx - 0x30]
add ecx, 8
movups xmm1, xmmword [eax - 0x10]
mov ebx, ecx
subpd xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
movups xmm0, xmmword [edi + eax]
movups xmm1, xmmword [eax]
subpd xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx - 0x10]
movups xmm1, xmmword [eax + 0x10]
subpd xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
movups xmm0, xmmword [edx]
add edx, 0x40
subpd xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
add eax, 0x40
cmp ecx, esi
jl 0x101208f2
cmp ebx, ebp
jge 0x101209e8
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, ebp
sub eax, ecx
cmp eax, 4
jl 0x101209c4
lea eax, [ecx + 1]
mov edi, ebx
lea eax, [esi + eax*8]
sub edi, esi
mov esi, ebp
lea edx, [ecx + 3]
sub esi, ecx
lea edx, [ebx + edx*8]
sub esi, 4
shr esi, 2
inc esi
lea ecx, [ecx + esi*4]
nop word [eax + eax]
movsd xmm0, qword [eax - 8]
subsd xmm0, qword [edx - 0x18]
movsd qword [eax - 8], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [edi + eax]
movsd qword [eax], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [edx - 8]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [edx]
add edx, 0x20
movsd qword [eax + 0x10], xmm0
add eax, 0x20
sub esi, 1
jne 0x10120980
cmp ecx, ebp
jge 0x101209e8
mov edx, dword [esp + 0x10]
sub ebx, edx
sub ebp, ecx
lea eax, [edx + ecx*8]
movsd xmm0, qword [eax]
subsd xmm0, qword [ebx + eax]
movsd qword [eax], xmm0
add eax, 8
sub ebp, 1
jne 0x101209d3
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x60
ret