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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x84]
push esi
push edi
push 0x80
push 0
push eax
mov dword [ebp - 0xa8], ebx
call fcn.1002ae80
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x40]
mov dword [ebx + 4], eax
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x20]
mov dword [ebx + 8], eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x60], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x70], ecx
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x68], ecx
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x58], ecx
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x64], ecx
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x5c], eax
push 0
mov dword [ebx + 0x74], ecx
call fcn.10070c30
push 0
mov dword [ebp - 0x90], eax
call fcn.10070cc0
mov esi, eax
mov dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0x80]
mov dword [ebp - 0x88], esi
sub eax, ebx
lea edi, [ebp - 0x84]
add esp, 0x14
mov dword [ebp - 0x94], eax
sub edi, ebx
mov dword [ebp - 0xa4], edi
mov edx, dword [eax + ebx]
lea ebx, [ebx + 8]
mov ecx, dword [ebx - 4]
mov eax, edx
imul edx, dword [ebp - 0x90]
imul eax, esi
mov esi, ecx
imul esi, dword [ebp - 0x90]
imul ecx, dword [ebp - 0x88]
add edx, 0x2000
sub esi, eax
mov eax, dword [ebx - 8]
add esi, 0x2000
add ecx, edx
mov edx, dword [ebp - 0x94]
sar esi, 0xe
sub eax, esi
sar ecx, 0xe
mov dword [ebx - 4], eax
mov eax, dword [edi + ebx - 8]
add dword [ebx - 8], esi
sub eax, ecx
mov esi, dword [ebp - 0x88]
mov dword [edx + ebx - 8], eax
mov eax, edx
add dword [edi + ebx - 8], ecx
sub dword [ebp - 0x8c], 1
jne 0x1006f154
mov ebx, dword [ebp - 0xa8]
xor edi, edi
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
nop word [eax + eax]
mov esi, dword [ebp - 0x88]
push esi
call fcn.10070c30
push esi
mov dword [ebp - 0x94], eax
call fcn.10070cc0
add byte [ebp - 0x88], 0x40
add esp, 8
mov esi, eax
mov dword [ebp - 0xa0], esi
cmp edi, 0x20
jge 0x1006f2b7
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x7c]
mov eax, 0x1f
sub ecx, ebx
sub eax, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0xa4]
shr eax, 2
inc eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], eax
nop
mov ecx, dword [ecx + edi]
lea edi, [edi + 0x10]
mov edx, dword [edi - 8]
mov eax, ecx
imul ecx, dword [ebp - 0x94]
imul eax, esi
mov esi, edx
imul esi, dword [ebp - 0x94]
imul edx, dword [ebp - 0xa0]
sub esi, eax
mov eax, dword [edi - 0x10]
add esi, 0x2000
add edx, 0x2000
sar esi, 0xe
add ecx, edx
mov edx, dword [ebp - 0x98]
sub eax, esi
mov dword [edi - 8], eax
mov eax, dword [edi + ebx - 0x10]
add dword [edi - 0x10], esi
mov esi, dword [ebp - 0xa0]
sar ecx, 0xe
sub eax, ecx
mov dword [edx + edi - 0x10], eax
add dword [edi + ebx - 0x10], ecx
mov ecx, edx
sub dword [ebp - 0x9c], 1
jne 0x1006f240
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x8c]
add dword [ebp - 0x90], 4
inc edi
mov dword [ebp - 0x8c], edi
cmp edi, 2
jl 0x1006f1e0
xor edi, edi
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], ebx
mov esi, dword [ebp - 0x88]
push esi
call fcn.10070c30
push esi
mov dword [ebp - 0x98], eax
call fcn.10070cc0
add byte [ebp - 0x88], 0x20
add esp, 8
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp edi, 0x20
jge 0x1006f3b9
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov eax, 0x1f
sub ecx, ebx
sub eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xa4]
shr eax, 3
inc eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ecx + edi]
lea edi, [edi + 0x20]
mov edx, dword [edi - 0x10]
mov eax, ecx
imul ecx, dword [ebp - 0x98]
imul eax, esi
mov esi, edx
imul esi, dword [ebp - 0x98]
imul edx, dword [ebp - 0x9c]
sub esi, eax
mov eax, dword [edi - 0x20]
add esi, 0x2000
add edx, 0x2000
sar esi, 0xe
add ecx, edx
mov edx, dword [ebp - 0x94]
sub eax, esi
mov dword [edi - 0x10], eax
mov eax, dword [edi + ebx - 0x20]
add dword [edi - 0x20], esi
mov esi, dword [ebp - 0x9c]
sar ecx, 0xe
sub eax, ecx
mov dword [edx + edi - 0x20], eax
add dword [edi + ebx - 0x20], ecx
mov ecx, edx
sub dword [ebp - 0xa0], 1
jne 0x1006f342
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x90]
add dword [ebp - 0x8c], 4
inc edi
mov dword [ebp - 0x90], edi
cmp edi, 4
jl 0x1006f2e3
xor edi, edi
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], ebx
nop word [eax + eax]
mov esi, dword [ebp - 0x88]
push esi
call fcn.10070c30
push esi
mov dword [ebp - 0x98], eax
call fcn.10070cc0
add byte [ebp - 0x88], 0x10
add esp, 8
mov esi, eax
mov dword [ebp - 0x9c], esi
cmp edi, 0x20
jge 0x1006f4c7
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x64]
mov eax, 0x1f
sub ecx, ebx
sub eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xa4]
shr eax, 4
inc eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa0], eax
nop
mov ecx, dword [ecx + edi]
lea edi, [edi + 0x40]
mov edx, dword [edi - 0x20]
mov eax, ecx
imul ecx, dword [ebp - 0x98]
imul eax, esi
mov esi, edx
imul esi, dword [ebp - 0x98]
imul edx, dword [ebp - 0x9c]
sub esi, eax
mov eax, dword [edi - 0x40]
add esi, 0x2000
add edx, 0x2000
sar esi, 0xe
add ecx, edx
mov edx, dword [ebp - 0x94]
sub eax, esi
mov dword [edi - 0x20], eax
mov eax, dword [ebx + edi - 0x40]
add dword [edi - 0x40], esi
mov esi, dword [ebp - 0x9c]
sar ecx, 0xe
sub eax, ecx
mov dword [edx + edi - 0x40], eax
add dword [ebx + edi - 0x40], ecx
mov ecx, edx
sub dword [ebp - 0xa0], 1
jne 0x1006f450
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x90]
add dword [ebp - 0x8c], 4
inc edi
mov dword [ebp - 0x90], edi
cmp edi, 8
jl 0x1006f3f0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], ebx
nop word [eax + eax]
mov esi, dword [ebp - 0x88]
push esi
call fcn.10070c30
push esi
mov dword [ebp - 0x98], eax
call fcn.10070cc0
add byte [ebp - 0x88], 8
add esp, 8
mov esi, dword [ebp - 0x90]
mov edi, eax
mov dword [ebp - 0x9c], edi
cmp esi, 0x20
jge 0x1006f5db
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x44]
mov eax, 0x1f
sub edx, ebx
mov ebx, dword [ebp - 0xa4]
sub eax, esi
shr eax, 5
inc eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0xa0], eax
mov edx, dword [edx + ecx]
lea ecx, [ecx + 0x80]
mov esi, dword [ecx - 0x40]
mov eax, edx
imul edx, dword [ebp - 0x98]
imul eax, edi
mov edi, esi
imul edi, dword [ebp - 0x98]
imul esi, dword [ebp - 0x9c]
sub edi, eax
mov eax, dword [ecx - 0x80]
add edi, 0x2000
add esi, 0x2000
sar edi, 0xe
add edx, esi
mov esi, dword [ebp - 0x94]
sub eax, edi
mov dword [ecx - 0x40], eax
mov eax, dword [ebx + ecx - 0x80]
add dword [ecx - 0x80], edi
mov edi, dword [ebp - 0x9c]
sar edx, 0xe
sub eax, edx
mov dword [esi + ecx - 0x80], eax
add dword [ebx + ecx - 0x80], edx
mov edx, esi
sub dword [ebp - 0xa0], 1
jne 0x1006f561
mov ebx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x90]
add dword [ebp - 0x8c], 4
inc esi
mov dword [ebp - 0x90], esi
cmp esi, 0x10
jl 0x1006f500
cmp dword [0x1018d1e8], 2
jl 0x1006f654
lea ecx, [ebp - 8]
lea eax, [ebx + 0x7c]
cmp ebx, ecx
ja 0x1006f60f
lea ecx, [ebp - 0x84]
cmp eax, ecx
jae 0x1006f654
mov edi, dword [ebp - 0xa4]
mov eax, 8
nop word [eax + eax]
lea ebx, [ebx + 0x10]
movups xmm1, xmmword [ebx - 0x10]
movups xmm0, xmmword [ebx + edi - 0x10]
pmulld xmm1, xmm1
pmulld xmm0, xmm0
paddd xmm0, xmm1
movups xmmword [ebx - 0x10], xmm0
sub eax, 1
jne 0x1006f620
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029ae5
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xa4]
mov edx, 0x20
nop
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
mov eax, dword [ebx + edi - 4]
imul eax, eax
imul ecx, ecx
add eax, ecx
mov dword [ebx - 4], eax
sub edx, 1
jne 0x1006f660
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029ae5
mov esp, ebp
pop ebp
ret