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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x1018f074]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
mov ebp, dword [esp + 0xec]
mov eax, ebp
push esi
mov esi, dword [esp + 0xf4]
push edi
mov edi, dword [esp + 0xf0]
shl eax, 0x10
mov dword [esp + 0x20], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], eax
test edi, edi
je 0x100b75a4
test esi, esi
je 0x100b75a4
lea eax, [ebp - 2]
cmp eax, 0x1e
ja 0x100b75a4
mov ebx, dword [edi]
mov dword [esp + 0x6c], ebx
test ebx, ebx
je 0x100b75a4
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi]
imul eax, dword [esi + 4]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push ebx
call fcn.1005f860
add esp, 0xc
mov ecx, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x40], ecx
jne 0x100b75ac
mov edx, dword [edi + 4]
mov edi, dword [esi + 4]
mov eax, dword [esi]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
test edi, edi
je 0x100b759a
test eax, eax
je 0x100b759a
test edx, edx
je 0x100b7369
movq xmm1, qword [0x1011d9d8]
nop
mov esi, dword [edx + 8]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x100b734a
nop
movups xmm0, xmmword [esi]
xor ecx, ecx
mov byte [esp + 0x13], 0
xor ebx, ebx
mov dword [esp + 0x24], 0
movups xmmword [esp + 0x90], xmm0
xor ebp, ebp
xor edi, edi
movups xmm0, xmmword [esi + 0x10]
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
movups xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0xb0], xmm0
mov eax, dword [esp + 0xb0]
sub eax, 1
je 0x100b6e80
sub eax, 1
je 0x100b6e20
sub eax, 1
jne 0x100b6ef4
mov ecx, dword [esp + 0xac]
mov al, 1
mov ebp, dword [esp + 0xa8]
mov byte [esp + 0x13], al
mov dword [esp + 0x24], ecx
jmp 0x100b6e24
mov al, cl
mov ebp, ecx
mov ebx, ecx
mov ecx, ebp
test al, al
je 0x100b6e62
mov eax, dword [esp + 0xa0]
mov edx, ecx
cmp eax, ebp
mov edi, ebx
cmovl edx, eax
cmp eax, ecx
mov dword [esp + 0x1c], edx
cmovg ecx, eax
mov eax, dword [esp + 0xa4]
cmp eax, dword [esp + 0x24]
cmovl edi, eax
cmp eax, ebx
mov dword [esp + 0x18], edi
cmovg ebx, eax
mov al, byte [esp + 0x13]
jmp 0x100b6e86
mov edx, dword [esp + 0xa0]
mov al, 1
mov edi, dword [esp + 0xa4]
mov ecx, edx
mov dword [esp + 0x1c], edx
mov ebx, edi
mov dword [esp + 0x18], edi
jmp 0x100b6e86
xor edx, edx
mov al, cl
xor edi, edi
mov dword [esp + 0x14], ecx
mov ebp, ebx
test al, al
je 0x100b6ebe
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x1c]
cmovl edx, eax
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmovl edi, eax
cmp eax, ebx
mov ebx, ecx
cmovg ebp, eax
jmp 0x100b6ed0
mov edx, dword [esp + 0x90]
mov ebx, edx
mov edi, dword [esp + 0x94]
mov ebp, edi
mov ecx, dword [esp + 0x9c]
cmp ecx, ebp
mov eax, dword [esp + 0x98]
cmovg ebp, ecx
cmp eax, ebx
cmovg ebx, eax
cmp ecx, edi
cmovl edi, ecx
cmp eax, edx
cmovl edx, eax
jmp 0x100b6ef6
mov ebx, ecx
mov ecx, dword [esp + 0xf4]
lea eax, [edx - 0x3f]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
sub eax, ecx
mov dword [esp + 0x68], eax
lea eax, [ebx + 0x3f]
cdq
and edx, 0x3f
lea ebx, [edx + eax]
lea eax, [edi - 0x3f]
sar ebx, 6
cdq
add ebx, ecx
and edx, 0x3f
mov dword [esp + 0x64], ebx
add edx, eax
sar edx, 6
sub edx, ecx
lea ecx, [ebp + 0x3f]
mov dword [esp + 0x1c], edx
mov ecx, ecx
test ecx, ecx
jns 0x100b6f40
add ecx, 0x3f
sar ecx, 6
mov eax, dword [esp + 0xf4]
add eax, ecx
mov dword [esp + 0x44], eax
cmp edx, eax
jge 0x100b7337
mov eax, dword [esp + 0x68]
mov esi, edx
mov ecx, dword [esp + 0x44]
shl esi, 6
add esi, 0x20
mov dword [esp + 0x14], esi
nop dword [eax]
mov ebp, eax
mov dword [esp + 0x60], ebp
cmp eax, ebx
jge 0x100b731f
mov ebx, eax
mov eax, dword [0x1011d994]
shl ebx, 6
add ebx, 0x20
mov dword [esp + 0x18], ebx
nop
mov ecx, dword [0x1011d990]
movq xmm0, xmm1
mov dword [esp + 0x88], ecx
mov ecx, dword [0x1011d9e0]
movq qword [esp + 0xb8], xmm0
mov dword [esp + 0xc0], ecx
test ebp, ebp
js 0x100b72f9
cmp ebp, dword [esp + 0x34]
jge 0x100b72f9
cmp esi, 0x20
jl 0x100b72f9
cmp edx, dword [esp + 0x38]
jge 0x100b72f9
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x88], edi
mov eax, dword [ecx + 0x20]
sub eax, 1
je 0x100b704a
sub eax, 1
je 0x100b702b
sub eax, 1
je 0x100b700c
mov esi, dword [esp + 0xb8]
mov edi, 6
jmp 0x100b728e
lea eax, [esp + 0xb8]
push eax
push esi
push ebx
push ecx
call fcn.100b6580
mov esi, dword [esp + 0xc8]
add esp, 0x10
jmp 0x100b7279
lea eax, [esp + 0xb8]
push eax
push esi
push ebx
push ecx
call fcn.100b60c0
mov esi, dword [esp + 0xc8]
add esp, 0x10
jmp 0x100b7279
mov ebp, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov ebx, dword [ecx]
sub esi, ebp
mov edi, dword [ecx + 8]
mov eax, esi
imul eax, esi
sub edi, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
cdq
and edx, 0x3f
lea ecx, [edx + eax]
mov eax, edi
imul eax, edi
sar ecx, 6
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add ecx, eax
mov eax, dword [esp + 0x14]
sub eax, ebp
imul eax, esi
mov esi, dword [esp + 0x18]
push ecx
cdq
and edx, 0x3f
lea ecx, [edx + eax]
mov eax, esi
sub eax, ebx
sar ecx, 6
imul eax, edi
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add ecx, eax
push ecx
call fcn.10059750
mov edi, eax
mov dword [esp + 0x64], esi
add esp, 8
mov dword [esp + 0x24], edi
cmp edi, 0x10000
jle 0x100b70d2
mov edi, 0x10000
mov dword [esp + 0x5c], esi
mov dword [esp + 0x24], edi
test edi, edi
jns 0x100b70dc
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x48]
shl eax, 0xa
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x70]
shl eax, 0xa
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x74], eax
sub ebx, dword [esp + 0x5c]
sub ebp, dword [esp + 0x14]
shl ebx, 0xa
shl ebp, 0xa
add ebx, esi
add ebp, dword [esp + 0x74]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x78], eax
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x7c], eax
sub esi, dword [esp + 0x7c]
sets al
lea eax, [eax*2 - 1]
mov byte [esp + 0xc0], al
lea eax, [esp + 0x54]
push eax
call fcn.1005e000
add esp, 4
mov esi, eax
mov dword [esp + 0xb8], esi
test edi, edi
je 0x100b71ec
cmp edi, 0x10000
je 0x100b71ec
mov edi, 0x10000
jmp 0x100b7263
lea eax, [esp + 0x48]
push eax
call fcn.1005e080
lea eax, [esp + 0x58]
push eax
call fcn.1005e080
add esp, 8
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x84], eax
sub edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0x88]
movq xmm0, qword [esp + 0xb8]
movq xmm1, qword [0x1011d9d8]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x100b75ac
cmp dword [esp + 0xe4], 1
jne 0x100b72ab
neg byte [esp + 0xc0]
cmp esi, dword [esp + 0x30]
jg 0x100b72f0
cmp byte [esp + 0xe9], 0
je 0x100b72bf
mov eax, edx
jmp 0x100b72c6
mov eax, dword [esp + 0x38]
sub eax, edx
dec eax
imul eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
add eax, ebp
lea eax, [eax + eax*2]
cmp byte [ecx + eax*4 + 8], 0
lea edi, [ecx + eax*4]
jne 0x100b73d6
mov eax, dword [esp + 0xc0]
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov esi, dword [esp + 0x14]
mov eax, dword [0x1011d994]
mov edx, dword [esp + 0x1c]
inc ebp
add ebx, 0x40
mov dword [esp + 0x60], ebp
mov dword [esp + 0x18], ebx
cmp ebp, dword [esp + 0x64]
jl 0x100b6f90
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
inc edx
add esi, 0x40
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
cmp edx, ecx
jl 0x100b6f70
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x24]
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x100b6da0
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], edx
test edx, edx
jne 0x100b6d90
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
test eax, eax
jle 0x100b75ac
lea eax, [edi + edi*2]
shl eax, 2
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
nop dword [eax]
or bl, 0xff
test ecx, ecx
je 0x100b73a1
setns bl
lea ebx, [ebx*2 - 1]
test edi, edi
jle 0x100b7581
cmp byte [esp + 0xe8], 0
mov esi, eax
je 0x100b74e7
mov dword [esp + 0x28], edi
nop dword [eax]
mov al, byte [esi + 8]
mov edx, dword [esp + 0x30]
test al, al
jne 0x100b7471
mov dword [esi], edx
jmp 0x100b7473
mov ecx, dword [edi]
mov eax, ecx
sub eax, esi
jns 0x100b73e2
mov eax, esi
sub eax, ecx
cmp eax, 0x20
jg 0x100b7452
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd8], eax
mov eax, dword [edi + 8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
cdq
mov esi, eax
movq qword [esp + 0xd0], xmm0
movq xmm0, qword [edi]
xor esi, edx
movq qword [esp + 0xc4], xmm0
sub esi, edx
mov eax, dword [esp + 0xc8]
cdq
xor eax, edx
sub eax, edx
lea edx, [esp + 0xc4]
cmp eax, esi
cmovg ecx, edx
movq xmm0, qword [ecx]
mov eax, dword [ecx + 8]
movq qword [edi], xmm0
jmp 0x100b72ed
cmp ecx, esi
mov esi, dword [esp + 0x14]
jle 0x100b72f4
mov eax, dword [esp + 0xc0]
movq qword [edi], xmm0
mov dword [edi + 8], eax
jmp 0x100b72f4
mov bl, al
mov ecx, dword [esi]
cmp ecx, edx
movsx eax, bl
cmovg ecx, edx
imul eax, ecx
push edx
neg eax
push eax
mov dword [esi], eax
call fcn.10059750
mov edi, eax
add esp, 8
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
sar ecx, 9
test edi, edi
jle 0x100b74ab
cmp ecx, 0x7f
mov eax, 0x7f
cmovg ecx, eax
test edi, edi
jns 0x100b74bb
cmp ecx, 0x80
mov eax, 0x80
cmovg ecx, eax
mov al, 0x80
lea edx, [ecx + 0x80]
sub al, cl
test edi, edi
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
add esi, 0xc
mov byte [ebp], cl
inc ebp
sub dword [esp + 0x28], 1
jne 0x100b73c0
jmp 0x100b756a
mov dword [esp + 0x28], edi
nop dword [eax + eax]
mov al, byte [esi + 8]
mov edx, dword [esp + 0x30]
test al, al
jne 0x100b74ff
mov dword [esi], edx
jmp 0x100b7501
mov bl, al
mov ecx, dword [esi]
cmp ecx, edx
movsx eax, bl
cmovg ecx, edx
imul eax, ecx
push edx
push eax
mov dword [esi], eax
call fcn.10059750
mov edi, eax
add esp, 8
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
sar ecx, 9
test edi, edi
jle 0x100b7537
cmp ecx, 0x7f
mov eax, 0x7f
cmovg ecx, eax
test edi, edi
jns 0x100b7547
cmp ecx, 0x80
mov eax, 0x80
cmovg ecx, eax
mov al, 0x80
lea edx, [ecx + 0x80]
sub al, cl
test edi, edi
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
add esi, 0xc
mov byte [ebp], cl
inc ebp
sub dword [esp + 0x28], 1
jne 0x100b74f0
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x18]
add ebp, edi
add eax, edx
sub dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], eax
jne 0x100b7390
jmp 0x100b75ac
mov dword [esp + 0x20], 0x13
jmp 0x100b75ac
mov dword [esp + 0x20], 6
push dword [esp + 0x40]
push dword [esp + 0x70]
call fcn.1005f8c0
mov ecx, dword [esp + 0xe4]
add esp, 8
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d0b93
add esp, 0xd0
ret