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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov r13, rdx
mov rdi, rcx
or r15d, 0xffffffff
cmp byte [rcx + 0x50], 0
je 0x14006dfd7
xor edx, edx
call fcn.14006fee0
mov dword [rbp + 0x110], eax
jmp 0x14006dfde
mov dword [rbp + 0x110], r15d
cmp byte [rdi + 0xb4], 0
je 0x14006dff4
cmp dword [rdi + 0xb0], 2
jne 0x14006dff4
mov dl, 1
jmp 0x14006dff6
xor edx, edx
mov rcx, rdi
call fcn.14006fee0
movsxd r14, eax
mov esi, dword [rdi + 0xb0]
mov rax, qword [rdi + 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x88]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x8c]
mov dword [rsp + 0x34], eax
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x94]
mov dword [rsp + 0x3c], eax
lea rcx, [0x1401e6610]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov byte [rsp + 0x54], bl
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14006f450
mov r8, qword [rsp + 0x48]
movsxd rax, dword [r8 + 4]
test eax, eax
je 0x14006e09f
mov rcx, qword [r8 + 0x10]
lea rdx, [rcx + rax*4]
add rdx, r8
lea rax, [rcx + r8]
cmp rdx, rax
je 0x14006e09f
nop dword [rax]
nop dword [rax + rax]
sub rdx, 4
mov dword [rdx], 0x7fffffff
cmp rdx, rax
jne 0x14006e090
cmp dword [rdi + 0xb0], 7
jne 0x14006e0b9
mov rdx, qword [rdi + 0x98]
lea rcx, [rsp + 0x40]
call fcn.140066800
mov eax, dword [rdi + 0xb0]
mov dword [rsp + 0x20], eax
movzx eax, byte [rdi + 0xb4]
mov byte [rbp + 0x100], al
mov rdx, r13
mov rcx, rdi
call fcn.14006dbe0
cmp byte [rdi + 0x50], 0
je 0x14006e10b
cmp esi, 3
jne 0x14006e10b
mov edx, r14d
lea rcx, [rdi + 0x10]
call fcn.140066da0
cmp dword [rax + 4], 0xffffffff
jne 0x14006e10b
mov edx, r14d
lea rcx, [rdi + 0x10]
call fcn.140066da0
mov dword [rax + 4], 0xfffffffd
lea r12, [rdi + 0x10]
mov rdx, qword [r12]
mov rax, qword [rdx + 0x10]
lea rcx, [rax + r14*8]
mov eax, dword [rcx + rdx]
mov dword [rdi + 0x1c], eax
mov eax, dword [rdi + 0xb0]
mov dword [rsp + 0x58], eax
cmp eax, 9
jne 0x14006e538
mov byte [rdi + 0x49], 0
mov eax, dword [rdi + 0xa4]
cmp eax, 0x401
jne 0x14006e16e
lea r8, [r13 + 8]
lea rdx, [r13 + 0x10]
mov r9d, r14d
mov rcx, qword [r13]
call fcn.1400674f0
mov rdx, r13
mov rcx, r13
call fcn.1400670d0
mov dword [r13 + 0x50], 0x7fffffff
jmp 0x14006e17a
test eax, eax
jne 0x14006e17a
mov rcx, r13
call fcn.140068b30
cmp dword [rdi + 0xa0], 0
jne 0x14006e18b
mov rcx, r13
call fcn.14006d280
mov byte [rdi + 0xb4], 0
mov eax, dword [rdi + 0xa0]
test eax, eax
jne 0x14006e1a1
mov r14d, ebx
jmp 0x14006e1a5
lea r14d, [rax - 1]
mov dword [rbp + 0x118], r14d
mov esi, dword [rdi + 0xa4]
cmp esi, 0x401
jne 0x14006e1be
mov esi, ebx
jmp 0x14006e1c3
sub esi, r14d
dec esi
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.140065530
nop
test esi, esi
jle 0x14006e320
mov r12d, dword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r15d, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x34]
nop dword [rax]
mov qword [rdi + 0x80], r13
mov dword [rdi + 0x88], r15d
mov dword [rdi + 0x8c], r14d
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x90], eax
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x94], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x98]
call fcn.140066800
mov qword [rdi + 0xa0], rbx
mov dword [rdi + 0xb0], r12d
mov qword [rsp + 0x70], rdi
lea rax, [0x1401e6610]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [0x140239c38]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], ebx
mov qword [rbp - 0x38], rax
mov edx, 0x40
lea rcx, [rbp - 0x38]
call fcn.14006f450
mov r8, qword [rbp - 0x38]
movsxd rax, dword [r8 + 4]
test eax, eax
je 0x14006e2bf
mov rcx, qword [r8 + 0x10]
lea rdx, [rcx + rax*4]
add rdx, r8
lea rax, [rcx + r8]
cmp rdx, rax
je 0x14006e2bf
nop dword [rax]
nop dword [rax + rax]
sub rdx, 4
mov dword [rdx], 0x7fffffff
cmp rdx, rax
jne 0x14006e2b0
mov dword [rbp - 0x3c], ebx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14006dbe0
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140068190
lea rcx, [rsp + 0x70]
call fcn.14006d280
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.140066550
nop
lea rcx, [rsp + 0x70]
call fcn.140065cf0
sub rsi, 1
jne 0x14006e1f0
mov r14d, dword [rbp + 0x118]
or r15d, 0xffffffff
lea r12, [rdi + 0x10]
mov r13, qword [rbp + 0x108]
test r14d, r14d
jle 0x14006e4f8
mov r12d, dword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov qword [rdi + 0x80], r13
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x88], eax
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x8c], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x90], eax
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x94], eax
mov rsi, qword [rdi + 0x98]
mov rax, qword [rsi]
cmp qword [rsp + 0x40], rax
je 0x14006e3c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140065450
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x38], rax
mov rcx, qword [rsi]
mov qword [rsp + 0x60], rcx
mov qword [rsi], rax
mov eax, dword [rcx]
test eax, eax
je 0x14006e3b2
cmp eax, 0xffffffff
je 0x14006e3c0
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006e3c0
mov rcx, qword [rsp + 0x60]
mov edx, 4
lea r8d, [rdx + 4]
call fcn.14002cfa0
mov rax, qword [rsi + 8]
cmp qword [rsp + 0x48], rax
je 0x14006e41a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140065450
mov rax, qword [rsp + 0x28]
mov qword [rbp + 0x40], rax
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsi + 8], rax
mov eax, dword [rcx]
test eax, eax
je 0x14006e40c
cmp eax, 0xffffffff
je 0x14006e41a
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14006e41a
mov rcx, qword [rsp + 0x28]
mov edx, 4
lea r8d, [rdx + 4]
call fcn.14002cfa0
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x10], eax
movzx eax, byte [rsp + 0x54]
mov byte [rsi + 0x14], al
mov qword [rdi + 0xa0], rbx
mov dword [rdi + 0xb0], r12d
mov qword [rbp - 0x30], rdi
lea rax, [0x1401e6610]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
lea rcx, [0x140239c38]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rbx
mov dword [rbp], ebx
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x28], rax
mov edx, 0x40
lea rcx, [rbp + 0x28]
call fcn.14006f450
mov r8, qword [rbp + 0x28]
movsxd rax, dword [r8 + 4]
test eax, eax
je 0x14006e4b0
mov rcx, qword [r8 + 0x10]
lea rdx, [rcx + rax*4]
add rdx, r8
lea rax, [rcx + r8]
cmp rdx, rax
je 0x14006e4b0
sub rdx, 4
mov dword [rdx], 0x7fffffff
cmp rdx, rax
jne 0x14006e4a1
mov dword [rbp + 0x24], ebx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14006dbe0
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.140068190
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x50]
call fcn.140066550
nop
lea rcx, [rbp - 0x30]
call fcn.140065cf0
sub r14, 1
jne 0x14006e333
lea r12, [rdi + 0x10]
mov r13, qword [rbp + 0x108]
mov rdx, r13
lea rcx, [rbp + 0x50]
call fcn.140068190
lea rdx, [rbp + 0x50]
mov rcx, r13
call fcn.140066550
mov rcx, rdi
call fcn.14006ac60
mov dword [rdi + 0xb0], eax
movzx eax, byte [rbp + 0x100]
mov byte [rdi + 0xb4], al
lea rcx, [rbp + 0x50]
call fcn.140065cf0
mov eax, dword [rsp + 0x58]
cmp byte [rdi + 0x50], 0
je 0x14006e613
cmp eax, 9
jne 0x14006e5f7
mov rax, qword [r12]
cmp dword [rax], 1
jbe 0x14006e589
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x14006e578
lea r9d, [rdx + 2]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call fcn.14002cdf0
mov qword [r12], rax
jmp 0x14006e589
mov dword [rbp + 0x118], ebx
mov r8d, ebx
mov rcx, r12
call fcn.14006ec90
mov rdx, qword [r12]
movsxd r14, dword [rbp + 0x110]
lea rsi, [r14*8]
mov rcx, qword [rdx + 0x10]
add rcx, rsi
cmp dword [rcx + rdx + 4], 0xffffffff
jne 0x14006e5fe
cmp dword [rdx], 1
jbe 0x14006e5e2
mov edx, dword [rdx + 8]
and edx, 0x7fffffff
jne 0x14006e5d3
lea r9d, [rdx + 2]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call fcn.14002cdf0
mov qword [r12], rax
jmp 0x14006e5e2
mov dword [rsp + 0x20], ebx
mov r8d, ebx
mov rcx, r12
call fcn.14006ec90
mov rdx, qword [r12]
mov rcx, qword [rdx + 0x10]
add rcx, rsi
mov dword [rcx + rdx + 4], 0xfffffffd
jmp 0x14006e5fe
mov r14d, dword [rbp + 0x110]
mov rdx, qword [r12]
movsxd rcx, r14d
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rcx*8]
mov eax, dword [rcx + rdx]
mov dword [rdi + 0x1c], eax
mov r8, qword [rsp + 0x48]
mov eax, dword [r8]
test eax, eax
je 0x14006e631
cmp eax, 0xffffffff
je 0x14006e644
mov eax, r15d
lock xadd dword [r8], eax
cmp eax, 1
jne 0x14006e644
mov edx, 4
lea r8d, [rdx + 4]
mov rcx, qword [rsp + 0x48]
call fcn.14002cfa0
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x14006e65f
cmp ecx, 0xffffffff
je 0x14006e672
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x14006e672
mov edx, 4
lea r8d, [rdx + 4]
mov rcx, qword [rsp + 0x40]
call fcn.14002cfa0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret