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

Disassembly:
cmp edx, dword [rcx + 0x1920]
jb 0x140012b8e
mov eax, 4
ret
add rcx, 0x2310
jmp 0x140013d50
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov rbx, rcx
mov edi, r9d
lea rcx, [rsp + 0x20]
mov rsi, r8
mov r12d, edx
call fcn.14000dd90
lea rcx, [rsp + 0x38]
call fcn.14000dd90
mov eax, dword [rbx + 0x18]
add eax, dword [rbx + 0x3c]
cmp eax, dword [rbx + 0x38]
jae 0x140013ea6
cmp edi, 0xfff
jae 0x1400140a8
cmp dword [rsp + 0x88], 0xfff
jae 0x1400140a8
cmp dword [rsp + 0xa8], 0xfff
jae 0x1400140a8
cmp dword [rsp + 0x98], 0xfff
jae 0x1400140a8
mov r8d, edi
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14000dcb0
test eax, eax
jne 0x1400140ad
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140004f30
test eax, eax
jne 0x1400140ad
lea rcx, [rsp + 0x38]
call fcn.140004ef0
mov rdx, qword [rsp + 0x40]
mov edi, eax
movzx ecx, word [rdx]
cmp cx, 0x2a
je 0x140013f83
cmp cx, 0x3f
je 0x140013f83
movzx ecx, word [rdx + 2]
cmp cx, 0x2a
je 0x140013f83
cmp cx, 0x3f
je 0x140013f83
lea rcx, [rbx + 0x20]
mov edx, eax
lea r8, [rsp + 0x60]
call fcn.14000ff40
test eax, eax
je 0x140013f38
mov eax, dword [rsp + 0x60]
mov r9d, eax
shl r9, 4
add r9, qword [rbx + 0x30]
mov edx, dword [r9 + 4]
add eax, edx
cmp eax, dword [rbx + 0x24]
jae 0x140013e88
lea rcx, [rsp + 0x20]
call fcn.14000dd60
mov eax, 0xd
jmp 0x1400140ad
mov ecx, dword [rbx + 0x4c]
mov r8d, dword [rbx + 0x48]
cmp edx, 1
jne 0x140013ee1
lea eax, [rcx + 2]
cmp eax, r8d
jbe 0x140013eb0
lea rcx, [rsp + 0x20]
call fcn.14000dd60
mov eax, 0xe
jmp 0x1400140ad
mov eax, dword [r9 + 8]
mov rdx, rcx
mov rcx, qword [rbx + 0x50]
mov dword [rcx + rdx*4], eax
mov edx, dword [rbx + 0x4c]
mov eax, dword [rbx + 0x3c]
inc edx
mov rcx, qword [rbx + 0x50]
mov dword [rcx + rdx*4], eax
mov eax, dword [rbx + 0x4c]
mov dword [r9 + 8], eax
add dword [rbx + 0x4c], 2
inc dword [r9 + 4]
jmp 0x140013f6f
lea eax, [rcx + 1]
cmp eax, r8d
ja 0x140013e9c
mov r8d, dword [r9 + 8]
lea eax, [r8 + rdx]
cmp ecx, eax
jbe 0x140013f22
nop word [rax + rax]
mov rdx, qword [rbx + 0x50]
lea r8d, [rcx - 1]
mov eax, dword [rdx + r8*4]
mov dword [rdx + rcx*4], eax
mov edx, dword [r9 + 4]
mov ecx, r8d
mov r8d, dword [r9 + 8]
lea eax, [rdx + r8]
cmp ecx, eax
ja 0x140013f00
mov rcx, qword [rbx + 0x50]
add edx, r8d
mov eax, dword [rbx + 0x3c]
mov dword [rcx + rdx*4], eax
inc dword [rbx + 0x4c]
inc dword [r9 + 4]
jmp 0x140013f6f
mov ecx, dword [rbx + 0x24]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 0x28]
ja 0x140013e9c
mov eax, dword [rsp + 0x60]
cmp ecx, eax
jne 0x140013e74
mov ecx, eax
shl rcx, 4
add rcx, qword [rbx + 0x30]
mov dword [rcx], edi
mov dword [rcx + 4], 1
mov eax, dword [rbx + 0x3c]
mov dword [rcx + 8], eax
inc dword [rbx + 0x24]
mov eax, dword [rbx + 0x3c]
mov edi, eax
shl rdi, 7
add rdi, qword [rbx + 0x40]
inc eax
mov dword [rbx + 0x3c], eax
jmp 0x140013f9b
mov ecx, dword [rbx + 0x18]
mov edi, dword [rbx + 0x38]
sub edi, ecx
dec edi
shl rdi, 7
lea eax, [rcx + 1]
add rdi, qword [rbx + 0x40]
mov dword [rbx + 0x18], eax
movups xmm0, xmmword [rsp + 0x20]
mov ecx, dword [rsp + 0xb8]
mov eax, dword [rsp + 0xb0]
and ecx, 1
mov rdx, qword [rsp + 0x80]
and eax, 1
add ecx, ecx
or ecx, eax
mov eax, dword [rsp + 0xc0]
movups xmmword [rdi + 0x18], xmm0
movsd xmm1, qword [rsp + 0x30]
and dword [rdi + 0xc], 0xfffffffc
or dword [rdi + 0xc], ecx
mov dword [rdi + 0x78], eax
mov eax, dword [rsp + 0xc8]
movsd qword [rdi + 0x28], xmm1
mov dword [rdi + 8], r12d
mov dword [rdi], 0
mov dword [rdi + 0x7c], eax
test rdx, rdx
je 0x14001401d
cmp dword [rsp + 0x88], 0
jbe 0x14001401d
mov r8d, dword [rsp + 0x88]
lea rcx, [rdi + 0x30]
call fcn.14000dcb0
test eax, eax
je 0x140014036
jmp 0x1400140ad
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x40]
dec ecx
shl rcx, 7
add rax, 0x30
add rcx, rax
call fcn.14000dd90
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140014064
cmp dword [rsp + 0x98], 0
jbe 0x140014064
mov r8d, dword [rsp + 0x98]
lea rcx, [rdi + 0x48]
call fcn.14000dcb0
test eax, eax
je 0x14001406d
jmp 0x1400140ad
lea rcx, [rdi + 0x48]
call fcn.14000dd90
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x14001409b
cmp dword [rsp + 0xa8], 0
jbe 0x14001409b
mov r8d, dword [rsp + 0xa8]
lea rcx, [rdi + 0x60]
call fcn.14000dcb0
test eax, eax
je 0x1400140a4
jmp 0x1400140ad
lea rcx, [rdi + 0x60]
call fcn.14000dd90
xor eax, eax
jmp 0x1400140ad
mov eax, 0x10
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret