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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14007a2b0]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov qword [rbp - 0x80], r8
mov qword [rsp + 0x38], r9
mov r10, rdx
mov r8, rcx
mov ebx, esi
test rcx, rcx
jne 0x1400ad25f
xor eax, eax
jmp 0x1400ad51d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ad258
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400ad258
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x1400ad29a
mov r11d, dword [rax + r8 + 0x8c]
mov ecx, dword [rax + r8 + 0x88]
mov dword [rsp + 0x30], r11d
jmp 0x1400ad2a8
mov ecx, dword [rax + r8 + 0x7c]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rax + r8 + 0x78]
mov edx, ecx
mov r9d, esi
add rdx, r8
mov eax, dword [rdx + 0x1c]
mov r11d, dword [rdx + 0x24]
add rax, r8
mov edi, dword [rdx + 0x20]
add r11, r8
add rdi, r8
mov qword [rsp + 0x40], rax
mov eax, dword [rdx + 0x14]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x34], eax
test eax, eax
je 0x1400ad51a
mov rcx, rsi
cmp r10, 0xffff
ja 0x1400ad2f3
movzx r11d, r9w
jmp 0x1400ad30b
cmp r9d, dword [rdx + 0x18]
jae 0x1400ad258
mov eax, r9d
mov ecx, dword [rdi + rax*4]
movzx r11d, word [r11 + rax*2]
add rcx, r8
cmp r10, 0xffff
ja 0x1400ad404
movzx ecx, r11w
add ecx, dword [rdx + 0x10]
movzx eax, r10w
cmp eax, ecx
jne 0x1400ad42b
mov rcx, qword [rsp + 0x40]
movzx eax, r11w
mov ebx, dword [rcx + rax*4]
add rbx, r8
cmp rbx, rdx
jb 0x1400ad51a
mov eax, dword [rsp + 0x30]
add rax, rdx
cmp rbx, rax
ja 0x1400ad51a
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x200
call fcn.140034240
xor eax, eax
mov word [rsp + 0x50], si
mov word [rsp + 0x60], si
mov edi, esi
mov word [rsp + 0x40], si
mov rsi, qword [rbp - 0x80]
mov qword [rsp + 0x52], rax
mov dword [rsp + 0x5a], eax
mov word [rsp + 0x5e], ax
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
test rsi, rsi
je 0x1400ad51d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x40], 0x2000000
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
xor ebx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx edx, word [rsp + 0x40]
mov ecx, ebx
shr edx, 1
je 0x1400ad457
mov r8, qword [rsp + 0x48]
mov eax, ecx
cmp word [r8 + rax*2], 0x2e
je 0x1400ad443
inc ecx
cmp ecx, edx
jb 0x1400ad3f2
jmp 0x1400ad457
mov rsi, r10
sub rsi, rcx
movzx eax, byte [rcx]
movzx edi, byte [rcx + rsi]
sub eax, edi
jne 0x1400ad41c
inc rcx
test edi, edi
jne 0x1400ad40a
xor esi, esi
test eax, eax
je 0x1400ad32b
mov rdi, qword [rsp + 0x70]
mov r11, qword [rsp + 0x50]
inc r9d
cmp r9d, dword [rsp + 0x34]
jb 0x1400ad2e1
jmp 0x1400ad51a
movzx eax, cx
mov edi, ecx
add ax, ax
mov word [rsp + 0x40], ax
mov eax, ecx
mov word [r8 + rax*2], bx
mov rdx, qword [rsp + 0x58]
inc rdx
mov ecx, edi
add rdx, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [0x1400b0bc0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
xor eax, eax
mov word [rsp + 0x70], bx
mov qword [rsp + 0x72], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x7a], eax
mov r8d, 1
mov word [rsp + 0x7e], ax
mov rdx, rsi
mov qword [rbp - 0x7e], rax
xor ecx, ecx
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov word [rbp - 0x80], bx
call fcn.1400af118
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400aca38
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea rdx, [rbp - 0x80]
mov rcx, rsi
test rax, rax
setne r8b
call fcn.1400acf58
mov rdx, qword [rsp + 0x68]
lea r9, [rbp - 0x80]
mov r8, rsi
mov rcx, rax
call fcn.1400ad218
lea rcx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14002ff90
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret