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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push r12
push r15
sub rsp, 0x98
xor r12d, r12d
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], r12
mov rsi, r9
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x14006ecbe
test r9, r9
je 0x14006ecbe
mov r9, qword [rdx]
mov qword [rsp + 0x40], r9
test r9, r9
je 0x14006ecbe
movzx eax, byte [rcx + 4]
mov qword [r11 + 8], rbp
mov ebp, dword [rsi]
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r14
xor r14d, r14d
mov byte [rsp + 0x24], al
mov rax, qword [rdx + 8]
mov byte [rcx + 4], r12b
mov ecx, dword [rsi + 4]
mov qword [r11 - 0x48], r9
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x28], r14d
test rax, rax
je 0x14006e951
nop word [rax + rax]
mov rax, qword [rax + 0x10]
inc r14d
test rax, rax
jne 0x14006e940
mov dword [rsp + 0x28], r14d
lea edx, [r14 + r14*4]
mov rcx, r9
shl edx, 3
lea r8, [rsp + 0x20]
call fcn.1400186d0
mov r13, rax
mov qword [rsp + 0x30], rax
movsxd rdi, r14d
cmp dword [rsp + 0x20], r12d
jne 0x14006ec43
mov rcx, qword [rsp + 0x40]
lea edx, [r14*4]
lea r8, [rsp + 0x20]
call fcn.1400186d0
mov r14, rax
cmp dword [rsp + 0x20], r12d
jne 0x14006ec27
mov r13, qword [r15 + 8]
xor eax, eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x28], eax
jle 0x14006eb1d
mov rdx, qword [rsp + 0x30]
xor ebp, ebp
lea r15, [rdx + 8]
nop
cdqe
lea rcx, [rax + rax*4]
lea rax, [rdx + rcx*8]
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.1400742d0
mov eax, dword [rsi + 4]
lea r8, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov dword [r15 - 4], eax
mov eax, dword [rsi]
mov dword [r15 - 8], eax
mov eax, dword [rsi + 8]
mov dword [r15], eax
movzx eax, word [rsi + 0x18]
mov word [r15 + 0x10], ax
movzx eax, byte [rsi + 0x1a]
mov byte [r15 + 0x12], al
mov edx, dword [rsi + 8]
imul edx, dword [rsi]
call fcn.1400186d0
mov qword [r15 + 8], rax
cmp dword [rsp + 0x20], 0
jne 0x14006ec22
mov rcx, r13
call fcn.14006d530
mov dword [r14 + rbp*4], eax
cmp eax, 2
jne 0x14006eabe
cmp dword [rbx], 0
je 0x14006eacf
xor eax, eax
mov r9, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov dword [rbx + 8], eax
lea rcx, [rsp + 0x60]
movsd xmm0, qword [rbx]
mov r12, qword [r13 + 0x10]
mov eax, dword [rbx + 8]
mov r8d, dword [rsp + 0xd0]
movsd qword [rsp + 0x60], xmm0
mov qword [r13 + 0x10], 0
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x68], eax
call fcn.14006e830
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x14006ec22
cmp dword [rbx], 1
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov qword [r13 + 0x10], r12
mov r12, rax
mov qword [rsp + 0x48], rax
mov qword [rax + 0x10], rcx
jne 0x14006eae6
mov eax, dword [r14 + rbp*4]
cmp eax, 1
jne 0x14006ead9
mov dword [r14 + rbp*4], 2
jmp 0x14006eae6
cmp eax, 1
jne 0x14006ea3d
cmp dword [rbx], eax
jne 0x14006ea3d
mov eax, 1
jmp 0x14006ea3f
cmp eax, 2
jne 0x14006eae6
mov dword [r14 + rbp*4], 1
mov eax, dword [rsp + 0x38]
inc rbp
mov r13, qword [r13 + 0x10]
inc eax
mov rsi, qword [rsp + 0xd8]
add r15, 0x28
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x38], eax
cmp rbp, rdi
jl 0x14006e9c0
mov r15, qword [rsp + 0xc8]
mov ebp, dword [rsp + 0x50]
mov qword [r15 + 8], r12
mov r13, qword [rsi + 0x10]
test ebp, ebp
jle 0x14006ec22
movsxd r9, dword [rsp + 0x3c]
xor r15d, r15d
mov eax, ebp
xor r12d, r12d
mov rbp, qword [rsp + 0x30]
mov rcx, r9
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x48], rax
nop
xor esi, esi
test r9d, r9d
jle 0x14006ec00
mov rbx, r12
movzx r12d, byte [rsp + 0x24]
nop dword [rax]
nop dword [rax + rax]
xor r10b, r10b
xor r8d, r8d
mov r11b, 0xff
test rdi, rdi
jle 0x14006ebbf
lea r9, [rbp + 0x10]
cmp dword [r14 + r8*4], 1
mov rax, qword [r9]
movzx eax, byte [rbx + rax]
jne 0x14006eba0
cmp r10b, al
movzx edx, r10b
cmovbe edx, eax
movzx r10d, dl
jmp 0x14006ebae
cmp r11b, al
movzx edx, r11b
cmovae edx, eax
movzx r11d, dl
inc r8
add r9, 0x28
cmp r8, rdi
jl 0x14006eb82
mov r9d, dword [rsp + 0x3c]
lea eax, [r15 + rsi]
movzx ecx, r10b
movsxd rdx, eax
cmp r10b, r11b
movzx eax, r11b
cmovae ecx, eax
mov byte [rdx + r13], cl
test r12b, r12b
je 0x14006ebe6
call fcn.14006e110
mov byte [rdx + r13], al
inc esi
inc rbx
cmp esi, r9d
jl 0x14006eb70
mov r12, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x48]
movsxd rcx, r9d
add r12, rcx
add r15d, r9d
sub rax, 1
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x48], rax
jne 0x14006eb50
mov r13, rbp
jmp 0x14006ec27
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
test r14, r14
je 0x14006ec3c
mov rdx, r14
mov rcx, rbp
call fcn.1400187b0
mov r14d, dword [rsp + 0x28]
jmp 0x14006ec48
mov rbp, qword [rsp + 0x40]
test r13, r13
je 0x14006ec8c
test r14d, r14d
jne 0x14006ec5c
mov dword [rsp + 0x20], 0x61
jmp 0x14006ec8c
test rdi, rdi
jle 0x14006ec81
lea rbx, [r13 + 0x10]
mov rdx, qword [rbx]
mov rcx, rbp
call fcn.1400187b0
mov qword [rbx], 0
lea rbx, [rbx + 0x28]
sub rdi, 1
jne 0x14006ec65
mov rdx, r13
mov rcx, rbp
call fcn.1400187b0
mov eax, dword [rsp + 0x20]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc0]
add rsp, 0x98
pop r15
pop r12
pop rsi
pop rbx
ret
mov eax, 6
add rsp, 0x98
pop r15
pop r12
pop rsi
pop rbx
ret