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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x10]
je 0x101fba3f
mov esi, dword [ebp + 8]
push 1
mov ecx, dword [esi + 0x12dc]
mov ecx, dword [ecx + 0x5e0]
call fcn.101e4a10
mov eax, dword [esi + 0x12dc]
mov esi, 1
push 1
mov edx, dword [eax + 0x5e0]
mov ecx, dword [edx + 0xb50]
mov eax, dword [edx + 0xb4c]
mov dword [edx + ecx*4 + 0xb54], eax
mov eax, dword [ebp + 8]
inc dword [edx + 0xb50]
mov ecx, dword [ebp + 0x10]
shl esi, cl
lea ecx, [esp + 0x1c]
mov eax, dword [eax + 0x12dc]
mov eax, dword [eax + 0x5e0]
mov dword [esp + 0x1c], eax
call fcn.1001e7f0
mov ecx, dword [esp + 0x18]
push 1
mov dword [ecx + 0xb4c], esi
mov ecx, dword [ecx + esi*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, eax
push dword [eax + 0x12dc]
call fcn.101cbde0
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 0x54]
mov ecx, esi
and ecx, 0xf8ffffff
mov dword [esp + 0x40], ecx
cmp ecx, 0x30545844
je 0x101fb0b7
cmp esi, 0x32495441
je 0x101fb0b7
cmp esi, 0x31495441
je 0x101fb0b7
mov ecx, dword [eax + 0xc]
lea edx, [eax + 0xc]
mov eax, ecx
jmp 0x101fb0c3
mov ecx, dword [eax + 0xc]
lea edx, [eax + 0xc]
lea eax, [ecx + 3]
shr eax, 2
cmp eax, 0x40
jbe 0x101fb0cf
mov ecx, 0x40
jmp 0x101fb0ef
cmp dword [esp + 0x40], 0x30545844
je 0x101fb0e9
cmp esi, 0x32495441
je 0x101fb0e9
cmp esi, 0x31495441
jne 0x101fb0ef
add ecx, 3
shr ecx, 2
mov eax, dword [ebp + 0x14]
and edi, 0xf
mov dword [esp + 0x18], edx
mov esi, dword [eax + 0x628]
mov eax, dword [ebp + 0x10]
shl eax, 4
or edi, eax
shl edi, 0x18
or edi, 0x8adcdc
test esi, esi
je 0x101fb9b5
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax + 0x61]
imul eax, ecx
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x101fb9b5
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 8]
cmp eax, 0xb
je 0x101fb158
cmp eax, 0xc
je 0x101fb158
xor al, al
mov byte [esp + 0x17], al
mov al, byte [ecx + 0x604]
shr al, 5
and al, 1
jmp 0x101fb189
mov al, byte [ecx + 0x604]
mov edx, dword [esp + 0x18]
shr al, 5
and al, 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x30], al
je 0x101fb18d
push 0
call fcn.101d4170
mov al, byte [esp + 0x17]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x30]
mov byte [esp + 0x30], al
mov ecx, dword [ebp + 0x18]
movzx eax, byte [ecx + 0x61]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18c]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
add eax, 8
mov ecx, dword [esp + 0x20]
neg ecx
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa4], 0
sbb ecx, ecx
mov dword [esp + 0xa8], 0
and ecx, eax
mov dword [esp + 0xac], 0
mov eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x90], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
movq xmm0, qword [ecx + 0x24]
imul eax, edx
mov dword [esp + 0xa0], edx
movq qword [esp + 0xb8], xmm0
mov byte [esp + 0xc4], 1
mov dword [esp + 0xc8], 0x42
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xcc], 0xef
mov edx, dword [eax + 0x18c]
movzx ecx, byte [eax + 0x61]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [ecx + 8]
mov dword [esp + 0x60], 0
neg ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
sbb ecx, ecx
mov dword [esp + 0x6c], 0
and ecx, eax
mov dword [esp + 0x70], 0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], 0x42
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], 0xef
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x101fb386
test byte [eax + 0xb8], 0x20
je 0x101fb386
mov eax, dword [ebp + 0x1c]
push 0
push 0
sub esp, 0xc
movq xmm0, qword [eax + 0x24]
mov ecx, esp
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x2c]
push dword [esp + 0x54]
imul edx, dword [esp + 0x30]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0xe8]
mov eax, dword [ebp + 0x1c]
push dword [eax + 0x10]
mov eax, dword [esp + 0x60]
push edx
add eax, 8
push eax
call fcn.101fd1e0
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x30]
mov byte [esp + 0x17], dl
movups xmm0, xmmword [eax]
mov byte [esp + 0x30], cl
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x20], eax
jmp 0x101fb38e
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x30]
mov eax, dword [ebp + 0x18]
mov byte [esp + 0x1e], cl
mov ecx, dword [esp + 0xa8]
mov byte [esp + 0x1f], dl
add ecx, dword [eax + 0x188]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi + 4]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x68]
add ecx, dword [eax + 0x188]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0xb4], edi
test edx, edx
je 0x101fb938
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x40], eax
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x101fb41e
mov ecx, dword [ecx + 0x7a68]
push edx
push dword [edx + 0xb4c]
push edi
push dword [esp + 0x2c]
call fcn.100b9a30
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x38], edx
jmp 0x101fb422
mov edx, dword [esp + 0x38]
cmp byte [esi + 0x10], 0
je 0x101fb71b
cmp byte [esp + 0xc4], 0
je 0x101fb71b
cmp byte [esp + 0x84], 0
je 0x101fb71b
cmp dword [esp + 0xac], 0
jne 0x101fb71b
cmp dword [esp + 0x6c], 0
jne 0x101fb71b
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x94]
jne 0x101fb71b
cmp eax, dword [esp + 0x54]
jne 0x101fb71b
cmp edx, dword [esp + 0x70]
jne 0x101fb71b
cmp dword [esp + 0x9c], 1
jne 0x101fb71b
cmp dword [esp + 0x5c], 1
jne 0x101fb71b
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x78]
jne 0x101fb71b
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0x7c]
jne 0x101fb71b
mov eax, 1
mov dword [esp + 0x44], 1
mov dword [esp + 0x20], eax
shl dword [esp + 0x20], cl
mov ecx, dword [esp + 0x20]
imul ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xbc]
shl eax, cl
mov ecx, eax
mov eax, edx
imul ecx, dword [esi + 0xc]
xor edx, edx
div ecx
mov eax, ecx
sub eax, edx
xor edx, edx
div ecx
cmp edx, 1
jb 0x101fb52f
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push 1
push dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov al, byte [esp + 0x1f]
mov cl, byte [esp + 0x1e]
mov byte [esp + 0x17], al
jmp 0x101fb741
neg ecx
and ecx, 1
mov dword [esp + 0x18], ecx
je 0x101fb661
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
dec edx
movaps xmm2, xmmword [esp + 0xa0]
add edx, ecx
movaps xmm0, xmmword [esp + 0x90]
neg ecx
movaps xmm1, xmmword [esp + 0x60]
and edx, ecx
mov ecx, edx
movaps xmmword [esp + 0xe0], xmm2
imul ecx, dword [esp + 0x38]
imul edx, dword [esp + 0x18]
psrldq xmm2, 8
movaps xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movd eax, xmm2
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmmword [esp + 0xc0]
add eax, ecx
movaps xmmword [esp + 0x120], xmm1
mov dword [esp + 0xe8], eax
psrldq xmm1, 8
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0x50]
movd eax, xmm1
push 1
movaps xmmword [esp + 0x114], xmm0
movaps xmm0, xmmword [esp + 0x74]
add eax, ecx
push edx
lea ecx, [esp + 0x118]
movaps xmmword [esp + 0x138], xmm0
movaps xmm0, xmmword [esp + 0x88]
push ecx
mov dword [esp + 0x134], eax
lea ecx, [esp + 0xdc]
mov eax, dword [esi]
push ecx
movaps xmmword [esp + 0x150], xmm0
mov ecx, esi
mov byte [esp + 0x114], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x154], 0
mov dword [esp + 0x148], 0
call dword [eax + 0x10]
mov edx, dword [esp + 0x38]
mov ecx, 1
add edx, dword [esp + 0x18]
sub ecx, dword [esp + 0x18]
mov al, byte [esp + 0x1f]
mov dword [esp + 0x44], ecx
mov cl, byte [esp + 0x1e]
mov byte [esp + 0x17], al
mov byte [esp + 0x30], cl
je 0x101fb745
jmp 0x101fb665
mov edx, dword [esp + 0x38]
movaps xmm0, xmmword [esp + 0x90]
lea ecx, [esp + 0xd0]
push dword [esp + 0x44]
mov eax, dword [esi]
push dword [esp + 0x40]
movaps xmmword [esp + 0x118], xmm0
movaps xmm0, xmmword [esp + 0xa8]
movaps xmmword [esp + 0x128], xmm0
movaps xmm0, xmmword [esp + 0xb8]
movaps xmmword [esp + 0x138], xmm0
movaps xmm0, xmmword [esp + 0xc8]
movaps xmmword [esp + 0x148], xmm0
movaps xmm0, xmmword [esp + 0x58]
movaps xmmword [esp + 0xd8], xmm0
movaps xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0xe8], xmm0
movaps xmm0, xmmword [esp + 0x78]
push ecx
movaps xmmword [esp + 0xfc], xmm0
lea ecx, [esp + 0x11c]
movaps xmm0, xmmword [esp + 0x8c]
push ecx
mov ecx, esi
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x140], edx
mov dword [esp + 0x100], edx
call dword [eax + 0x10]
mov al, byte [esp + 0x1f]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x1e]
mov byte [esp + 0x30], al
jmp 0x101fb745
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push 1
push dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x30]
mov byte [esp + 0x17], dl
mov byte [esp + 0x30], cl
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x101fb935
test dword [esp + 0xb4], 0x800000
jne 0x101fb935
mov eax, dword [ecx + 0x7a68]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 0xb4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
test dword [eax + 0x140], 0x40000
je 0x101fb935
mov eax, dword [eax + 0x15bc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x101fb935
test edx, edx
je 0x101fb935
mov eax, dword [edx + 0xa0]
mov dword [esp + 0x18], eax
and dword [esp + 0x18], 0x30
cmp dword [esp + 0x18], 0x10
je 0x101fb7ed
and al, 0xc
cmp al, 4
jne 0x101fb935
mov eax, dword [esp + 0x40]
test eax, eax
je 0x101fb915
cmp dword [esp + 0x18], 0x10
jne 0x101fb915
cmp dword [esp + 0x48], 2
je 0x101fb915
test eax, 0x800000
jne 0x101fb915
mov eax, dword [ecx + 0xb50]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
push 1
mov dword [ecx + eax*4 + 0xb54], edx
inc dword [ecx + 0xb50]
lea ecx, [esp + 0x1c]
call fcn.1001e7f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push dword [esp + 0x3c]
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
mov edx, dword [esp + 0x3c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x1c]
push 0
push 0
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [edx]
push dword [ecx + 0x74]
mov eax, dword [eax + 0x134]
push 0
push ecx
push 1
mov ecx, edx
call eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push 1
dec dword [eax + 0xb50]
mov ecx, dword [eax + 0xb50]
mov ecx, dword [eax + ecx*4 + 0xb54]
cmp ecx, 0xffffffff
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x1c]
jne 0x101fb8d7
call fcn.1001e7f0
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xb4c], 0xffffffff
mov dword [eax], 0x1fff0
jmp 0x101fb8fc
call fcn.1001e7f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
cmp dword [esp + 0x4c], 0
lea ecx, [eax + 4]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x20], ecx
jne 0x101fb935
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0xa0]
and al, 0xc
cmp al, 4
jne 0x101fb935
mov eax, dword [esp + 0x40]
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push eax
push edx
call fcn.100b9e70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x18c]
mov dword [esp + 0x4c], ecx
cmp dword [ecx + 0x20e], 1
jne 0x101fb95c
test byte [eax + 0x72], 2
jne 0x101fb95c
test byte [eax + 0x6f], 0x10
mov byte [esp + 0x1e], 0
je 0x101fb961
mov byte [esp + 0x1e], 1
mov ecx, dword [esp + 0x34]
call fcn.101c27b0
test byte [esp + 0x1e], al
je 0x101fb998
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x34]
push edi
mov ecx, dword [ecx + 8]
push dword [eax + 0xb4c]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.101d3420
jmp 0x101fb99c
mov esi, dword [esp + 0x34]
cmp byte [esp + 0x17], 0
je 0x101fb9b5
cmp byte [esp + 0x30], 0
je 0x101fb9b5
push dword [esp + 0x30]
mov ecx, esi
call fcn.101d4170
mov edi, dword [ebp + 8]
push 1
mov eax, dword [edi + 0x12dc]
mov ecx, dword [eax + 0x5e0]
mov dword [esp + 0x38], ecx
dec dword [ecx + 0xb50]
mov eax, dword [ecx + 0xb50]
mov esi, dword [ecx + eax*4 + 0xb54]
lea ecx, [esp + 0x38]
call fcn.1001e7f0
mov ecx, dword [esp + 0x34]
cmp esi, 0xffffffff
jne 0x101fb9fd
mov dword [ecx + 0xb4c], esi
mov dword [eax], 0x1fff0
jmp 0x101fba15
mov dword [ecx + 0xb4c], esi
mov ecx, dword [ecx + esi*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x34]
push 1
push 0
mov dword [eax + 0x20], ecx
mov ecx, edi
call fcn.101cbde0
mov ecx, dword [edi + 0x12dc]
push 1
push 1
mov ecx, dword [ecx + 0x5e0]
call fcn.101e43f0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x18