Function at 0x14001d220
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x2a8], 0xfffffffffffffffe
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [0x14002a380]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xa0], rax
lea rcx, [0x14002a390]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0x78]
call fcn.140004760
nop
lea rdx, [0x14002a3a0]
lea rcx, [rsp + 0x78]
call fcn.1400048b0
xor eax, eax
cmp eax, 1
je 0x14001d30c
lea rcx, [rsp + 0x78]
call fcn.140004a40
mov rcx, rax
call fcn.14001bec0
cmp eax, 1
jne 0x14001d2f3
lea rcx, str.Exit_login_user.
call fcn.140021de0
jmp 0x14001d30c
lea rcx, str.waiting_for_login_user.
call fcn.140021de0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d2c7
mov dword [rsp + 0x60], 1
cmp qword [rsp + 0xb0], 0
je 0x14001d3e0
cmp qword [rsp + 0xa0], 0
je 0x14001d3e0
lea rdx, [0x14002a3e0]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, [0x14002a400]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, [0x14002a418]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
lea rdx, [0x14002a430]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xc0], 0
je 0x14001d3cc
cmp qword [rsp + 0xa8], 0
je 0x14001d3cc
cmp qword [rsp + 0x68], 0
je 0x14001d3cc
cmp qword [rsp + 0xb8], 0
jne 0x14001d3e0
lea rcx, [0x14002a440]
call fcn.140021d50
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0xb0], 0
je 0x14001d932
cmp dword [rsp + 0x60], 0
je 0x14001d932
lea rcx, [0x14002a460]
call fcn.140021de0
call qword [rsp + 0xa8]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0xffffffff
jne 0x14001d431
mov edx, dword [rsp + 0xd0]
lea rcx, [0x14002a498]
call fcn.140021d50
mov edx, dword [rsp + 0xd0]
lea rcx, [0x14002a4b0]
call fcn.140021de0
mov qword [rsp + 0xc8], 0
lea rcx, [0x14002a4c8]
call fcn.140021de0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x14002a4f0]
call fcn.140021de0
mov rdx, qword [rsp + 0x68]
lea rcx, [0x14002a518]
call fcn.140021de0
lea rdx, [rsp + 0xc8]
mov ecx, dword [rsp + 0xd0]
call qword [rsp + 0x68]
mov dword [rsp + 0x11c], eax
lea rcx, [0x14002a538]
call fcn.140021de0
cmp dword [rsp + 0x11c], 0
jne 0x14001d609
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14002a550]
call fcn.140021d50
mov dword [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1b8]
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [rsp + 0xc0]
mov dword [rsp + 0x11c], eax
cmp dword [rsp + 0x11c], 0
jne 0x14001d554
lea rcx, [0x14002a580]
call fcn.140021d50
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x290], 0
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x290]
jmp 0x14001dc36
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsp + 0x1c0], 0
jmp 0x14001d57a
mov eax, dword [rsp + 0x1c0]
add eax, 1
mov dword [rsp + 0x1c0], eax
mov eax, dword [rsp + 0x1b0]
cmp dword [rsp + 0x1c0], eax
jae 0x14001d5fa
mov ecx, dword [rsp + 0x1c0]
imul rcx, rcx, 0x18
lea rdx, [rsp + 0xc8]
mov rax, qword [rsp + 0x1b8]
mov ecx, dword [rax + rcx]
call qword [rsp + 0x68]
mov dword [rsp + 0x11c], eax
cmp dword [rsp + 0x11c], 1
jne 0x14001d5e1
mov ecx, dword [rsp + 0x1c0]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x1b8]
mov edx, dword [rax + rcx]
lea rcx, [0x14002a5a0]
call fcn.140021de0
jmp 0x14001d5f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14002a5c8]
call fcn.140021d50
jmp 0x14001d569
mov rcx, qword [rsp + 0x1b8]
call qword [rsp + 0xb8]
mov qword [rsp + 0x1a8], 0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea rcx, str.DuplicateTokenEx__
call fcn.140021de0
mov qword [rsp + 0x1a0], 0
mov dword [rsp + 0x120], 0x30
xor r8d, r8d
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14001d69b
mov eax, dword [rsp + 0x120]
or eax, 0x400
mov dword [rsp + 0x120], eax
jmp 0x14001d6b3
mov qword [rsp + 0x1a0], 0
lea rcx, str.CreateEnvironmentBlock___Fail...
call fcn.140021de0
lea rcx, str.CreateEnvironmentBlock__
call fcn.140021de0
lea rcx, [rsp + 0xf0]
call fcn.140004760
nop
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0xf0]
call fcn.1400048b0
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14000a120
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.14000a120
mov dword [rsp + 0x130], 0x68
lea rax, [0x14002a658]
mov qword [rsp + 0x140], rax
lea rcx, str.Call_CreateProcessAsUser___start...
call fcn.140021de0
lea rcx, [rsp + 0xf0]
call fcn.140004a40
mov rdx, rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x14001d824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1c4], eax
mov edx, dword [rsp + 0x1c4]
lea rcx, str.ERR:_CreateProcessAsUser_error..._d
call fcn.140021cc0
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov dword [rsp + 0x294], 0
lea rcx, [rsp + 0xf0]
call fcn.140004860
nop
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x294]
jmp 0x14001dc36
cmp dword [rsp + 0x2f0], 0
je 0x14001d86a
mov edx, dword [rsp + 0xe8]
lea rcx, str.the_wait_process_id_is__d
call fcn.140021de0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp dword [rsp + 0x2f0], 0
je 0x14001d8af
lea rax, [0x1400275fa]
mov qword [rsp + 0x2b0], rax
jmp 0x14001d8be
lea rax, [0x140029cc4]
mov qword [rsp + 0x2b0], rax
lea rcx, [rsp + 0xf0]
call fcn.140004a40
mov r8, qword [rsp + 0x2b0]
mov rdx, rax
lea rcx, [0x14002a6d8]
call fcn.140021de0
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x298], 1
lea rcx, [rsp + 0xf0]
call fcn.140004860
nop
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x298]
jmp 0x14001dc36
lea rcx, str.it_run_only_Win2000_and_autorun_call_process.
call fcn.140021de0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x220]
call fcn.14000a120
mov dword [rsp + 0x220], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.14000a120
lea rcx, [rsp + 0x1e8]
call fcn.140004760
nop
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x1e8]
call fcn.1400048b0
mov qword [rsp + 0x1c8], 0
lea rcx, str.explorer.exe
call fcn.14001c340
mov qword [rsp + 0x1c8], rax
cmp qword [rsp + 0x1c8], 0
je 0x14001da85
lea rcx, [rsp + 0x1e8]
call fcn.140004a40
mov rdx, rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x1c8]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x14001da80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, 0x2f3
lea rcx, str.LINE:__d_ERR:_CreateProcessAsUser_error..._d
call fcn.140021cc0
mov dword [rsp + 0x29c], 0
lea rcx, [rsp + 0x1e8]
call fcn.140004860
nop
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x29c]
jmp 0x14001dc36
jmp 0x14001db32
lea rcx, [rsp + 0x1e8]
call fcn.140004a40
mov rcx, rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001db32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, 0x305
lea rcx, str.LINE:__d_ERR:_CreateProcess_error..._d
call fcn.140021cc0
mov dword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x1e8]
call fcn.140004860
nop
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x2a0]
jmp 0x14001dc36
lea rcx, [rsp + 0x1e8]
call fcn.140004a40
mov rdx, rax
lea rcx, str.Path___s
call fcn.140021de0
mov rdx, qword [rsp + 0x2e8]
lea rcx, str.command___s
call fcn.140021de0
cmp dword [rsp + 0x2f0], 0
je 0x14001db95
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x2f0], 0
je 0x14001dbcc
lea rax, [0x1400275fb]
mov qword [rsp + 0x2b8], rax
jmp 0x14001dbdb
lea rax, [0x140029d0c]
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0x1e8]
call fcn.140004a40
mov r8, qword [rsp + 0x2b8]
mov rdx, rax
lea rcx, str.Run__s_and__s_wait__SUC...
call fcn.140021de0
mov dword [rsp + 0x2a4], 1
lea rcx, [rsp + 0x1e8]
call fcn.140004860
nop
lea rcx, [rsp + 0x78]
call fcn.140004860
mov eax, dword [rsp + 0x2a4]
jmp 0x14001dc36
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140009950
add rsp, 0x2d8
ret