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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140005090]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r10d, r10d
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x48], r9
mov r14, rdx
mov r8, rcx
mov ebx, r10d
test rcx, rcx
je 0x1400083fc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400083fc
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400083fc
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x1400081e5
mov esi, dword [rax + r8 + 0x8c]
mov ecx, dword [rax + r8 + 0x88]
jmp 0x1400081ef
mov esi, dword [rax + r8 + 0x7c]
mov ecx, dword [rax + r8 + 0x78]
mov edx, ecx
mov r9d, r10d
add rdx, r8
mov eax, dword [rdx + 0x14]
mov r12d, dword [rdx + 0x24]
mov r13d, dword [rdx + 0x20]
add r12, r8
mov edi, dword [rdx + 0x1c]
add r13, r8
add rdi, r8
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400083f7
cmp r14, 0xffff
ja 0x140008236
movzx ecx, r9w
movzx r15d, r9w
add ecx, dword [rdx + 0x10]
movzx eax, r14w
cmp eax, ecx
jmp 0x14000826d
cmp r9d, dword [rdx + 0x18]
jae 0x1400083fc
mov eax, r9d
mov r11, r14
mov ecx, dword [r13 + rax*4]
movzx r15d, word [r12 + rax*2]
add rcx, r8
sub r11, rcx
movzx eax, byte [rcx]
movzx r10d, byte [rcx + r11]
sub eax, r10d
jne 0x14000826b
inc rcx
test r10d, r10d
jne 0x140008256
test eax, eax
je 0x14000827e
inc r9d
cmp r9d, dword [rsp + 0x40]
jb 0x14000821a
jmp 0x1400083f7
movzx eax, r15w
mov ebx, dword [rdi + rax*4]
add rbx, r8
cmp rbx, rdx
jb 0x1400083f7
mov eax, esi
add rax, rdx
cmp rbx, rax
ja 0x1400083f7
mov r15d, 0x200
lea rcx, [rbp - 0x70]
mov r8d, r15d
xor edx, edx
call fcn.140002640
mov rsi, qword [rsp + 0x30]
xor r14d, r14d
xorps xmm0, xmm0
xorps xmm1, xmm1
mov edi, r14d
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x80], xmm1
test rsi, rsi
je 0x1400083fc
lfence
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
xor r8d, r8d
mov word [rsp + 0x32], r15w
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx eax, word [rsp + 0x30]
mov ecx, r14d
shr eax, 1
je 0x140008347
mov rdx, qword [rsp + 0x38]
mov r8d, ecx
cmp word [rdx + r8*2], 0x2e
je 0x140008335
inc ecx
cmp ecx, eax
jb 0x140008322
jmp 0x140008347
movzx eax, cx
mov edi, ecx
add ax, ax
mov word [rsp + 0x30], ax
mov word [rdx + r8*2], r14w
mov rdx, qword [rsp + 0x58]
inc rdx
mov ecx, edi
add rdx, rcx
lea rcx, [rbp - 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [0x14000ef80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rax, [rsp + 0x70]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rax, qword [rsp + 0x48]
xorps xmm1, xmm1
mov r8d, 1
mov qword [rsp + 0x20], rax
mov rdx, rsi
xor ecx, ecx
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
call fcn.14000b0c8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14000e6b4
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea rdx, [rsp + 0x60]
mov rcx, rsi
test rax, rax
setne r8b
call fcn.1400084b0
mov rdx, qword [rbp - 0x78]
lea r9, [rsp + 0x60]
mov r8, rsi
mov rcx, rax
call fcn.140008158
lea rcx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rax, rbx
jmp 0x1400083fe
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400025d0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret