Function at 0x140003060
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x80], r9
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x200
xor edi, edi
call fcn.140005440
xor eax, eax
xor r10d, r10d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], eax
test rbx, rbx
je 0x140003390
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140003390
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x140003390
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x140003137
mov r14d, dword [rax + rbx + 0x8c]
mov ecx, dword [rax + rbx + 0x88]
jmp 0x140003140
mov r14d, dword [rax + rbx + 0x7c]
mov ecx, dword [rax + rbx + 0x78]
mov edx, ecx
mov r8d, r10d
add rdx, rbx
mov eax, dword [rdx + 0x14]
mov r12d, dword [rdx + 0x24]
mov r13d, dword [rdx + 0x20]
add r12, rbx
mov r15d, dword [rdx + 0x1c]
add r13, rbx
add r15, rbx
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140003209
mov rcx, r10
cmp rsi, 0xffff
ja 0x14000317e
movzx r11d, r8w
jmp 0x14000319c
cmp r8d, dword [rdx + 0x18]
jae 0x140003390
mov eax, r8d
mov ecx, dword [r13 + rax*4]
movzx r11d, word [r12 + rax*2]
add rcx, rbx
mov eax, dword [rsp + 0x30]
cmp rsi, 0xffff
ja 0x1400031b3
movzx ecx, r11w
add ecx, dword [rdx + 0x10]
movzx eax, si
cmp eax, ecx
jmp 0x1400031f7
test rcx, rcx
je 0x1400031fd
or r9, 0xffffffffffffffff
inc r9
cmp byte [rcx + r9], r10b
jne 0x1400031bc
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], r10b
jne 0x1400031c9
cmp r9, rax
jne 0x1400031f9
mov r10, rsi
sub r10, rcx
movzx eax, byte [rcx]
movzx r9d, byte [rcx + r10]
sub eax, r9d
jne 0x1400031f2
inc rcx
test r9d, r9d
jne 0x1400031dd
xor r10d, r10d
test eax, eax
je 0x140003211
mov eax, dword [rsp + 0x30]
inc r8d
cmp r8d, eax
jb 0x14000316c
mov rax, rdi
jmp 0x140003392
movzx eax, r11w
mov edi, dword [r15 + rax*4]
add rdi, rbx
cmp rdi, rdx
jb 0x140003209
mov eax, r14d
add rax, rdx
cmp rdi, rax
ja 0x140003209
mov rsi, qword [rsp + 0x78]
mov ebx, r10d
test rsi, rsi
je 0x140003390
mov rdx, rdi
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x38], 0x2000000
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x48]
xor edi, edi
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx eax, word [rsp + 0x38]
mov ecx, edi
shr eax, 1
je 0x1400032a5
mov r8, qword [rsp + 0x40]
mov edx, ecx
cmp word [r8 + rdx*2], 0x2e
je 0x140003293
inc ecx
cmp ecx, eax
jb 0x140003281
jmp 0x1400032a5
movzx eax, cx
mov ebx, ecx
add ax, ax
mov word [rsp + 0x38], ax
mov word [r8 + rdx*2], di
mov rdx, qword [rsp + 0x50]
inc rdx
mov ecx, ebx
add rdx, rcx
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rcx, [rbp - 0x68]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1400032c4
mov eax, dword [0x140005d60]
mov dword [rcx], eax
movzx eax, word [0x140005d64]
mov word [rcx + 4], ax
lea rcx, [rbp - 0x68]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1400032e8
mov eax, dword [0x140005af0]
lea rdx, [rbp - 0x68]
mov dword [rcx], eax
movzx eax, word [0x140005af4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rax, [rsp + 0x68]
mov r8d, 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
mov rax, qword [rbp - 0x80]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140004004
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14000452c
mov rcx, rsi
call sub.ntoskrnl.exe_PsGetProcessWow64Process
test rax, rax
lea rdx, [rsp + 0x58]
mov r9b, 1
mov rcx, rsi
setne r8b
call fcn.140003958
mov rdx, qword [rbp - 0x70]
lea r9, [rsp + 0x58]
mov r8, rsi
mov rcx, rax
call fcn.140003060
lea rcx, [rsp + 0x68]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rax, rbx
jmp 0x140003392
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140005270
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret