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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10320c34]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x10327040]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10327e50]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
cmp eax, dword [edi + 4]
mov edi, dword [0x1026336c]
jg 0x1006e4d5
mov eax, dword [0x10327e54]
mov ecx, 0x1006b050
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [0x10327e54], eax
mov eax, dword [0x10327e58]
cmp eax, dword [ecx + 4]
jg 0x1006e519
mov edx, dword [ebp + 0x10]
mov ecx, edx
mov eax, dword [ebp + 0x14]
shr ecx, 0x18
shr eax, 0x18
add ecx, eax
shr ecx, 1
mov dword [esp + 0x6c], ecx
test cl, cl
je 0x1006e4c1
mov eax, dword [esi + 8]
sub eax, dword [esi]
movups xmm0, xmmword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edi, eax
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 0
cmp cl, 0xff
jae 0x1006e1bc
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], ecx
call dword [0x10263108]
push dword [esp + 0x34]
mov edi, eax
push dword [esp + 0x3c]
mov dword [esp + 0x44], edi
push dword [esp + 0x28]
call dword [0x10263104]
push eax
push edi
mov dword [esp + 0x34], eax
call dword [0x10263100]
movaps xmm0, xmmword [esp + 0x40]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [0x10327e5c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1006e2a2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ebp + 0x14]
shl ax, 8
mov word [esp + 0x88], ax
mov eax, edx
and eax, 0xff00
mov dword [esp + 0x40], 0
mov word [esp + 0x8a], ax
movzx eax, dl
mov edx, 0xff00
shl ax, 8
mov word [esp + 0x8c], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl ax, 8
mov word [esp + 0x98], ax
mov eax, ecx
and eax, edx
mov word [esp + 0x8e], dx
mov word [esp + 0x9a], ax
movzx eax, cl
shl ax, 8
mov word [esp + 0x9c], ax
movzx eax, byte [ebp + 0x18]
push eax
push 1
lea eax, [esp + 0x48]
mov word [esp + 0xa6], dx
push eax
push 2
lea eax, [esp + 0x90]
mov dword [esp + 0x54], 1
push eax
push edi
call dword [esp + 0x40]
jmp 0x1006e465
mov eax, dword [ebp + 0x1c]
mov ecx, 1
cmp eax, 0x40
jl 0x1006e2b6
mov ecx, 6
jmp 0x1006e2e5
cmp eax, 0x20
jl 0x1006e2c2
mov ecx, 5
jmp 0x1006e2e5
cmp eax, 0x10
jl 0x1006e2ce
mov ecx, 4
jmp 0x1006e2e5
cmp eax, 8
jl 0x1006e2da
mov ecx, 3
jmp 0x1006e2e5
cmp eax, 4
mov edi, 2
cmovge ecx, edi
mov edi, 1
mov dword [esp + 0x18], ecx
shl edi, cl
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x1006e465
mov eax, dword [ebp + 0x14]
movzx esi, ax
shr esi, 8
mov dword [esp + 0x5c], esi
movzx esi, dx
shr esi, 8
mov dword [esp + 0x60], esi
movzx esi, al
shr eax, 0x10
movzx edi, dl
movzx eax, al
mov dword [esp + 0x64], eax
shr edx, 0x10
movzx eax, dl
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
sub edi, eax
imul eax, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x24], edi
imul edx, esi
add edx, eax
sar edx, cl
movzx esi, dl
mov edx, edi
imul edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
mov eax, edi
imul eax, dword [esp + 0x60]
shl esi, 8
add edx, eax
sar edx, cl
movzx eax, dl
mov edx, dword [esp + 0x24]
or esi, eax
imul edx, dword [esp + 0x64]
mov eax, edi
imul eax, dword [esp + 0x68]
shl esi, 8
add edx, eax
sar edx, cl
movzx eax, dl
or esi, eax
push esi
call dword [0x10263140]
cmp byte [ebp + 0x18], 0
lea ecx, [edi + 1]
movaps xmm0, xmmword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x24], ecx
je 0x1006e3fd
mov edi, dword [eax + 0xc]
mov esi, edi
sub esi, dword [eax + 4]
mov edx, edi
mov ecx, dword [esp + 0x18]
mov eax, esi
imul eax, dword [esp + 0x1c]
imul esi, dword [esp + 0x24]
sar eax, cl
sar esi, cl
sub edx, eax
sub edi, esi
mov dword [esp + 0x7c], edx
mov esi, dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x74], edi
test edx, edx
jle 0x1006e43e
push esi
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x28]
jmp 0x1006e438
mov edi, dword [eax + 8]
mov esi, edi
sub esi, dword [eax]
mov edx, edi
mov eax, esi
imul esi, dword [esp + 0x1c]
imul eax, ecx
mov ecx, dword [esp + 0x18]
sar esi, cl
sub edi, esi
sar eax, cl
mov esi, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x78], edi
sub edi, edx
mov dword [esp + 0x70], edx
test edi, edi
jle 0x1006e43e
push esi
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x44]
call dword [0x102635d0]
push esi
call dword [0x10263110]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
cmp eax, edi
jl 0x1006e343
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
cmp al, 0xff
jae 0x1006e4c1
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x38]
mov word [esp + 0x14], 0
mov byte [esp + 0x17], 1
push dword [esp + 0x14]
push ecx
push eax
push 0
push 0
push edi
push ecx
push eax
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x48]
call dword [0x10327e54]
push dword [esp + 0x54]
push edi
call dword [0x10263100]
push dword [esp + 0x2c]
call dword [0x10263110]
push edi
call dword [0x1026310c]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.102302a7
mov esp, ebp
pop ebp
ret
push 0x10327e50
call fcn.102304d6
add esp, 4
cmp dword [0x10327e50], 0xffffffff
jne 0x1006e0d4
push 0x102f0934
push 0x102e8ae4
call dword [0x10263368]
push eax
call edi
push 0x10327e50
mov dword [0x10327e54], eax
call fcn.1023048c
add esp, 4
jmp 0x1006e0d4
push 0x10327e58
call fcn.102304d6
add esp, 4
cmp dword [0x10327e58], 0xffffffff
jne 0x1006e0fd
push 0x102f09cc
push 0x102e8ae4
call dword [0x10263368]
push eax
call edi
push 0x10327e58
mov dword [0x10327e5c], eax
call fcn.1023048c
add esp, 4
jmp 0x1006e0fd