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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0xd0
mov rbp, rcx
test rcx, rcx
jne 0x1400c1431
lea eax, [rcx + 0x14]
add rsp, 0xd0
pop rbp
ret
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x40], eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x3c], eax
test ecx, ecx
jne 0x1400c1456
test eax, eax
je 0x1400c18d0
mov rcx, rbp
call fcn.1400c18e0
mov dword [rsp + 0x38], eax
cmp eax, 2
jne 0x1400c1480
cmp word [rbp], 0
je 0x1400c18d0
mov eax, 6
add rsp, 0xd0
pop rbp
ret
mov rcx, qword [rbp + 8]
xor r10d, r10d
mov edx, 0xffffffff
mov qword [rsp + 0x70], rcx
mov r9d, r10d
mov dword [rsp + 0x50], r10d
cmp r10w, word [rbp]
jge 0x1400c18d0
mov qword [rsp + 0xe8], rbx
mov r8d, r10d
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x78], r10
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + 0x18]
lea r12d, [rdx + 1]
mov dword [rsp + 0x4c], edx
mov r11d, r10d
mov dword [rsp + 0xf8], r10d
mov r13d, 0xffffffff
mov dword [rsp + 0x28], r10d
movsx edx, word [r8 + rax]
mov r8d, r10d
mov dword [rsp + 0x48], edx
mov r14d, edx
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x20], 0
cmp r12d, edx
je 0x1400c186f
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
movsxd rax, r12d
mov qword [rsp + 0x68], rax
mov r15, rax
nop dword [rax]
nop word [rax + rax]
mov ebx, r12d
mov dword [rsp + 0x58], ebx
cmp r14d, r13d
je 0x1400c1862
movsxd rbp, r14d
cmp r12d, r13d
je 0x1400c15c6
mov eax, dword [rcx + r15*8]
sub eax, dword [rcx + rbp*8]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + r15*8 + 4]
sub eax, dword [rcx + rbp*8 + 4]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.1400bd4b0
mov r8d, dword [rsp + 0x28]
mov r9d, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x1400c182d
mov rbx, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xf8]
jmp 0x1400c15dc
mov ecx, dword [rsp + 0xf8]
mov rbx, rsi
mov qword [rsp + 0x30], rbx
mov r9d, ecx
mov dword [rsp + 0x44], ecx
test r8d, r8d
je 0x1400c1814
movsxd r12, dword [rsp + 0x30]
test r13d, r13d
mov eax, r14d
mov rdx, rbx
cmovns eax, r13d
cmovs rsi, rdi
mov dword [rsp + 0x54], eax
mov eax, r8d
cmovns eax, ecx
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0xf8], eax
movsxd rcx, r10d
mov qword [rsp + 0x28], rcx
imul rcx, r12
shr rdx, 0x20
movsxd r10, r11d
mov rdi, r10
movsxd r13, edx
imul rdi, r13
mov qword [rsp + 0x60], rsi
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 0x1400c17a7
lea ecx, [rdx + r11]
add edi, 0x10000
mov edx, dword [rsp + 0x20]
mov r11d, ecx
add edx, r12d
mov eax, edx
neg eax
cmp dword [rsp + 0x38], 0
cmovne edx, eax
neg r11d
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x38]
test edx, edx
cmovne r11d, ecx
imul r13, qword [rsp + 0x28]
imul r10, r12
mov rax, r10
shr rax, 0x3f
sub r10, rax
mov rax, r13
shr rax, 0x3f
add r10, 0x8000
sub r13, rax
sar r10, 0x10
add r13, 0x8000
mov eax, r10d
sar r13, 0x10
sub eax, r13d
sub r13d, r10d
test edx, edx
mov edx, r9d
cmovne r13d, eax
cmp r8d, r9d
movsxd rax, r13d
cmovl edx, r8d
mov qword [rsp + 0x80], rax
movsxd r8, dword [rsp + 0x40]
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 0x1400c1750
mov edx, r8d
mov r8d, edi
jmp 0x1400c1753
mov r8d, r13d
mov ecx, r11d
call fcn.1400bb3d0
mov r12d, eax
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
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]
jle 0x1400c1794
mov eax, dword [rsp + 0x28]
mov edi, r13d
mov ecx, dword [rsp + 0x20]
mov r8d, edi
mov edx, eax
call fcn.1400bb3d0
mov r8d, eax
jmp 0x1400c17ad
xor r8d, r8d
xor r12d, r12d
cmp rbp, r15
je 0x1400c180d
movsxd rdx, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x70]
mov r10, qword [rsp + 0x68]
mov r11d, dword [rsp + 0x40]
mov esi, dword [rsp + 0x4c]
nop
mov eax, dword [r9 + rbp*8]
mov rcx, rbp
add eax, r12d
add eax, r11d
mov dword [r9 + rbp*8], eax
lea eax, [r8 + rbx]
add dword [r9 + rbp*8 + 4], eax
inc rbp
cmp rcx, rdx
cmovge r14d, esi
cmovge rbp, r10
inc r14d
cmp rbp, r15
jne 0x1400c17d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x90]
mov r13d, dword [rsp + 0x54]
jmp 0x1400c1817
mov r14d, r12d
mov r8d, dword [rsp + 0x44]
mov rdi, rbx
mov qword [rsp + 0x20], rbx
mov ebx, dword [rsp + 0x58]
mov dword [rsp + 0x28], r8d
mov edx, dword [rsp + 0x48]
mov r12d, ebx
mov rcx, qword [rsp + 0x70]
cmp ebx, edx
mov r11d, dword [rsp + 0x24]
cmovge r12d, dword [rsp + 0x4c]
mov r10d, dword [rsp + 0x20]
inc r12d
inc r15
cmp ebx, edx
cmovge r15, qword [rsp + 0x68]
cmp r12d, r14d
jne 0x1400c1560
mov rbp, qword [rsp + 0xe0]
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x78]
inc r9d
movsx eax, word [rbp]
add r8, 2
mov dword [rsp + 0x50], r9d
mov r10d, 0
mov qword [rsp + 0x78], r8
cmp r9d, eax
jl 0x1400c14f0
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xe8]
xor eax, eax
add rsp, 0xd0
pop rbp
ret