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

Disassembly:
sub esp, 0xf0
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf8]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x108]
push ebx
push ebp
mov ebp, dword [esp + 0xfc]
push esi
mov esi, dword [esp + 0x108]
mov dword [esp + 0x2c], eax
push edi
lea edi, [eax + 0xe0]
mov dword [esp + 0x6c], ecx
mov eax, dword [edi + 0xfd0]
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0x3ede8]
mov ebx, dword [eax]
movzx eax, byte [esi + 0x106cd5f8]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x106cd610]
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 1
mov dword [esp + 0x58], ebp
mov dword [esp + 0x34], esi
sete al
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x48], ecx
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x40], eax
movups xmmword [esp + 0xe4], xmm0
movq qword [esp + 0xf4], xmm0
jne 0x100ffc84
mov eax, dword [ebp + 0x3e7a8]
mov byte [esp + 0x13], 1
cmp esi, dword [eax + 0x1c]
je 0x100ffc89
mov byte [esp + 0x13], 0
mov edx, dword [ebp + 0x3ee78]
mov eax, dword [esp + 0x114]
and edx, 0xfffffff0
shl eax, 2
mov ecx, edx
sub eax, dword [esp + 0x120]
neg ecx
mov dword [esp + 0x54], ecx
cmp eax, ecx
jl 0x100ffcd0
mov esi, dword [esp + 0x114]
mov eax, dword [esp + 0x120]
mov ecx, dword [ebp + 0x3ac20]
add ecx, edx
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x34]
cmp eax, ecx
jle 0x100ffcd7
mov dword [esp + 0x120], edx
mov eax, dword [esp + 0x110]
shl eax, 2
sub eax, dword [esp + 0x124]
cmp eax, dword [esp + 0x54]
jl 0x100ffd0f
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x124]
mov ecx, dword [ebp + 0x3ac24]
add ecx, edx
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x34]
cmp eax, ecx
jle 0x100ffd16
mov dword [esp + 0x124], edx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0x106cd5b0]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, 3
mov dword [esp + 0x2c], eax
movsx eax, byte [ebx + 0x14]
push eax
push ebp
call fcn.1007f190
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x100ffdbd
movups xmm0, xmmword [edi + 0x30]
mov ecx, dword [edi + 0x40]
push 3
push 0
push dword [esp + 0x11c]
movups xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x68], ecx
movups xmm0, xmmword [edi + 0x568]
mov ecx, dword [edi + 0x578]
push dword [esp + 0x11c]
movups xmmword [esp + 0x90], xmm0
push eax
movups xmm0, xmmword [edi + 0xaa0]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 0xab0]
push 0
push edi
movups xmmword [esp + 0xac], xmm0
mov dword [esp + 0x80], ecx
call fcn.100c5780
add esp, 0x1c
jmp 0x100ffde3
mov eax, dword [esp + 0xf8]
movups xmm0, xmmword [esp + 0xe8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xe4]
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0x60], eax
cmp dword [edi + 0x1a78], 8
je 0x100ffe6a
push dword [esp + 0x24]
mov eax, dword [0x106c2318]
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0xc], eax
push dword [edi + 0x30]
mov eax, dword [ebp]
push dword [esp + 0x30]
shl esi, 6
push dword [ecx + 0x18]
mov eax, dword [esi + eax + 0xc5cc]
call eax
add esp, 0x10
cmp dword [esp + 0x54], 0
je 0x1010034b
movups xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], ecx
movups xmm0, xmmword [esp + 0x80]
mov ecx, dword [esp + 0x60]
movups xmmword [edi + 0x568], xmm0
mov dword [edi + 0x578], ecx
movups xmm0, xmmword [esp + 0x90]
mov ecx, dword [esp + 0x64]
movups xmmword [edi + 0xaa0], xmm0
mov dword [edi + 0xab0], ecx
jmp 0x1010034b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x124]
lea eax, [ecx + eax*2]
mov dword [esp + 0x44], eax
add eax, eax
push eax
call fcn.1006eac0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + esi*2]
add ecx, ecx
push ecx
call fcn.1006eac0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax]
push ecx
call fcn.1006eac0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax]
push ecx
call fcn.1006eac0
mov ecx, dword [esp + 0x5c]
add esp, 0x10
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x100ffee1
cmp dword [esp + 0x38], 0
je 0x100ffee1
cmp dword [esp + 0x3c], 0
je 0x100ffee1
test eax, eax
jne 0x100fff1b
push ecx
call fcn.1006eaa0
push dword [esp + 0x3c]
call fcn.1006eaa0
push dword [esp + 0x44]
call fcn.1006eaa0
push dword [esp + 0x5c]
call fcn.1006eaa0
push str.Failed_to_allocate_hbuf__vbuf__src_hbuf__or_src_vbuf
push 2
push dword [ebp + 0x3ac1c]
call fcn.1006e850
mov ecx, dword [esp + 0x68]
add esp, 0x1c
push dword [esp + 0x18]
mov eax, dword [edi + 0x30]
push dword [esp + 0x24]
sub eax, dword [esp + 0x128]
push dword [esp + 0x4c]
push dword [esp + 0x30]
push eax
push ecx
call dword [0x10b48e70]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x44]
lea eax, [ecx + esi*2]
push eax
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x34]
imul ecx, esi
push eax
mov eax, dword [edi + 0x30]
sub eax, ecx
push eax
push dword [esp + 0x64]
call dword [0x10b48e88]
push dword [esp + 0x48]
mov eax, dword [esp + 0x64]
push dword [esp + 0x54]
push dword [esp + 0x4c]
mov esi, dword [eax + 0x18]
push dword [esp + 0x64]
push esi
push dword [esp + 0x80]
call dword [0x10b48e70]
add esp, 0x48
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x34]
push esi
push dword [esp + 0x64]
call dword [0x10b48e88]
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x140]
movzx eax, byte [esi + 0x106cd598]
push eax
push dword [esp + 0x64]
push dword [esp + 0x78]
call fcn.10105d80
mov word [ebx + 0xe], ax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x74]
movzx eax, byte [esi + 0x106cd5b0]
push dword [esp + 0x15c]
push eax
push dword [esp + 0x90]
push dword [esp + 0x7c]
call fcn.10105d80
add esp, 0x48
mov word [ebx + 0xc], ax
cmp dword [esp + 0x48], 1
jne 0x10100025
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x2c]
jge 0x1010001f
xor eax, eax
mov word [ebx + 0xc], ax
jmp 0x10100025
xor eax, eax
mov word [ebx + 0xe], ax
mov esi, dword [ebx + 0xc]
push dword [esp + 0x24]
mov edx, dword [esp + 0x38]
movzx eax, si
movzx ecx, ax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
shl edx, 6
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
movsx ecx, ax
mov eax, esi
imul ecx, dword [edi + 0x40]
shr eax, 0x10
cwde
mov dword [esp + 0x30], edx
add ecx, eax
mov eax, dword [ebp]
add ecx, dword [edi + 0x30]
push ecx
push dword [esp + 0x30]
mov eax, dword [edx + eax + 0xc5cc]
push dword [esp + 0x20]
mov dword [esp + 0x50], ecx
call eax
add esp, 0x10
mov ebp, eax
cmp dword [ebx + 0xc], 0
je 0x101000e6
push dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
push dword [edi + 0x30]
mov eax, dword [esp + 0x60]
push dword [esp + 0x30]
push dword [ecx + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax + 0xc5cc]
call eax
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
movzx edx, cx
cmp eax, ebp
jae 0x101000dd
mov esi, dword [0x106c2318]
mov ebp, eax
movzx edx, si
mov dword [ebx + 0xc], esi
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], esi
movzx eax, dx
jmp 0x101000f7
mov ecx, dword [esp + 0x40]
movzx eax, dx
jmp 0x101000f7
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x44]
movzx eax, ax
mov dword [ecx], ebp
mov ecx, dword [esp + 0x40]
cmp byte [esp + 0x13], 0
movzx eax, ax
mov dword [esp + 0x48], eax
jne 0x10100255
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
mov dword [esp + 0xb0], eax
lea eax, [ecx - 1]
mov dword [esp + 0xb4], eax
lea eax, [ecx + 1]
mov dword [esp + 0xb8], eax
lea eax, [ecx + edx]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0xa0]
mov eax, dword [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0xb8]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x24]
mov eax, dword [ecx + eax + 0xc5e4]
call eax
mov eax, dword [esp + 0xb4]
add esp, 0x14
mov dx, word [esp + 0x1a]
cmp eax, ebp
jae 0x10100184
mov ebp, eax
mov word [ebx + 0xe], dx
mov eax, dword [esp + 0x48]
dec eax
mov word [ebx + 0xc], ax
mov eax, dword [esp + 0xa4]
mov cx, word [esp + 0x18]
cmp eax, ebp
jae 0x101001a3
mov ebp, eax
mov word [ebx + 0xc], cx
mov eax, dword [esp + 0x1a]
dec eax
mov word [ebx + 0xe], ax
mov eax, dword [esp + 0xa8]
cmp eax, ebp
jae 0x101001c4
mov ebp, eax
mov word [ebx + 0xc], cx
mov eax, dword [esp + 0x1a]
inc eax
mov word [ebx + 0xe], ax
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0xac], ebp
jae 0x101001e4
mov ebp, dword [esp + 0xac]
inc esi
mov word [ebx + 0xc], si
mov word [ebx + 0xe], dx
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
cmp dword [esp + 0xa0], esi
jae 0x101001f8
dec cx
jmp 0x101001fa
inc cx
mov word [esp + 0x18], cx
cmp dword [esp + 0xa4], eax
jae 0x1010020c
dec dx
jmp 0x1010020e
inc dx
push dword [esp + 0x24]
movsx ecx, cx
imul ecx, dword [edi + 0x40]
movsx eax, dx
mov word [esp + 0x1e], dx
mov edx, dword [esp + 0x38]
shl edx, 6
add ecx, eax
mov eax, dword [esp + 0x5c]
add ecx, dword [edi + 0x30]
push ecx
push dword [esp + 0x30]
mov eax, dword [eax]
push dword [esp + 0x20]
mov eax, dword [edx + eax + 0xc5cc]
call eax
add esp, 0x10
cmp ebp, eax
jbe 0x10100255
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [ebx + 0xc], ecx
mov eax, dword [esp + 0x30]
push dword [esp + 0x6c]
movups xmm0, xmmword [eax + 0x1e460]
lea eax, [esp + 0xb4]
push eax
movups xmmword [esp + 0xb8], xmm0
call fcn.10101650
movsx ecx, word [ebx + 0xe]
add esp, 8
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
cmp ecx, eax
jl 0x10100299
cmp ecx, edx
mov eax, ecx
cmovg eax, edx
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
movzx esi, ax
movsx eax, word [ebx + 0xc]
mov word [ebx + 0xe], si
cmp eax, edx
jl 0x101002bd
cmp eax, ecx
mov edx, eax
cmovg edx, ecx
lea eax, [esi*8]
movzx ecx, ax
lea eax, [edx*8]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
cmp dword [esp + 0x54], 0
mov dword [ebx + 0xc], ecx
je 0x10100322
movups xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], ecx
movups xmm0, xmmword [esp + 0x80]
mov ecx, dword [esp + 0x60]
movups xmmword [edi + 0x568], xmm0
mov dword [edi + 0x578], ecx
movups xmm0, xmmword [esp + 0x90]
mov ecx, dword [esp + 0x64]
movups xmmword [edi + 0xaa0], xmm0
mov dword [edi + 0xab0], ecx
push dword [esp + 0x4c]
call fcn.1006eaa0
push dword [esp + 0x3c]
call fcn.1006eaa0
push dword [esp + 0x44]
call fcn.1006eaa0
push dword [esp + 0x5c]
call fcn.1006eaa0
add esp, 0x10
mov eax, ebp
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0xf0
ret