Function at 0x14001f410
Capabilities:
Create process on windows

Disassembly:
jmp 0x14001f410
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x908
lea rdi, [rsp + 0x60]
mov ecx, 0x22a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x920]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14001f487
lea rdx, [0x140233e70]
lea rcx, [rsp + 0x460]
call fcn.140007d47
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x460]
call fcn.140009be2
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, str.WinSta0Default
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x128]
call fcn.14000411f
nop
lea rcx, [rsp + 0x128]
call fcn.1400025d6
mov dword [rsp + 0x870], eax
lea rcx, [rsp + 0x128]
call fcn.140002de7
mov qword [rsp + 0x878], rax
mov r8d, dword [rsp + 0x870]
mov rdx, qword [rsp + 0x878]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r8d, r8d
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x168]
call fcn.140001654
nop
movzx eax, byte [rsp + 0x928]
test eax, eax
je 0x14001f57c
xor r8d, r8d
lea rdx, str.testapp.exe
lea rcx, [rsp + 0x198]
call fcn.140001a69
nop
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x168]
call fcn.140001b04
nop
lea rcx, [rsp + 0x198]
call fcn.140008440
jmp 0x14001f5b7
xor r8d, r8d
lea rdx, str.TeamTrackr.exe
lea rcx, [rsp + 0x1c0]
call fcn.140005add
nop
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x168]
call fcn.140001b04
nop
lea rcx, [rsp + 0x1c0]
call fcn.140008440
mov edx, 1
lea rcx, [rsp + 0x200]
call fcn.14000917e
nop
lea rdx, [0x140233ee4]
lea rcx, [rsp + 0x200]
call fcn.1400051aa
mov qword [rsp + 0x880], rax
lea rdx, [rsp + 0x2f8]
lea rcx, [rsp + 0x168]
call fcn.14000992b
mov qword [rsp + 0x888], rax
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x890], rax
mov rax, qword [rsp + 0x890]
mov qword [rsp + 0x898], rax
mov rdx, qword [rsp + 0x898]
mov rcx, qword [rsp + 0x880]
call fcn.14000588f
lea rdx, [0x140233ee0]
mov rcx, rax
call fcn.1400051aa
nop
lea rcx, [rsp + 0x2f8]
call fcn.140007cb1
mov rcx, qword [rsp + 0x930]
call fcn.140008945
movzx eax, al
test eax, eax
jne 0x14001f6d1
lea rdx, [0x140233ee8]
lea rcx, [rsp + 0x200]
call fcn.1400051aa
mov qword [rsp + 0x8a0], rax
lea rax, [rsp + 0x478]
mov rdi, rax
mov rsi, qword [rsp + 0x930]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x7a0]
lea rcx, [rsp + 0x478]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x7a0]
mov rcx, qword [rsp + 0x8a0]
call fcn.140005e7a
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0x200]
call fcn.140003431
nop
mov eax, dword [rsp + 0x920]
mov dword [rsp + 0x364], eax
cmp dword [rsp + 0x920], 0
jne 0x14001f70c
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsp + 0x364], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x378], rax
lea rax, [rsp + 0x488]
mov qword [rsp + 0x4c8], rax
xor edx, edx
mov rcx, qword [rsp + 0x4c8]
call fcn.140008aad
mov qword [rsp + 0x8a8], rax
xor r9d, r9d
mov r8, qword [rsp + 0x8a8]
mov rdx, qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x390]
call fcn.140009caa
nop
lea rcx, [rsp + 0x390]
call fcn.140003aee
mov r8, rax
mov edx, 2
mov rcx, qword [rsp + 0x378]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001f8d0
mov dword [rsp + 0x4f0], 0x27a
mov dword [rsp + 0x4f4], 0x2c
lea rax, [0x140233ef0]
mov qword [rsp + 0x4f8], rax
lea rax, [0x140233f20]
mov qword [rsp + 0x500], rax
lea rax, [rsp + 0x540]
lea rcx, [rsp + 0x4f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x558]
lea rcx, [rsp + 0x540]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8b0], eax
lea rax, [rsp + 0x508]
mov qword [rsp + 0x518], rax
lea rdx, str.OpenProcessToken_failed
mov rcx, qword [rsp + 0x518]
call fcn.14000456b
lea rcx, [rsp + 0x520]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x530]
lea rcx, [rsp + 0x520]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x7c0]
lea rcx, [rsp + 0x558]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x7b0]
lea rcx, [rsp + 0x530]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x7c0]
mov r8d, dword [rsp + 0x8b0]
lea rdx, [rsp + 0x7b0]
lea rcx, [rsp + 0x4d0]
call fcn.1400025b3
lea rdx, [0x1402d7c40]
lea rcx, [rsp + 0x4d0]
call fcn.140009be2
lea rax, [rsp + 0x570]
mov qword [rsp + 0x5b0], rax
xor edx, edx
mov rcx, qword [rsp + 0x5b0]
call fcn.140008aad
mov qword [rsp + 0x8b8], rax
xor r9d, r9d
mov r8, qword [rsp + 0x8b8]
mov rdx, qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x400]
call fcn.140009caa
nop
lea rcx, [rsp + 0x400]
call fcn.140003aee
mov qword [rsp + 0x8c0], rax
lea rcx, [rsp + 0x390]
call fcn.140001429
mov qword [rsp + 0x8c8], rax
mov rax, qword [rsp + 0x8c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x8c8]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x14001fabe
mov dword [rsp + 0x5d8], 0x27e
mov dword [rsp + 0x5dc], 0x2c
lea rax, [0x140233fc0]
mov qword [rsp + 0x5e0], rax
lea rax, [0x140233ff0]
mov qword [rsp + 0x5e8], rax
lea rax, [rsp + 0x628]
lea rcx, [rsp + 0x5d8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x640]
lea rcx, [rsp + 0x628]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8d0], eax
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x600], rax
lea rdx, str.DuplicateTokenEx_failed
mov rcx, qword [rsp + 0x600]
call fcn.14000456b
lea rcx, [rsp + 0x608]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x618]
lea rcx, [rsp + 0x608]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x7f0]
lea rcx, [rsp + 0x640]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x7e0]
lea rcx, [rsp + 0x618]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x7f0]
mov r8d, dword [rsp + 0x8d0]
lea rdx, [rsp + 0x7e0]
lea rcx, [rsp + 0x5b8]
call fcn.1400025b3
lea rdx, [0x1402d7c40]
lea rcx, [rsp + 0x5b8]
call fcn.140009be2
lea rcx, [rsp + 0x400]
call fcn.140001429
mov r9d, 4
lea r8, [rsp + 0x364]
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x14001fc33
mov dword [rsp + 0x678], 0x281
mov dword [rsp + 0x67c], 0x2c
lea rax, [0x140234090]
mov qword [rsp + 0x680], rax
lea rax, [0x1402340c0]
mov qword [rsp + 0x688], rax
lea rax, [rsp + 0x6c8]
lea rcx, [rsp + 0x678]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x6e0]
lea rcx, [rsp + 0x6c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8d4], eax
lea rax, [rsp + 0x690]
mov qword [rsp + 0x6a0], rax
lea rdx, str.SetTokenInformation_failed
mov rcx, qword [rsp + 0x6a0]
call fcn.14000456b
lea rcx, [rsp + 0x6a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x6b8]
lea rcx, [rsp + 0x6a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x820]
lea rcx, [rsp + 0x6e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x810]
lea rcx, [rsp + 0x6b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x820]
mov r8d, dword [rsp + 0x8d4]
lea rdx, [rsp + 0x810]
lea rcx, [rsp + 0x658]
call fcn.1400025b3
lea rdx, [0x1402d7c40]
lea rcx, [rsp + 0x658]
call fcn.140009be2
lea rcx, [rsp + 0x328]
call fcn.140003bb1
mov qword [rsp + 0x8d8], rax
lea rcx, [rsp + 0x400]
call fcn.140001429
mov qword [rsp + 0x8e0], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x28
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x8d8]
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14001fe07
mov dword [rsp + 0x718], 0x287
mov dword [rsp + 0x71c], 0x2c
lea rax, str.C:Work_teamtrackr_ttclientwindowsUtil.cpp
mov qword [rsp + 0x720], rax
lea rax, str.void___cdecl_util::win::launchClient_unsigned_long_bool_class_std::basic_string_view_wchar_t_struct_std::char_traits_wchar_t____
mov qword [rsp + 0x728], rax
lea rax, [rsp + 0x768]
lea rcx, [rsp + 0x718]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x780]
lea rcx, [rsp + 0x768]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8e8], eax
lea rax, [rsp + 0x730]
mov qword [rsp + 0x740], rax
lea rdx, str.CreateProcessAsUserW_failed
mov rcx, qword [rsp + 0x740]
call fcn.14000456b
lea rcx, [rsp + 0x748]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x758]
lea rcx, [rsp + 0x748]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x850]
lea rcx, [rsp + 0x780]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x840]
lea rcx, [rsp + 0x758]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x850]
mov r8d, dword [rsp + 0x8e8]
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x6f8]
call fcn.1400025b3
lea rdx, [0x1402d7c40]
lea rcx, [rsp + 0x6f8]
call fcn.140009be2
nop
lea rcx, [rsp + 0x400]
call fcn.140002950
nop
lea rcx, [rsp + 0x390]
call fcn.140002950
nop
lea rcx, [rsp + 0x328]
call fcn.140007cb1
nop
lea rcx, [rsp + 0x200]
call fcn.140002c8e
nop
lea rcx, [rsp + 0x168]
call fcn.140008440
nop
lea rcx, [rsp + 0x128]
call fcn.140007cb1
mov rcx, rsp
lea rdx, [0x140236100]
call fcn.140007996
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x908
pop rdi
pop rsi
ret