Function at 0x140008130
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 0x1400083d3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400083d3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400083d3
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x1400081bd
mov esi, dword [rax + r8 + 0x8c]
mov ecx, dword [rax + r8 + 0x88]
jmp 0x1400081c7
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 r15d, dword [rdx + 0x24]
mov r12d, dword [rdx + 0x20]
add r15, r8
mov edi, dword [rdx + 0x1c]
add r12, r8
add rdi, r8
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400083ce
cmp r14, 0xffff
ja 0x14000820e
movzx ecx, r9w
movzx r13d, r9w
add ecx, dword [rdx + 0x10]
movzx eax, r14w
cmp eax, ecx
jmp 0x140008244
cmp r9d, dword [rdx + 0x18]
jae 0x1400083d3
mov eax, r9d
mov r11, r14
mov ecx, dword [r12 + rax*4]
movzx r13d, word [r15 + rax*2]
add rcx, r8
sub r11, rcx
movzx eax, byte [rcx]
movzx r10d, byte [rcx + r11]
sub eax, r10d
jne 0x140008242
inc rcx
test r10d, r10d
jne 0x14000822d
test eax, eax
je 0x140008255
inc r9d
cmp r9d, dword [rsp + 0x40]
jb 0x1400081f2
jmp 0x1400083ce
movzx eax, r13w
mov ebx, dword [rdi + rax*4]
add rbx, r8
cmp rbx, rdx
jb 0x1400083ce
mov eax, esi
add rax, rdx
cmp rbx, rax
ja 0x1400083ce
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 0x1400083d3
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 0x14000831e
mov rdx, qword [rsp + 0x38]
mov r8d, ecx
cmp word [rdx + r8*2], 0x2e
je 0x14000830c
inc ecx
cmp ecx, eax
jb 0x1400082f9
jmp 0x14000831e
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, [0x14000efa0]
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.14000b0cc
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14000e6d4
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea rdx, [rsp + 0x60]
mov rcx, rsi
test rax, rax
setne r8b
call fcn.140008488
mov rdx, qword [rbp - 0x78]
lea r9, [rsp + 0x60]
mov r8, rsi
mov rcx, rax
call fcn.140008130
lea rcx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rax, rbx
jmp 0x1400083d5
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400023d0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret