Function at 0x140047eb0
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x118
mov rax, qword [0x14005b028]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140048165
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140048165
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x14005bda8], rax
test rax, rax
je 0x140048165
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x14005bdf0], rax
test rax, rax
je 0x140048165
mov rcx, qword [0x14005bda8]
lea rdx, str.NtUserSendInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140047f8e
mov rcx, qword [0x14005bdf0]
lea rdx, str.NtUserSendInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140047f8e
lea rdx, str.The_input_was_not_initialized_
lea rcx, [0x14004d700]
call fcn.140001420
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rsi
xor esi, esi
movups xmmword [0x14005be88], xmm0
mov qword [rsp + 0x110], rdi
mov edi, esi
movsd xmm1, qword [rcx + 0x10]
movsd qword [0x14005be98], xmm1
mov eax, dword [rcx + 0x18]
mov dword [0x14005bea0], eax
movzx eax, word [rcx + 0x1c]
mov word [0x14005bea4], ax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
lea edx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400480f2
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x8c]
lea r9d, [rsi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x88]
lea edx, [rsi + 0x1a]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14004802b
mov ebx, dword [rsp + 0x8c]
lea edi, [rsi + 1]
jmp 0x140048033
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400480fa
cmp dword [rsp + 0x88], esi
jne 0x1400480fe
lea rcx, [rsp + 0x68]
call fcn.140042d20
test eax, eax
jne 0x14004813e
lea rcx, [rsp + 0x90]
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 + 0x90]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400480dd
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]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400480fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x14004813e
mov rcx, qword [0x14005bda8]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005bd80], rax
test rax, rax
jne 0x14004818c
mov rcx, qword [0x14005bdf0]
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005bd80], rax
test rax, rax
jne 0x14004818c
lea rdx, str.The_GUI_was_not_initialized_
lea rcx, [0x14004d700]
call fcn.140001420
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.The_libraries_were_not_initialized_
lea rcx, [0x14004d700]
call fcn.140001420
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140049680
add rsp, 0x118
ret