Function at 0x1400fa7a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x70
mov eax, dword [rdx + 0x90]
mov r9, rdx
mov r15, rcx
test eax, eax
je 0x1400faad8
cmp dword [rdx + 0x94], 0
je 0x1400faad8
movzx r10d, word [r9 + 6]
xor edx, edx
mov qword [rsp + 0x40], r14
lea r14, [rcx + rax]
test r10d, r10d
je 0x1400fa80e
movzx r11d, word [r9 + 0x14]
lea rcx, [rdx + rdx*4]
lea r8, [r11 + rcx*8]
mov ecx, dword [r8 + r9 + 0x24]
lea rax, [rcx + r15]
cmp r14, rax
jb 0x1400fa807
mov eax, dword [r8 + r9 + 0x28]
add rax, rcx
add rax, r15
cmp r14, rax
jb 0x1400fa81f
inc edx
cmp edx, r10d
jb 0x1400fa7e1
mov r14, qword [rsp + 0x40]
mov eax, 0xc0000049
add rsp, 0x70
pop r15
ret
mov edx, dword [r8 + r9 + 0x20]
mov rax, rcx
add rax, r15
je 0x1400fa80e
test rdx, rdx
je 0x1400fa80e
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x98]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x98], rdx
mov r9d, 4
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov esi, eax
test eax, eax
js 0x1400faa36
mov ecx, dword ds:[r14 + 0xc]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
test ecx, ecx
je 0x1400faa89
mov ebp, 0x5a4d
nop dword [rax]
mov eax, dword [r14]
lea rdx, [0x1401f02b0]
mov ebx, ecx
mov r13, r14
mov ecx, dword [r14 + 0x10]
add rbx, r15
test eax, eax
cmove eax, ecx
mov edi, eax
lea r12, [r15 + rcx]
mov rcx, rbx
add rdi, r15
call fcn.1401a8df0
nop dword [rax]
test eax, eax
jne 0x1400fa8f2
mov rbx, qword [0x140241948]
xor esi, esi
jmp 0x1400fa99e
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400fa900
mov rcx, rbx
call sym.ProcessHacker.exe_PhZeroExtendToUtf16Ex
mov rbp, rax
mov rcx, qword [rax + 8]
call fcn.1400f9d00
mov rbx, rax
test rax, rax
jne 0x1400fa979
mov rsi, qword [rbp + 8]
xor edx, edx
mov rcx, rsi
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400fa95e
xor edx, edx
mov r8d, 0xa00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1400fa962
xor esi, esi
jmp 0x1400fa979
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jle 0x1400fa979
movzx esi, ax
or esi, 0xc0070000
lea rcx, [rbp - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400fa991
call fcn.1400fbcc0
test esi, esi
js 0x1400faad1
mov ebp, 0x5a4d
nop
test rbx, rbx
je 0x1400faac7
mov rax, qword [rdi]
test rax, rax
je 0x1400faa79
sub r12, rdi
test rax, rax
nop dword [rax + rax]
jns 0x1400faa47
movzx r9d, word [rdi]
cmp word [rbx], bp
jne 0x1400faa15
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1400faa15
cmp dword [rcx + rbx], 0x4550
jne 0x1400faa15
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400faa15
cmp dword [rdx + 4], 0
je 0x1400faa15
mov word [rsp + 0x20], r9w
lea r8, [rbx + rax]
xor r9d, r9d
mov rcx, rbx
call fcn.1400fa1a0
test rax, rax
jne 0x1400faa65
mov eax, 0xc0000138
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
add rsp, 0x70
pop r15
ret
movzx r8d, word [rax + r15]
lea rdx, [r15 + 2]
add rdx, rax
mov rcx, rbx
call fcn.1400fa480
nop dword [rax + rax]
test rax, rax
je 0x1400faabd
mov qword [r12 + rdi], rax
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x1400fa9bb
mov ecx, dword [r13 + 0x20]
add r14, 0x14
test ecx, ecx
jne 0x1400fa8b0
mov r9d, dword [rsp + 0x88]
lea rax, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
jmp 0x1400faa1a
mov eax, 0xc000007a
jmp 0x1400faa1a
mov eax, 0xc0000001
jmp 0x1400faa1a
mov eax, esi
jmp 0x1400faa1a
mov eax, 0xc0000020
add rsp, 0x70
pop r15
ret