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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xc0
mov rbx, rcx
test rcx, rcx
jne 0x1400c1aa1
lea eax, [rcx + 0x14]
add rsp, 0xc0
pop rbx
ret
mov eax, edx
mov qword [rsp + 0xa0], r13
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x38], eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
movsxd r13, eax
test ecx, ecx
jne 0x1400c1acd
test eax, eax
je 0x1400c1f28
mov rcx, rbx
call fcn.1400c1ff0
cmp eax, 2
jne 0x1400c1afa
cmp word [rbx], 0
je 0x1400c1f28
mov r13, qword [rsp + 0xa0]
mov eax, 6
add rsp, 0xc0
pop rbx
ret
mov rdx, qword [rbx + 8]
xor r10d, r10d
mov ecx, 0xffffffff
cdqe
mov r9d, r10d
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x60], rax
cmp r10w, word [rbx]
jge 0x1400c1f28
mov qword [rsp + 0xd8], rbp
mov r8d, r10d
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x78], r10
nop dword [rax]
mov rax, qword [rbx + 0x18]
lea r15d, [rcx + 1]
mov dword [rsp + 0x44], ecx
mov r11d, r10d
mov dword [rsp + 0xe8], r10d
mov r12d, 0xffffffff
mov dword [rsp + 0x28], r10d
movsx ecx, word [r8 + rax]
mov r8d, r10d
mov dword [rsp + 0x40], ecx
mov ebp, ecx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
cmp r15d, ecx
je 0x1400c1ed0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
movsxd rax, r15d
mov qword [rsp + 0x68], rax
mov r14, rax
mov ebx, r15d
mov dword [rsp + 0x50], ebx
cmp ebp, r12d
je 0x1400c1ec3
cmp r15d, r12d
je 0x1400c1c28
movsxd rax, ebp
lea rcx, [rdx + rax*8]
mov eax, dword [rdx + r14*8]
sub eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + r14*8 + 4]
sub eax, dword [rcx + 4]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.1400c44b0
mov r8d, dword [rsp + 0x28]
mov r9d, eax
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x1400c1e8e
mov rbx, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xe8]
jmp 0x1400c1c3e
mov ecx, dword [rsp + 0xe8]
mov rbx, rsi
mov qword [rsp + 0x30], rbx
mov r9d, ecx
mov dword [rsp + 0x3c], ecx
test r8d, r8d
je 0x1400c1e75
movsxd r15, dword [rsp + 0x30]
test r12d, r12d
mov eax, ebp
mov rdx, rbx
cmovns eax, r12d
cmovs rsi, rdi
mov dword [rsp + 0x4c], eax
mov eax, r8d
cmovns eax, ecx
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0xe8], eax
movsxd rcx, r10d
mov qword [rsp + 0x28], rcx
imul rcx, r15
shr rdx, 0x20
movsxd r10, r11d
mov rdi, r10
movsxd r12, edx
imul rdi, r12
mov rax, rdi
shr rax, 0x3f
sub rdi, rax
mov rax, rcx
add rdi, 0x8000
shr rax, 0x3f
sub rcx, rax
sar rdi, 0x10
add rcx, 0x8000
sar rcx, 0x10
add edi, ecx
cmp edi, 0xffff1000
jle 0x1400c1e11
lea ecx, [rdx + r11]
add edi, 0x10000
mov edx, dword [rsp + 0x20]
mov r11d, ecx
add edx, r15d
mov eax, edx
neg eax
cmp qword [rsp + 0x60], 0
cmovne edx, eax
neg r11d
mov dword [rsp + 0x20], edx
mov rdx, qword [rsp + 0x60]
test rdx, rdx
cmovne r11d, ecx
imul r12, qword [rsp + 0x28]
imul r10, r15
mov rax, r10
shr rax, 0x3f
sub r10, rax
mov rax, r12
shr rax, 0x3f
add r10, 0x8000
sub r12, rax
sar r10, 0x10
add r12, 0x8000
mov eax, r10d
sar r12, 0x10
sub eax, r12d
sub r12d, r10d
test rdx, rdx
mov edx, r9d
cmovne r12d, eax
cmp r8d, r9d
movsxd rax, r12d
cmovl edx, r8d
mov qword [rsp + 0x80], rax
movsxd r8, dword [rsp + 0x38]
mov rcx, r8
movsxd r9, edx
imul rcx, rax
movsxd rax, edi
imul r9, rax
mov dword [rsp + 0x28], edx
mov rax, r9
shr rax, 0x3f
sub r9, rax
mov rax, rcx
shr rax, 0x3f
add r9, 0x8000
sub rcx, rax
sar r9, 0x10
add rcx, 0x8000
mov qword [rsp + 0x88], r9
sar rcx, 0x10
cmp ecx, r9d
jg 0x1400c1dad
mov edx, r8d
mov r8d, edi
jmp 0x1400c1db0
mov r8d, r12d
mov ecx, r11d
call fcn.1400c10b0
mov rdx, r13
mov r15d, eax
imul rdx, qword [rsp + 0x80]
mov rcx, rdx
shr rcx, 0x3f
sub rdx, rcx
add rdx, 0x8000
sar rdx, 0x10
cmp edx, dword [rsp + 0x88]
jg 0x1400c1df9
mov ecx, dword [rsp + 0x20]
mov edx, r13d
mov r8d, edi
call fcn.1400c10b0
mov r9d, eax
jmp 0x1400c1e17
mov edx, dword [rsp + 0x28]
mov r8d, r12d
mov ecx, dword [rsp + 0x20]
mov edi, r12d
call fcn.1400c10b0
mov r9d, eax
jmp 0x1400c1e17
xor r9d, r9d
xor r15d, r15d
movsxd rax, ebp
cmp rax, r14
je 0x1400c1e6e
movsxd r8, dword [rsp + 0x40]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x44]
nop word [rax + rax]
lea rcx, [r10 + rax*8]
mov rdx, rax
lea eax, [r15 + rbx]
add dword [rcx], eax
lea eax, [r9 + r13]
add dword [rcx + 4], eax
cmp rdx, r8
lea rax, [rdx + 1]
cmovge ebp, edi
cmovge rax, r11
inc ebp
cmp rax, r14
jne 0x1400c1e40
mov rbx, qword [rsp + 0x30]
mov r12d, dword [rsp + 0x4c]
jmp 0x1400c1e78
mov ebp, r15d
mov r8d, dword [rsp + 0x3c]
mov rdi, rbx
mov qword [rsp + 0x20], rbx
mov ebx, dword [rsp + 0x50]
mov dword [rsp + 0x28], r8d
mov ecx, dword [rsp + 0x40]
mov r15d, ebx
mov rdx, qword [rsp + 0x70]
cmp ebx, ecx
mov r11d, dword [rsp + 0x24]
cmovge r15d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x20]
inc r15d
inc r14
cmp ebx, ecx
cmovge r14, qword [rsp + 0x68]
cmp r15d, ebp
jne 0x1400c1bc0
mov rbx, qword [rsp + 0xd0]
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x78]
inc r9d
movsx eax, word [rbx]
add r8, 2
mov dword [rsp + 0x48], r9d
mov r10d, 0
mov qword [rsp + 0x78], r8
cmp r9d, eax
jl 0x1400c1b60
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xa0]
xor eax, eax
add rsp, 0xc0
pop rbx
ret