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

Disassembly:
sub esp, 0x64
cmp byte [esp + 0x74], 0
push ebx
push ebp
mov ebp, dword [esp + 0x74]
mov ebx, edx
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov dword [esp + 0x14], eax
jne 0x1001b401
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xc], 0
jne 0x1001b401
mov eax, dword [ebp]
xorps xmm0, xmm0
push 1
push dword [esp + 0x84]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push esi
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
call fcn.1001b3a0
cmp byte [ebp + 4], 0
jne 0x1001b495
mov eax, dword [ebx + 0x14]
mov edx, 1
add eax, dword [esi + 0x14]
mov ecx, eax
neg ecx
and ecx, 7
shl edx, cl
dec edx
cmp eax, 0x60
jbe 0x1001b439
mov eax, dword [ebp]
test eax, eax
je 0x1001b46a
cmp dword [eax], 0
jne 0x1001b46a
mov dword [eax], 0x12
jmp 0x1001b46a
lea ecx, [eax + 7]
mov dword [ebp + 8], eax
shr ecx, 3
mov dword [ebp + 0xc], ecx
mov word [ebp + 4], 0x101
test eax, eax
je 0x1001b46a
xor eax, eax
test ecx, ecx
je 0x1001b462
mov byte [eax + ebp + 0x10], 0xff
inc eax
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jb 0x1001b455
lea eax, [ecx + ebp]
not dl
and byte [eax + 0xf], dl
cmp byte [ebp + 4], 0
jne 0x1001b495
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
je 0x1001ba30
mov eax, dword [ebp]
mov dword [eax], 0
mov byte [edi + 0xd], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
mov dword [edi + 0x14], 0
lea edx, [esp + 0x64]
mov dword [edi + 0x18], 0
movups xmm0, xmmword [ebp]
mov esi, dword [ebx + 0x14]
mov eax, dword [ebp + 0x18]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x6c], eax
movq xmm0, qword [ebp + 0x10]
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
cmp esi, dword [ebp + 8]
ja 0x1001ba30
mov ebp, dword [esp + 0x14]
cmp byte [ebp + 0xf9], 0
je 0x1001b51b
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea edx, [ebp + 0x120]
push eax
mov ecx, edi
movups xmmword [esp + 0x44], xmm0
call fcn.1001b1b0
lea eax, [ebp + 0x10c]
mov ecx, edi
push eax
lea edx, [esp + 0x44]
call fcn.1001b1b0
lea edx, [esp + 0x64]
mov al, 0x80
xor ebp, ebp
mov byte [esp + 0x78], al
test esi, esi
je 0x1001b756
nop dword [eax + eax]
test byte [edx], al
je 0x1001b723
mov eax, dword [edi + 0x10]
xor esi, esi
mov dword [esp + 0x28], eax
mov eax, ebp
cmp ebp, dword [ebx + 0x14]
jb 0x1001b55b
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001b559
cmp dword [eax], esi
jne 0x1001b559
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebx + 8]
imul edx, eax
add edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
mov edi, dword [edx + 4]
sub eax, edi
cmp eax, 0xffeb0000
jne 0x1001b57e
mov esi, ecx
mov ecx, 1
jmp 0x1001b596
cmp eax, 0xffec0000
jne 0x1001b589
xor ecx, ecx
jmp 0x1001b596
mov esi, ecx
test eax, eax
js 0x1001b591
mov esi, edi
mov ecx, 4
mov edi, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], ecx
and edi, 0xa
je 0x1001b5b2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebp
test ecx, ecx
je 0x1001b5f6
cmp byte [edx], 0
je 0x1001b5f6
test edi, edi
je 0x1001b5e6
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], ecx
jmp 0x1001b5ff
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], ecx
jmp 0x1001b5ff
mov edx, eax
mov ecx, esi
call fcn.10009010
mov dword [esp + 0x4c], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, ebp
cmp ebp, dword [ebx + 0x14]
jb 0x1001b62a
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001b628
cmp dword [eax], ecx
jne 0x1001b628
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebx + 8]
imul edx, eax
add edx, dword [ebx + 0x1c]
mov edi, dword [edx + 8]
mov eax, edi
mov esi, dword [edx + 4]
sub eax, esi
cmp eax, 0xffeb0000
jne 0x1001b648
xor ebx, ebx
jmp 0x1001b663
mov ecx, esi
cmp eax, 0xffec0000
jne 0x1001b658
mov ebx, 2
jmp 0x1001b663
mov ebx, 8
test eax, eax
js 0x1001b663
mov ecx, edi
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x2c], ebx
and esi, 0xa
je 0x1001b67b
mov eax, dword [edi + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
test ebx, ebx
je 0x1001b6b7
cmp byte [edx], 0
je 0x1001b6b7
test esi, esi
je 0x1001b6ab
mov eax, dword [edx + 0x10]
or ebx, 0x10
mov dword [esp + 0x2c], ebx
jmp 0x1001b6be
mov eax, dword [edx + 0xc]
or ebx, 0x10
mov dword [esp + 0x2c], ebx
jmp 0x1001b6be
mov edx, eax
call fcn.10009010
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
shr eax, 4
test al, 1
jne 0x1001b6ed
shr ebx, 4
test bl, 1
jne 0x1001b6ed
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0xf0]
lea edx, [esp + 0x44]
call fcn.1001a0a0
test al, al
je 0x1001b70f
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
mov ecx, edi
call fcn.1001b1b0
mov edx, dword [esp + 0x20]
mov ah, byte [esp + 0x78]
not ah
and byte [edx], ah
jmp 0x1001b717
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov al, byte [esp + 0x78]
mov ebx, dword [esp + 0x1c]
mov ecx, ebp
and ecx, 7
cmp ecx, 7
jne 0x1001b734
mov byte [esp + 0x78], 0x80
jmp 0x1001b73a
shr al, 1
mov byte [esp + 0x78], al
inc ebp
lea eax, [edx + 1]
cmp ecx, 7
cmovne eax, edx
mov edx, eax
mov al, byte [esp + 0x78]
mov dword [esp + 0x20], edx
cmp ebp, esi
jb 0x1001b530
cmp byte [esp + 0x84], 0
je 0x1001b7c0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1001b777
cmp dword [edi + 0x24], 0
jg 0x1001b777
lea eax, [eax + eax*4]
cmp dword [edi + eax*4 + 0x10], 0
jge 0x1001b7b4
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x40]
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x44], xmm0
push eax
mov ecx, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0x31
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
call fcn.1001b1b0
mov ecx, edi
call fcn.1001af40
jmp 0x1001ba24
lea ebp, [esp + 0x64]
mov dl, 0x80
xor ebx, ebx
mov dword [esp + 0x78], ebp
mov byte [esp + 0x84], dl
test esi, esi
je 0x1001b9bb
nop dword [eax + eax]
test byte [ebp], dl
je 0x1001b98c
mov ebp, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov eax, ebx
cmp ebx, dword [ebp + 0x14]
jb 0x1001b810
mov eax, dword [ebp + 4]
test eax, eax
je 0x1001b80e
cmp dword [eax], esi
jne 0x1001b80e
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebp + 8]
imul edx, eax
add edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
mov edi, dword [edx + 4]
sub eax, edi
cmp eax, 0xffeb0000
jne 0x1001b833
mov esi, ecx
mov ecx, 1
jmp 0x1001b84b
cmp eax, 0xffec0000
jne 0x1001b83e
xor ecx, ecx
jmp 0x1001b84b
mov esi, ecx
test eax, eax
js 0x1001b846
mov esi, edi
mov ecx, 4
mov edi, ecx
mov dword [esp + 0x2c], ecx
and edi, 0xa
je 0x1001b863
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x1001b89f
cmp byte [edx], 0
je 0x1001b89f
test edi, edi
je 0x1001b893
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x1001b8a8
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x1001b8a8
mov edx, eax
mov ecx, esi
call fcn.10009010
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x10]
mov eax, ebx
cmp ebx, dword [ecx + 0x14]
jb 0x1001b8d3
mov eax, dword [ecx + 4]
test eax, eax
je 0x1001b8d1
cmp dword [eax], esi
jne 0x1001b8d1
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ecx + 8]
imul edx, eax
add edx, dword [ecx + 0x1c]
mov edi, dword [edx + 8]
mov eax, edi
mov ecx, dword [edx + 4]
sub eax, ecx
cmp eax, 0xffeb0000
jne 0x1001b8f1
xor ecx, ecx
jmp 0x1001b90c
mov esi, ecx
cmp eax, 0xffec0000
jne 0x1001b901
mov ecx, 2
jmp 0x1001b90c
test eax, eax
js 0x1001b907
mov esi, edi
mov ecx, 8
mov edi, ecx
mov dword [esp + 0x40], ecx
and edi, 0xa
je 0x1001b924
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], ebx
test ecx, ecx
je 0x1001b95c
cmp byte [edx], 0
je 0x1001b95c
test edi, edi
je 0x1001b950
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x1001b965
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x1001b965
mov edx, ebp
mov ecx, esi
call fcn.10009010
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov ecx, edi
lea eax, [esp + 0x40]
push eax
call fcn.1001b1b0
mov dl, byte [esp + 0x84]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
mov ecx, ebx
and ecx, 7
cmp ecx, 7
jne 0x1001b99a
mov dl, 0x80
jmp 0x1001b99c
shr dl, 1
inc ebx
mov byte [esp + 0x84], dl
cmp ecx, 7
lea eax, [ebp + 1]
cmovne eax, ebp
mov ebp, eax
mov dword [esp + 0x78], ebp
cmp ebx, esi
jb 0x1001b7e0
mov ecx, edi
call fcn.1001af40
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x14], edi
jbe 0x1001ba22
mov ebp, dword [esp + 0x1c]
lea edx, [ebx + 0x1c]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 5
test al, 1
jne 0x1001ba19
mov esi, dword [edx + 4]
cmp esi, dword [ebp + 0x14]
jb 0x1001b9fd
mov eax, dword [ebp + 4]
test eax, eax
je 0x1001b9fb
cmp dword [eax], 0
jne 0x1001b9fb
mov dword [eax], 0x82
mov ecx, dword [edx]
xor esi, esi
mov eax, dword [ebp + 8]
imul eax, esi
mov esi, dword [edx + 0xc]
add eax, dword [ebp + 0x1c]
test cl, 0xa
je 0x1001ba13
mov dword [eax + 0x10], esi
jmp 0x1001ba16
mov dword [eax + 0xc], esi
mov byte [eax], 1
inc edi
add edx, 0x14
cmp edi, dword [ebx + 0x14]
jb 0x1001b9d4
mov edi, ebx
mov eax, dword [esp + 0x7c]
mov byte [edi + 0xc], 1
mov byte [eax + 5], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10