Function at 0x140003490
Capabilities:
Create process on windows
Get session user name

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
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r12d, r12d
mov dword [rbp - 0x58], 0x100
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
movups xmmword [rbp - 0x50], xmm0
test eax, eax
je 0x14000350f
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x140003500
lea rdx, [rbp + 0x60]
jmp 0x14000351c
mov r8d, 0x18
lea rdx, str.Error_getting_user_name.
lea rcx, [rbp - 0x50]
call fcn.140001d50
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r14, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r15, qword [rbp - 0x38]
cmp r15, 0xf
cmova r14, rsi
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp - 0x40]
cmp rdi, rbx
ja 0x140003898
mov qword [rsp + 0x68], 0xf
cmp rdi, 0xf
ja 0x140003585
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x50], xmm0
jmp 0x14000361a
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x1400035c1
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006740
mov rcx, rax
test rax, rax
je 0x140003745
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400035fb
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400035ec
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000389e
jmp 0x14000359f
test rcx, rcx
je 0x1400035f8
call fcn.140006740
jmp 0x1400035fb
mov rax, r12
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400055d0
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x140003673
lea rax, [rcx + 0x1b]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140003654
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0x1b
lea rdx, str.AppDataRoaming_vc125.exe_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], 0
jmp 0x140003693
mov qword [rsp + 0x20], 0x1b
lea r9, str.AppDataRoaming_vc125.exe_
mov edx, 0x1b
mov rcx, rdi
call fcn.1400061c0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400036ff
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400069c4
movdqa xmm0, xmmword [0x140008d80]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003751
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000374c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000374c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400069c4
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov dword [rbp - 0x10], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400037df
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000381d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003818
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400069c4
movdqa xmm0, xmmword [0x140008d80]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
cmp r15, 0xf
jbe 0x140003868
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003860
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400069c4
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140006720
lea r11, [rsp + 0x270]
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
call fcn.1400012c0
nop
call fcn.140001220
int3