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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12d, dword [rsp + 0xa0]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x88]
mov rdi, rcx
mov rbx, r9
mov byte [rsp + 0x90], r8b
lea r8, [rsp + 0x90]
call fcn.140176490
mov rsi, rax
test bl, 3
jne 0x140176c97
mov rbp, qword [rax]
mov rax, rbp
mov r13, rbp
and eax, 3
and r13, 0xfffffffffffffffc
cmp rax, 2
je 0x140176a50
cmp rax, 3
je 0x140176970
test rax, rax
jne 0x140176a90
test rbp, rbp
jne 0x140176cb1
mov rax, qword [rbx + 0x24]
mov rdx, qword [rbx + 0x2c]
xor rax, qword [0x14021bbe0]
xor rdx, qword [0x14021bbe8]
or rax, rdx
je 0x140176af0
movzx r12d, r12b
xor eax, eax
or r12, rbx
mov qword [rsi], r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [0x14022c970]
mov rdx, r13
mov rcx, rbx
mov rax, qword [rax]
mov rax, qword [rax + 0x170]
mov rax, qword [rax + 0x10]
movzx r8d, byte [r13 + rax - 1]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140176bb0
mov rax, qword [rbx + 0x24]
mov rdx, qword [rbx + 0x2c]
xor rax, qword [0x14021bbe0]
xor rdx, qword [0x14021bbe8]
or rax, rdx
je 0x140176ab8
mov edx, pe_nt_image_headers64
mov ecx, 1
call fcn.1400bd320
mov r9, r13
mov rcx, rdi
mov r14, rax
movzx eax, byte [rsp + 0x90]
mov rdx, r14
lea ebp, [rax + 1]
mov rax, qword [rsp + 0xa8]
movzx ebp, bpl
mov qword [rsp + 0x28], rax
mov eax, dword [rsi]
mov r8d, ebp
and eax, 3
mov dword [rsp + 0x20], eax
call fcn.1401768b0
test eax, eax
jne 0x140176a3a
mov rax, r14
movzx r12d, r12b
mov r9, rbx
mov r8d, ebp
or rax, 1
mov rdx, r14
mov rcx, rdi
mov qword [rsi], rax
mov rax, qword [rsp + 0xa8]
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x28], rax
call fcn.1401768b0
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp r12b, 2
je 0x140176b18
cmp r12b, 3
jne 0x140176a90
mov rax, qword [0x14022c970]
mov rdx, rbx
mov rcx, r13
mov rax, qword [rax]
mov rax, qword [rax + 0x170]
mov rax, qword [rax + 0x10]
movzx r8d, byte [rbx + rax - 1]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140176c10
nop
and ebp, 2
jne 0x14017699e
mov r8d, 0x138
lea rdx, str.notes.c
lea rcx, str.GET_PTR_TYPE_p___PTR_TYPE_NOTE__GET_PTR_TYPE_p___PTR_TYPE_SUBTREE
call qword [sym.imp.msvcrt.dll__assert]
nop dword [rax + rax]
mov rax, qword [rbx + 0x34]
mov rdx, qword [rbx + 0x3c]
xor rax, qword [0x14021bbf0]
xor rdx, qword [0x14021bbf8]
or rax, rdx
jne 0x1401769bd
mov rcx, rbx
call fcn.1400eaf30
xor eax, eax
jmp 0x14017695a
mov rax, qword [rbx + 0x34]
mov rdx, qword [rbx + 0x3c]
xor rax, qword [0x14021bbf0]
xor rdx, qword [0x14021bbf8]
or rax, rdx
jne 0x14017694e
jmp 0x140176ad7
mov rax, qword [r13]
mov rdx, qword [r13 + 8]
xor rax, qword [rbx]
xor rdx, qword [rbx + 8]
or rax, rdx
jne 0x140176a90
mov rax, qword [r13 + 0x10]
mov rdx, qword [r13 + 0x18]
xor rax, qword [rbx + 0x10]
xor rdx, qword [rbx + 0x18]
or rax, rdx
jne 0x140176a90
mov rax, qword [r13 + 0x24]
mov rcx, qword [r13 + 0x2c]
lea rdx, [rbx + 0x24]
lea rsi, [r13 + 0x24]
xor rax, qword [rbx + 0x24]
xor rcx, qword [rbx + 0x2c]
or rax, rcx
je 0x140176c31
mov rcx, rsi
call qword [rsp + 0xa8]
test eax, eax
jne 0x140176b97
mov rdx, qword [r13 + 0x24]
mov rcx, qword [r13 + 0x2c]
xor rdx, qword [0x14021bbe0]
xor rcx, qword [0x14021bbe8]
or rdx, rcx
je 0x140176c4f
mov rcx, rbx
mov dword [rsp + 0x3c], eax
call fcn.1400eaf30
mov eax, dword [rsp + 0x3c]
jmp 0x140176a3a
movzx ebp, byte [rsp + 0x90]
mov qword [rsi], 0
mov rdx, r13
mov rcx, rdi
mov rsi, qword [rsp + 0x88]
movzx r12d, r12b
mov r9d, ebp
mov r8, rsi
call fcn.140175c90
mov rcx, r13
call fcn.1400eaf30
mov dword [rsp + 0x20], r12d
mov r9, rbx
mov r8d, ebp
mov rax, qword [rsp + 0xa8]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.1401768b0
jmp 0x140176a3a
movzx r9d, byte [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdx, rbx
mov rcx, rdi
call fcn.140175c90
jmp 0x140176ad7
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
xor rax, qword [rdx + 0x10]
xor rcx, qword [rdx + 0x18]
or rax, rcx
jne 0x140176b6a
jmp 0x140176ad7
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
xor rdx, qword [0x14021bbf0]
xor rcx, qword [0x14021bbf8]
or rdx, rcx
jne 0x140176b97
movzx r8d, byte [rsp + 0x90]
mov r9, rbx
mov rcx, rdi
mov dword [rsp + 0x3c], eax
mov rdx, qword [rsp + 0x88]
call fcn.140176600
mov eax, dword [rsp + 0x3c]
jmp 0x140176b97
mov r8d, 0x104
lea rdx, str.notes.c
lea rcx, str.GET_PTR_TYPE_entry___0
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x108
lea rdx, str.notes.c
lea rcx, [0x14021b9e7]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop dword [rax]