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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov ebp, r9d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp rcx, 0x1000
jb 0x14006e4bb
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x14006e4bb
cmp dword [rcx], 0x19291112
jne 0x14006e4ad
cmp rdx, 0x1000
jb 0x14006e4bb
test rax, rdx
jne 0x14006e4bb
lea eax, [r9 - 1]
mov qword [rsp + 0x78], r14
cmp eax, 4
ja 0x14006e49a
mov eax, dword [rsp + 0x80]
and eax, 0xfffffffb
dec eax
cmp eax, 1
ja 0x14006e49a
mov r14d, 0x1dc
test r8, r8
je 0x14006e139
mov r14, qword [r8]
cmp r14, 0xda
jb 0x14006e49a
cmp byte [rcx + 0x5d], 0
jne 0x14006e14c
call fcn.14006d970
test eax, eax
js 0x14006e3bf
mov rcx, rsi
call fcn.14006d850
test eax, eax
js 0x14006e3bf
mov rdx, qword [rsi + 0x40]
mov qword [rsp + 0x30], r15
mov r15, qword [rsi + 0x48]
mov qword [rsp + 0x60], rdx
lea rax, [r15 + 0xd9]
test rdi, rdi
je 0x14006e17d
mov qword [rdi], rax
cmp rax, r14
jbe 0x14006e18c
mov eax, 0xffffffd7
jmp 0x14006e3ba
mov qword [rsp + 0x68], r12
lea r8, [r15 + 1]
mov qword [rsp + 0x70], r13
lea rcx, [rbx + 0xd8]
mov r13, qword [rsi + 0x90]
mov word [rbx + 0xd6], r15w
call sym.vkat.exe_nocrt_memcpy
xor edx, edx
lea rcx, [rbx + 0xba]
lea r8d, [rdx + 0x1c]
call sym.vkat.exe_nocrt_memset
xor r14d, r14d
cmp dword [rsi + 0x88], 0x4c
je 0x14006e284
movzx eax, byte [r13 + 0x44]
test al, al
je 0x14006e209
cmp al, 0x1c
lea rdx, [r13 + 0x46]
mov edi, eax
mov ecx, 0x1a
cmovae edi, ecx
lea rcx, [rbx + 0xba]
movzx r8d, dil
call sym.vkat.exe_nocrt_memcpy
shr dil, 1
movzx eax, dil
jmp 0x14006e20c
mov eax, r14d
mov rdx, qword [rsp + 0x60]
movabs rcx, 0x5e6684f4b3960000
mov word [rbx + 0xb8], ax
mov r8, r15
mov rax, qword [r13 + 0x28]
mov qword [rbx], rax
mov rax, qword [r13 + 0x30]
mov qword [rbx + 8], rax
imul rax, qword [r13 + 8], 0x64
mov dword [rsp + 0x20], r14d
add rax, rcx
mov qword [rbx + 0x28], rax
imul rax, qword [r13 + 0x10], 0x64
add rax, rcx
mov qword [rbx + 0x10], rax
imul rax, qword [r13 + 0x18], 0x64
add rax, rcx
mov qword [rbx + 0x18], rax
imul rax, qword [r13 + 0x20], 0x64
add rax, rcx
mov qword [rbx + 0x20], rax
mov ecx, dword [r13 + 0x38]
mov r9d, dword [r13 + 0x40]
and ecx, 0x7fff
shl ecx, 0x10
call fcn.14005e460
jmp 0x14006e387
movabs rcx, 0x5e6684f4b3960000
mov word [rbx + 0xb8], r14w
mov qword [rbx + 0x28], rcx
lea r9, str.Directory
mov qword [rbx + 0x10], rcx
mov r8d, 9
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rax, qword [rsi + 0x90]
movzx r11d, word [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov r10, rdx
cmp r11w, 0x12
je 0x14006e320
lea r9, str.SymbolicLink
mov r8d, 0xc
cmp r11w, 0x18
jne 0x14006e343
nop dword [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
movzx eax, byte [r9]
lea r9, [r9 + 1]
dec r8
cmp ecx, eax
jne 0x14006e382
test r8, r8
jne 0x14006e2f0
mov eax, 0x400a1ff
jmp 0x14006e387
movzx ecx, word [r10]
lea r10, [r10 + 2]
movzx eax, byte [r9]
lea r9, [r9 + 1]
dec r8
cmp ecx, eax
jne 0x14006e343
test r8, r8
jne 0x14006e320
mov eax, 0x1041ff
jmp 0x14006e387
lea r9, str.Device
mov r8d, 6
cmp r11w, 0xc
jne 0x14006e382
nop word [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
movzx eax, byte [r9]
lea r9, [r9 + 1]
dec r8
cmp ecx, eax
jne 0x14006e382
test r8, r8
jne 0x14006e360
mov eax, 0x4021b6
jmp 0x14006e387
mov eax, 0x8081b6
mov dword [rbx + 0x30], eax
mov r12, qword [rsp + 0x68]
sub ebp, 1
je 0x14006e486
sub ebp, 1
je 0x14006e427
sub ebp, 1
je 0x14006e40b
sub ebp, 1
je 0x14006e3ef
cmp ebp, 1
je 0x14006e3cd
mov eax, 0xffffff1f
mov r13, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x78]
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rbx + 0x34], 5
cmp dword [rsi + 0x88], 0x4c
je 0x14006e3e1
mov r14d, dword [r13 + 0x40]
mov rcx, rsi
mov qword [rbx + 0x38], r14
call fcn.14006d800
jmp 0x14006e3b5
mov rcx, rsi
mov dword [rbx + 0x34], 4
mov dword [rbx + 0x38], 0xffffffff
mov byte [rbx + 0x3c], 0
call fcn.14006d800
jmp 0x14006e3b5
mov rcx, rsi
mov dword [rbx + 0x34], 3
mov dword [rbx + 0x38], 0xffffffff
mov byte [rbx + 0x3c], 0
call fcn.14006d800
jmp 0x14006e3b5
mov dword [rbx + 0x34], 2
mov qword [rbx + 0x38], 0xffffffffffffffff
mov dword [rbx + 0x40], 1
mov eax, dword [rsi + 0xa8]
mov dword [rbx + 0x44], eax
mov qword [rbx + 0x48], r14
cmp dword [rsi + 0x88], 0x25
jne 0x14006e46d
mov rax, qword [rsi + 0x90]
mov rcx, qword [rax + 0x60]
mov rax, r14
cmp rcx, 0xffffffffffffffff
cmovne rax, rcx
mov qword [rbx + 0x48], rax
mov rcx, rsi
mov qword [rbx + 0x50], 0
mov dword [rbx + 0x58], r14d
call fcn.14006d800
jmp 0x14006e3b5
mov rcx, rsi
mov dword [rbx + 0x34], 1
call fcn.14006d800
jmp 0x14006e3b5
mov r14, qword [rsp + 0x78]
mov eax, 0xfffffffe
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xfffffffc
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xfffffffa
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret