Function at 0x14003e600
Capabilities:
Accept command line arguments
Create process on windows
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1402e6100]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003e729
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x50]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x40]
mov edx, 0x1a
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14003e678
mov ebx, 1
jmp 0x14003e67e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14003e72f
cmp dword [rbp - 0x40], edi
jne 0x14003e72f
lea rcx, [rbp - 0x60]
call fcn.14003e280
test eax, eax
jne 0x14003e72f
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp - 0x30]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp - 0x60]
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 0x14003e717
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 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 [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003e72f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x160], rsi
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call fcn.14009fb14
mov rbx, rax
movabs rsi, 0x7ac558b4bded8026
movabs rax, 0xd3ef1da9e8407ddf
movabs rdi, 0xd3ef1da9e8407dad
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rcx
xor ecx, ecx
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x78], rax
movabs rax, 0xd3ef39e7a10e32ee
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14009fb14
mov r9, rbx
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400a9e78
mov ecx, 1
call fcn.14009fb14
mov rbx, rax
movabs rax, 0xd3ef1da9e8407dda
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x78], rax
movabs rax, 0xd3cb49fca70e32ee
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
mov ecx, 1
call fcn.14009fb14
mov r9, rbx
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400a9e78
movabs rax, 0xd3ef1da9e8407d8d
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.1400094f0
cmp byte [0x140315cb8], 0
jne 0x14003e9b6
movabs rbx, 0x7fffffffc46535ff
mov esi, 0xff
movabs rdi, 0x7fffffffffffffff
nop
lea rcx, [rsp + 0x70]
call fcn.1400063f0
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x50], rax
cmp rax, rbx
je 0x14003e9a0
mov ecx, 1
cmovl ecx, esi
test cl, cl
jns 0x14003e9a0
add rax, 0x3b9aca00
mov qword [rbp - 0x50], rax
jmp 0x14003e9a4
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x50]
call fcn.14000c7b0
cmp byte [0x140315cb8], 0
je 0x14003e970
mov rsi, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400998e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret