Function at 0x14001a830
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x780
mov rax, qword [0x140059b08]
xor rax, rsp
mov qword [rsp + 0x770], rax
mov dword [rsp + 0x54], 0x8000ffff
xor esi, esi
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x58], rsi
mov qword [r11 - 0x600], rsi
lea rax, [r11 - 0x608]
mov qword [r11 - 0x5f8], rax
mov qword [r11 - 0x5f0], rsi
mov dword [rsp + 0x1b0], esi
lea rax, [r11 - 0x5a8]
mov qword [r11 - 0x5e0], rax
lea rax, [r11 - 0x5d0]
mov qword [r11 - 0x5d8], rax
mov dword [rsp + 0x1c8], esi
mov byte [rsp + 0x1cc], sil
mov byte [rsp + 0x208], sil
mov dword [rsp + 0x1f0], esi
lea rax, [0x140049060]
mov qword [r11 - 0x5a0], rax
mov qword [r11 - 0x598], rsi
lea r13d, [rsi + 1]
mov qword [r11 - 0x588], r13
mov qword [r11 - 0x4e8], rsi
xor edx, edx
mov r8d, 0x98
lea rcx, [r11 - 0x580]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x2b8], xmm0
mov qword [rsp + 0x2c8], rsi
lea rax, [0x1400445a0]
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x190]
call fcn.14001cf50
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], r13b
cmp qword [0x140059b50], 0xffffffffffffffff
je 0x14001a9eb
mov edx, dword [rsp + 0x54]
mov ebx, edx
test edx, edx
jns 0x14001a9b1
mov rcx, qword [rsp + 0x798]
mov r9d, edx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0xca
call fcn.140005930
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x190]
call fcn.14000d008
cmp qword [rsp + 0x58], rsi
je 0x14001a9d6
lea rcx, [rsp + 0x58]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
cmp byte [rsp + 0x50], sil
je 0x14001b665
call fcn.14001b758
jmp 0x14001b665
mov qword [rsp + 0x80], rsi
lea r9, [rsp + 0x80]
xor r8d, r8d
lea r14d, [r8 + 4]
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_InitializeProcThreadAttributeList]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test ebx, ebx
jne 0x14001aa62
cmp eax, 0x7a
je 0x14001aa62
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14001aa59
mov rcx, qword [rsp + 0x798]
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0xd0
call fcn.140005930
nop
mov edx, dword [rsp + 0x54]
jmp 0x14001a9b1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14001c6ec
nop
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_InitializeProcThreadAttributeList]
nop dword [rax + rax]
test eax, eax
setne r9b
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
sub rdx, r8
mov rax, qword [rsp + 0x80]
sub rax, rdx
neg rax
sbb ebx, ebx
and ebx, 0x80004005
mov dword [rsp + 0x54], ebx
cmp qword [rsp + 0x80], rdx
je 0x14001ab2d
test ebx, ebx
jns 0x14001ab01
mov rcx, qword [rsp + 0x798]
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0xe1
call fcn.140005930
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14001aa59
mov rdx, qword [rsp + 0x70]
sub rdx, r8
mov rcx, r8
call fcn.140007850
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
jmp 0x14001aa59
test r9b, r9b
je 0x14001b017
mov dword [rsp + 0x54], esi
mov r15d, 0x80070000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rsp + 0x104]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x180], rsi
mov r14d, 7
mov qword [rsp + 0x188], r14
mov word [rsp + 0x170], si
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x8c], r13d
mov dword [rsp + 0x88], r13d
mov dword [rsp + 0x360], 0x201
mov dword [rsp + 0x364], 0xf000000
lea ecx, [rax + 3]
mov dword [rsp + 0x368], ecx
mov qword [rsp + 0x36c], 1
mov qword [rsp + 0x374], rsi
mov qword [rsp + 0x37c], rsi
mov dword [rsp + 0x384], esi
mov qword [rsp + 0x388], rax
mov dword [rsp + 0x390], 0xa01
lea r12d, [r14 + 3]
mov dword [rsp + 0x394], 0xf000000
mov dword [rsp + 0x398], ecx
mov eax, 0x400
mov dword [rsp + 0x39c], eax
mov dword [rsp + 0x3a0], 0x3f8031b0
mov dword [rsp + 0x3a4], 0x4c63bc6c
mov dword [rsp + 0x3a8], 0xd150e03c
mov dword [rsp + 0x3ac], 0x62a10c97
mov dword [rsp + 0x3b0], 0x19cb010f
mov dword [rsp + 0x3b4], 0xc0a67a7e
mov dword [rsp + 0x3b8], 0xf197e6fa
mov dword [rsp + 0x3bc], 0xce0ca319
mov dword [rsp + 0x3c0], 0xa01
mov dword [rsp + 0x3c4], 0xf000000
mov dword [rsp + 0x3c8], ecx
mov dword [rsp + 0x3cc], eax
mov dword [rsp + 0x3d0], 0x6a94b017
mov dword [rsp + 0x3d4], 0x82211e81
mov dword [rsp + 0x3d8], 0xee632260
mov dword [rsp + 0x3dc], 0xbb98e6f1
mov dword [rsp + 0x3e0], 0x68be9bd1
mov dword [rsp + 0x3e4], 0xe36fd262
mov dword [rsp + 0x3e8], 0x908f5e4
mov dword [rsp + 0x3ec], 0x708a2349
mov dword [rsp + 0x3f0], 0xa01
mov dword [rsp + 0x3f4], 0xf000000
mov dword [rsp + 0x3f8], ecx
mov dword [rsp + 0x3fc], eax
mov dword [rsp + 0x400], 0x59934ace
mov dword [rsp + 0x404], 0x750bcfb9
mov dword [rsp + 0x408], 0x9bf2c075
mov dword [rsp + 0x40c], 0x98c2b4b2
mov dword [rsp + 0x410], 0xf9dd46d4
mov dword [rsp + 0x414], 0xec877a02
mov dword [rsp + 0x418], 0x77116514
mov dword [rsp + 0x41c], 0x5596e9d6
mov dword [rsp + 0x420], 0xa01
mov dword [rsp + 0x424], 0xf000000
mov dword [rsp + 0x428], ecx
mov dword [rsp + 0x42c], eax
mov dword [rsp + 0x430], 0xbbf6bced
mov dword [rsp + 0x434], 0x39429c8f
mov dword [rsp + 0x438], 0xde010e3f
mov dword [rsp + 0x43c], 0xa2764fb0
mov dword [rsp + 0x440], 0xb9370d
mov dword [rsp + 0x444], 0x206b6953
mov dword [rsp + 0x448], 0x7440f72b
mov dword [rsp + 0x44c], 0xf9c2c10b
mov dword [rsp + 0x450], 0xa01
mov dword [rsp + 0x454], 0xf000000
mov dword [rsp + 0x458], ecx
mov dword [rsp + 0x45c], eax
mov dword [rsp + 0x460], 0x783ce81
mov dword [rsp + 0x464], 0xda132108
mov dword [rsp + 0x468], 0x764eea6a
mov dword [rsp + 0x46c], 0x30f59090
mov dword [rsp + 0x470], 0xdb969958
mov dword [rsp + 0x474], 0x219e8c18
mov dword [rsp + 0x478], 0xcb8aef62
mov dword [rsp + 0x47c], 0xccca8831
mov dword [rsp + 0x480], 0xa01
mov dword [rsp + 0x484], 0xf000000
mov dword [rsp + 0x488], ecx
mov dword [rsp + 0x48c], eax
mov dword [rsp + 0x490], 0x1f7a74b6
mov dword [rsp + 0x494], 0xe714689e
mov dword [rsp + 0x498], 0x2a4a5163
mov dword [rsp + 0x49c], 0x71b7d53c
mov dword [rsp + 0x4a0], 0xd67898b2
mov dword [rsp + 0x4a4], 0xdc76244c
mov dword [rsp + 0x4a8], 0x1093215c
mov dword [rsp + 0x4ac], 0xeddbba0d
mov dword [rsp + 0x4b0], 0xa01
mov dword [rsp + 0x4b4], 0xf000000
mov dword [rsp + 0x4b8], ecx
mov dword [rsp + 0x4bc], eax
mov dword [rsp + 0x4c0], 0xd1d47f2
mov dword [rsp + 0x4c4], 0x29cc68a0
mov dword [rsp + 0x4c8], 0xede64c1c
mov dword [rsp + 0x4cc], 0xfadc71ac
mov dword [rsp + 0x4d0], 0xadf19e42
mov dword [rsp + 0x4d4], 0xca713f03
mov dword [rsp + 0x4d8], 0x65622afc
mov dword [rsp + 0x4dc], 0x7be154db
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x360]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x8c]
lea rdx, [rsp + 0xe8]
mov rcx, rdi
call fcn.14001c488
mov ebx, eax
mov dword [rsp + 0x54], eax
test eax, eax
jns 0x14001b078
mov r9d, eax
mov edx, 0xff
mov rcx, qword [rsp + 0x798]
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
call fcn.140005930
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x14001affd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
call fcn.140007850
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x188], r14
mov word [rsp + 0x170], si
jmp 0x14001b05d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
mov r15d, 0x80070000
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001ab40
mov rcx, qword [rsp + 0x798]
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0xe4
call fcn.140005930
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001aa59
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
jmp 0x14001ab15
mov dword [rsp + 0x100], 0x70
mov qword [rsp + 0x168], rdi
mov edx, 0x104
lea rcx, [rsp + 0x560]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14001b1b3
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x560]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14001b0bc
lea rdx, [rsp + 0x560]
lea rcx, [rsp + 0x170]
call fcn.140014004
mov r8, r13
lea rdx, [0x1400476b8]
lea rcx, [rsp + 0x170]
call fcn.140014004
mov r8d, 0xc
lea rdx, str.SgrmLpac.exe
lea rcx, [rsp + 0x170]
call fcn.140014004
nop
mov rcx, qword [0x14005a838]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b14c
mov rbx, qword [rsp + 0x798]
xor edx, edx
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_TerminateJobObject]
nop dword [rax + rax]
test eax, eax
jne 0x14001b14c
lea r8, str.onecore_amcoreoctagon_broker_sourceliblpachost.cpp
mov edx, 0x11e
mov rcx, rbx
call fcn.140015f60
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_CreateJobObjectW]
nop dword [rax + rax]
mov rbx, rax
mov r13, qword [0x14005a838]
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b19c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, r13
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov qword [0x14005a838], rbx
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b1e3
mov dword [rsp + 0x54], esi
jmp 0x14001b216
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b0b0
mov r9d, ebx
mov edx, 0x10c
jmp 0x14001afc5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b20f
mov r9d, ebx
mov edx, 0x123
jmp 0x14001afc5
mov rbx, qword [0x14005a838]
mov edi, 0x90
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x2d0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x2e0], 0x2000
mov r9d, edi
lea r8, [rsp + 0x2d0]
mov edx, 9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_SetInformationJobObject]
nop dword [rax + rax]
test eax, eax
je 0x14001b395
mov dword [rsp + 0x54], esi
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x9000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
je 0x14001b415
mov dword [rsp + 0x54], esi
mov rax, qword [rsp + 0x90]
mov qword [0x140059b50], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x98], rsi
mov byte [rsp + 0x50], 1
mov rdx, qword [rsp + 0x90]
mov rcx, qword [0x14005a838]
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_AssignProcessToJobObject]
nop dword [rax + rax]
test eax, eax
je 0x14001b445
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x28], 0x18
or dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
lea r8, [0x14001a720]
mov rdx, qword [0x140059b50]
lea rcx, [0x140059b40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_RegisterWaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x14001b475
or qword [0x140059b40], 0xffffffffffffffff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b475
mov r9d, ebx
mov edx, 0x151
jmp 0x14001afc5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r15d
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x54], ecx
test ecx, ecx
jns 0x14001b263
mov rdi, qword [0x14005a838]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b3f5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov qword [0x14005a838], rsi
mov ebx, dword [rsp + 0x54]
test ebx, ebx
jns 0x14001afda
mov r9d, ebx
mov edx, 0x12d
jmp 0x14001afc5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b2cd
mov r9d, ebx
mov edx, 0x13b
jmp 0x14001afc5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b324
mov r9d, ebx
mov edx, 0x144
jmp 0x14001afc5
call fcn.140035134
mov ebx, eax
mov dword [rsp + 0x54], eax
test eax, eax
jns 0x14001b4df
mov edx, 0x3e8
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x14001b4d1
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140059b50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov ebx, dword [rsp + 0x78]
mov dword [rsp + 0x54], ebx
test ebx, ebx
jns 0x14001b4d5
mov r9d, ebx
mov edx, 0x173
jmp 0x14001afc5
mov ebx, dword [rsp + 0x54]
dec r12d
test r12d, r12d
jle 0x14001b4e6
jmp 0x14001b475
mov byte [0x14005aa08], 1
test ebx, ebx
jns 0x14001b4f7
mov r9d, ebx
mov edx, 0x179
jmp 0x14001afc5
mov byte [rsp + 0x50], sil
mov dword [rsp + 0x54], esi
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x14001b523
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
call fcn.140007850
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x188], r14
mov word [rsp + 0x170], si
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001b560
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
call fcn.140007850
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x190]
call fcn.14000d008
cmp qword [rsp + 0x58], rsi
je 0x14001b589
lea rcx, [rsp + 0x58]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
cmp byte [rsp + 0x50], sil
je 0x14001b596
call fcn.14001b758
nop
lea rax, [0x1400445a0]
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x190]
call fcn.14000e0b0
lea rcx, [rsp + 0x190]
call fcn.14000d860
xor eax, eax
jmp 0x14001b71f
lea rax, [0x1400445a0]
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x190]
call fcn.14000e0b0
lea rcx, [rsp + 0x190]
call fcn.14000d860
mov eax, ebx
jmp 0x14001b71f
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.14003f700
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret