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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r15d, r15d
mov r13, rdx
mov rbx, rcx
mov edi, r15d
test rdx, rdx
je 0x140107bf7
mov esi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.14013b740
mov r14, rax
test rax, rax
je 0x140107bed
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.1401b9730
mov dword [r14], esi
lea rsi, [rbx + 0x60]
mov eax, dword [r13 + 0x18]
mov rcx, qword [rsi]
mov r12, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0xa0], rcx
cmp qword [rbx + 0x128], rdi
jne 0x140107d62
mov rax, qword [r13 + 8]
mov rbp, rcx
test rax, rax
cmovne rbp, rax
mov rax, qword [r13]
mov qword [rsi], rax
nop dword [rax]
cmp qword [rsi], rbp
jge 0x140107bdc
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.1401091d0
mov edi, eax
test eax, eax
je 0x140107bb0
jmp 0x140107e3a
mov r13, qword [rsp + 0xa0]
lea rsi, [rbx + 0x60]
jmp 0x140107d73
mov eax, 7
jmp 0x14010803e
mov eax, dword [rcx + 0x24]
mov r14, r15
mov rbp, qword [rcx + 0x128]
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
test rbp, rbp
je 0x140107d4f
mov eax, dword [rcx + 0x24]
mov esi, r15d
mov dword [rcx + 0x20], eax
cmp byte [rbp + 0x40], sil
je 0x140107cb8
mov r15d, dword [rbp + 0x58]
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp + 0x68], xmm0
mov edi, dword [rbp + 0x58]
inc edi
lea r14d, [rdi + 0x1000]
cmp edi, r15d
ja 0x140107ca7
mov r8, qword [rbp + 0x30]
mov eax, r14d
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x140107c7e
mov rax, qword [r8]
mov edx, dword [rax + rdi*4 + 0x84]
jmp 0x140107c94
cdqe
lea edx, [rdi - 1]
add rdx, 0x22
and edx, 0xfff
mov rcx, qword [r8 + rax*8]
mov edx, dword [rcx + rdx*4]
mov rcx, rbx
call fcn.1401081c0
inc edi
inc r14d
mov esi, eax
test eax, eax
je 0x140107c58
cmp r15d, dword [rbp + 0x58]
je 0x140107cb5
mov rcx, rbp
call fcn.140179400
xor r15d, r15d
mov rcx, qword [rbx + 0x120]
call fcn.14013f6d0
test rax, rax
je 0x140107d48
nop dword [rax]
test esi, esi
jne 0x140107d48
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rbp, qword [rax + 0x20]
mov esi, r15d
call fcn.14013d410
mov rdi, rax
test rax, rax
je 0x140107d1b
cmp qword [rax + 0x38], 1
mov rcx, rax
jne 0x140107cff
call fcn.14013f8a0
jmp 0x140107d1b
call fcn.14010d8a0
mov esi, eax
test eax, eax
jne 0x140107d13
mov rcx, rdi
call qword [rbx + 0x108]
mov rcx, rdi
call fcn.14013ea80
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140107d40
nop dword [rax]
nop dword [rax + rax]
mov dword [rcx + 0x18], 1
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x140107d30
mov rax, rbp
test rbp, rbp
jne 0x140107cd0
mov eax, esi
jmp 0x14010803e
mov rax, qword [rcx + 0x60]
lea rsi, [rcx + 0x60]
mov qword [rsp + 0xa0], rax
mov r12, rax
mov r13, qword [rsp + 0xa0]
mov qword [rsi], r15
jmp 0x140107d73
xor r15d, r15d
cmp qword [rsi], r12
jge 0x140107e26
lea rax, [rsp + 0xa8]
mov dword [rsp + 0xa0], r15d
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.14010d9a0
mov r15d, dword [rsp + 0xa0]
mov edi, eax
test r15d, r15d
jne 0x140107de7
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [rsi]
cmp rax, rcx
jne 0x140107de7
mov rax, r13
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r15, rax
mov dword [rsp + 0xa0], eax
xor ebp, ebp
test edi, edi
jne 0x140107e26
nop dword [rax]
cmp ebp, r15d
jae 0x140107d70
cmp qword [rsi], r12
jge 0x140107d70
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.1401091d0
inc ebp
mov edi, eax
test eax, eax
je 0x140107df0
mov r13, qword [rsp + 0x98]
test r13, r13
je 0x140107fae
xor r15d, r15d
mov rcx, qword [rbx + 0xc8]
mov eax, dword [r13 + 0x1c]
add rcx, 4
mov rsi, qword [rbx + 0x128]
imul rcx, rax
mov qword [rsp + 0x30], rcx
test rsi, rsi
je 0x140107f7e
mov eax, dword [rsi + 0x88]
cmp dword [r13 + 0x30], eax
je 0x140107e7c
mov dword [r13 + 0x24], r15d
mov eax, dword [rsi + 0x88]
mov dword [r13 + 0x30], eax
mov ecx, dword [r13 + 0x24]
cmp ecx, dword [rsi + 0x58]
jae 0x140107f75
mov dword [rsi + 0x58], ecx
mov eax, dword [r13 + 0x28]
mov dword [rsi + 0x60], eax
mov eax, dword [r13 + 0x2c]
mov dword [rsi + 0x64], eax
test ecx, ecx
je 0x140107f75
lea edi, [rcx + 0x1000]
sub rdi, 0xfdf
shr rdi, 0xc
cmp dword [rsi + 0x28], edi
jle 0x140107ed2
mov rax, qword [rsi + 0x30]
movsxd rcx, edi
mov r8, qword [rax + rcx*8]
mov qword [rsp + 0x40], r8
test r8, r8
je 0x140107ed2
mov eax, r15d
jmp 0x140107ee6
lea r8, [rsp + 0x40]
mov edx, edi
mov rcx, rsi
call fcn.140179ed0
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x140107f75
lea rdx, [r8 + 0x4000]
mov qword [rsp + 0x38], rdx
test edi, edi
jne 0x140107f15
add r8, 0x88
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x40], r8
mov edi, r15d
jmp 0x140107f1f
shl edi, 0xc
sub edi, 0x22
mov dword [rsp + 0x48], edi
test eax, eax
jne 0x140107f75
mov r10d, dword [rsi + 0x58]
mov r9d, 0x2000
sub r10d, edi
mov r8, rdx
movzx eax, word [rdx]
cmp eax, r10d
jle 0x140107f3f
mov word [r8], r15w
add r8, 2
add rdx, 2
sub r9, 1
jne 0x140107f33
mov ecx, dword [rsp + 0x38]
lea eax, [r10*4]
sub ecx, eax
xor edx, edx
sub ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
movsxd r8, ecx
movsxd rcx, r10d
lea rcx, [rax + rcx*4]
call fcn.1401b9730
mov esi, dword [r13 + 0x1c]
mov edi, r15d
jmp 0x140107f86
mov esi, dword [r13 + 0x1c]
test edi, edi
jne 0x140107fae
cmp esi, dword [rbx + 0x3c]
jae 0x140107fae
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401091d0
inc esi
mov edi, eax
test eax, eax
je 0x140107f86
test r14, r14
je 0x140108034
cmp dword [r14 + 8], 0
je 0x140107fd9
lea rsi, [r14 + 0x10]
mov ebp, 0x3e
mov rcx, qword [rsi]
call fcn.14011b1b0
lea rsi, [rsi + 8]
sub rbp, 1
jne 0x140107fc7
cmp dword [0x14023c040], 0
je 0x14010802b
mov rcx, qword [0x1402438b0]
test rcx, rcx
je 0x140107ff4
call qword [0x14023c0c0]
mov rcx, r14
call qword [0x14023c078]
dec qword [0x140243838]
mov rcx, r14
movsxd rdx, eax
sub qword [0x1402437f0], rdx
call qword [0x14023c068]
mov rcx, qword [0x1402438b0]
test rcx, rcx
je 0x140108034
call qword [0x14023c0d0]
jmp 0x140108034
mov rcx, r14
call qword [0x14023c068]
test edi, edi
jne 0x14010803c
mov qword [rbx + 0x60], r12
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret