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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [rcx]
xor esi, esi
mov rdi, rdx
mov qword [rsp + 0x98], rsi
mov edx, dword [r8 + 8]
mov r13, r8
shl edx, 2
mov r14, rcx
mov ebx, esi
mov qword [rsp + 0x80], rsi
mov r12d, esi
call qword [rax + 8]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x1400683f2
mov eax, 0xfffffffd
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [r13 + 8]
mov rcx, r14
mov rax, qword [r14]
shl edx, 2
call qword [rax + 8]
mov qword [rdi + 0x60], rax
test rax, rax
je 0x1400683de
mov rax, qword [r14]
mov edx, 0x400
mov rcx, r14
call qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rdi, rax
test rax, rax
je 0x1400683de
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.1400fd5ea
mov edx, dword [r13 + 0x10]
imul edx, dword [r13 + 8]
mov rcx, qword [r13 + 0x18]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rdi + rax*4]
sub edx, 1
jne 0x140068450
mov ecx, 0xff
mov qword [rsp + 0x38], r15
nop dword [rax]
movsxd rax, ecx
mov edx, dword [rdi + rax*4]
test edx, edx
je 0x140068481
add ebx, edx
cmp ebx, 0xf
jge 0x1400684c2
sub ecx, 1
jne 0x140068470
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
mov ebp, 0x61
mov r8, qword [rax + 0x10]
call r8
mov r15, qword [rsp + 0x38]
test r12, r12
je 0x1400684b1
mov rax, qword [r14]
mov rdx, r12
mov rcx, r14
call qword [rax + 0x10]
mov eax, ebp
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test ecx, ecx
je 0x140068486
lea r8d, [rcx - 1]
mov rdx, r13
mov rcx, r14
lea r9, [rsp + 0x98]
call fcn.140095630
mov r12, qword [rsp + 0x98]
mov ebp, eax
test eax, eax
jne 0x140068992
mov edx, dword [r13 + 4]
mov rcx, r14
mov rax, qword [r14]
shl edx, 2
call qword [rax + 8]
mov qword [rsp + 0x80], rax
mov r15, rax
test rax, rax
jne 0x140068527
lea ebp, [rax - 3]
mov rdx, rdi
mov rax, qword [r14]
mov rcx, r14
mov r8, qword [rax + 0x10]
call r8
jmp 0x14006849b
mov r9d, dword [r13 + 4]
mov r8b, 0xa
mov rdx, r15
mov rcx, r12
call fcn.14006a8f0
lea r13, [r15 + 0x28]
mov ebp, eax
mov rax, qword [rsp + 0x90]
mov r9d, 0xfffe7960
mov r10d, r9d
mov rdx, r13
mov ebx, dword [rax + 4]
lea rax, [rbx*4]
lea r11, [rax - 0x28]
mov qword [rsp + 0x98], rax
add r11, r15
mov r15, rsi
cmp r13, r11
je 0x140068962
nop dword [rax]
mov ecx, dword [rdx]
lea rax, [rdx - 0xc]
lea r8, [rax + 0x18]
cmp rax, r8
je 0x14006859d
nop
cmp dword [rax], ecx
jg 0x1400685bb
add rax, 4
cmp rax, r8
jne 0x140068590
cmp ecx, r10d
jle 0x1400685b0
mov rsi, r15
mov r9d, r10d
mov r15, rdx
mov r10d, ecx
jmp 0x1400685bb
cmp ecx, r9d
jle 0x1400685bb
mov rsi, rdx
mov r9d, ecx
add rdx, 4
cmp rdx, r11
jne 0x140068580
test r15, r15
je 0x140068962
test rsi, rsi
je 0x140068962
mov edx, dword [r15]
mov ecx, dword [rsi]
sub ecx, edx
mov eax, ecx
sar eax, 0x1f
mov r8d, eax
xor r8d, ecx
lea ecx, [rdx + rdx*4]
sub r8d, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jge 0x140068695
mov r9, qword [rsp + 0x80]
mov eax, 0xaaaaaaab
mul ebx
mov r8, r15
shr edx, 2
lea rcx, [r9 + rdx*4]
mov rdx, rsi
sub r8, rcx
sub rdx, rcx
sar r8, 2
sar rdx, 2
mov ecx, r8d
sar ecx, 0x1f
xor r8d, ecx
sub r8d, ecx
mov ecx, edx
sar ecx, 0x1f
xor edx, ecx
sub edx, ecx
cmp edx, r8d
jl 0x14006868c
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
lea rcx, [r9 + rdx*4]
mov r9, rsi
sub r9, rcx
mov rdx, r15
sub rdx, rcx
sar r9, 2
sar rdx, 2
mov eax, r9d
mov ecx, edx
sar eax, 0x1f
sar ecx, 0x1f
xor r9d, eax
xor edx, ecx
sub r9d, eax
sub edx, ecx
cmp r9d, edx
jl 0x14006868c
cmp r9d, r8d
jge 0x140068695
mov rax, rsi
mov rsi, r15
mov r15, rax
imul eax, ebx, 0x54
mov r9, r15
imul edx, ebx, 0x8c
mov r8d, 3
mov ecx, eax
sar ecx, 0x1f
add eax, ecx
mov rcx, r15
shr eax, 7
inc eax
shr rax, 1
lea rdi, [rax*4]
mov eax, edx
sar eax, 0x1f
sub r9, rdi
add eax, edx
shr eax, 7
inc eax
shr rax, 1
lea rbx, [rax*4]
sub rcx, rbx
cmp r13, r9
cmova r9, r13
cmp r13, rcx
mov rdx, r9
cmova rcx, r13
call fcn.1400aa910
mov r8, qword [rsp + 0x90]
lea rcx, [rdi + r15]
mov rdx, qword [rsp + 0x80]
mov r13, rax
add rdx, 0xffffffffffffffec
mov eax, dword [r8 + 4]
mov r8d, 3
lea r9, [rdx + rax*4]
lea rdx, [rbx + r15]
cmp r9, rdx
cmovb rdx, r9
cmp r9, rcx
cmovb rcx, r9
call fcn.1400aa910
mov rcx, rax
test r13, r13
jne 0x140068745
test rax, rax
cmove rcx, rsi
jmp 0x140068759
test rcx, rcx
jne 0x14006874f
mov rcx, r13
jmp 0x140068759
mov eax, dword [rax]
cmp dword [r13], eax
cmovg rcx, r13
test rcx, rcx
cmove rcx, rsi
mov rsi, r15
cmp r15, rcx
cmova rsi, rcx
cmovbe r15, rcx
mov rbx, qword [rsp + 0x80]
sub rsi, rbx
sar rsi, 2
lea r11, [r12 + rsi*4]
lea r10, [r11 - 0x1c]
cmp r10, r12
jb 0x140068827
nop
mov r9d, dword [r10]
lea rdx, [r10 + 4]
mov r8, r10
cmp rdx, r11
jae 0x1400687be
nop
mov eax, dword [rdx]
mov ecx, r9d
cmp eax, r9d
mov r9d, eax
cmovl r8, rdx
add rdx, 4
cmp eax, ecx
cmovge r9d, ecx
cmp rdx, r11
jb 0x1400687a0
add r10, 0xc
cmp r8, r10
jbe 0x1400687d5
lea r10, [r8 - 0x1c]
mov r11, r8
cmp r10, r12
jae 0x140068790
jmp 0x140068827
jae 0x140068822
lea rdx, [r8 - 0xc]
cmp rdx, r12
jb 0x140068827
mov r10d, dword [rdx]
lea r11, [r8 + 4]
lea r9, [rdx + 4]
cmp r9, r11
jae 0x14006880f
mov eax, dword [r9]
mov ecx, r10d
cmp eax, r10d
mov r10d, eax
cmovl rdx, r9
add r9, 4
cmp eax, ecx
cmovge r10d, ecx
cmp r9, r11
jb 0x1400687f0
cmp rdx, r8
je 0x140068822
mov r8, rdx
add rdx, 0xfffffffffffffff4
cmp rdx, r12
jae 0x1400687e0
jmp 0x140068827
test r8, r8
jne 0x14006882a
mov r8, r12
mov rdi, qword [rsp + 0x98]
sub r15, rbx
sar r15, 2
add rdi, r12
lea rbx, [r12 + r15*4]
lea r11, [rbx + 0x1c]
cmp r11, rdi
ja 0x1400688f7
nop dword [rax]
mov r10d, dword [rbx]
lea r9, [rbx + 4]
mov rax, rbx
cmp r9, r11
jae 0x14006887f
nop
mov ecx, dword [r9]
mov edx, r10d
cmp ecx, r10d
mov r10d, ecx
cmovl rax, r9
add r9, 4
cmp ecx, edx
cmovge r10d, edx
cmp r9, r11
jb 0x140068860
add rbx, 0xc
cmp rax, rbx
jae 0x140068897
lea rbx, [rax + 4]
lea r11, [rbx + 0x1c]
cmp r11, rdi
jbe 0x140068850
jmp 0x1400688f7
jbe 0x1400688f2
lea rbx, [rax + 0x10]
cmp rbx, rdi
ja 0x1400688f7
nop dword [rax]
nop word [rax + rax]
mov r11d, dword [rax]
lea r9, [rax + 4]
mov r10, rax
cmp r9, rbx
jae 0x1400688fb
nop
mov ecx, dword [r9]
mov edx, r11d
cmp ecx, r11d
mov r11d, ecx
cmovl r10, r9
add r9, 4
cmp ecx, edx
cmovge r11d, edx
cmp r9, rbx
jb 0x1400688c0
cmp r10, rax
je 0x1400688fb
lea rbx, [r10 + 0x10]
mov rax, r10
cmp rbx, rdi
jbe 0x1400688b0
jmp 0x1400688f7
test rax, rax
jne 0x1400688fb
lea rax, [rdi - 4]
mov rcx, qword [rsp + 0x88]
sub rax, r12
sar rax, 2
sub r8, r12
sar r8, 2
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x90]
mov dword [rcx + 0x3c], r15d
sub r15d, esi
mov dword [rcx + 0x38], esi
mov dword [rcx + 0x40], r8d
mov eax, dword [rax + 4]
shr eax, 2
cmp r15d, eax
jae 0x14006898d
mov rax, qword [r14]
mov rcx, r14
mov rdx, qword [rsp + 0x20]
mov ebp, 0x61
mov r8, qword [rax + 0x10]
call r8
mov rax, qword [r14]
mov rcx, r14
mov rdx, qword [rsp + 0x80]
call qword [rax + 0x10]
jmp 0x14006849b
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
mov ebp, 0x61
mov r8, qword [rax + 0x10]
call r8
mov rax, qword [r14]
mov rcx, r14
mov rdx, qword [rsp + 0x80]
call qword [rax + 0x10]
jmp 0x14006849b
mov rdi, qword [rsp + 0x20]
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14006849b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
jmp 0x14006849b