Function at 0x18000be80
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x510
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rbp + 0x400], rax
call fcn.180002590
test eax, eax
je 0x18000becf
xor eax, eax
jmp 0x18000c2e1
lea r9, str.CAgentU64::InjectSvchost_1
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
xor edi, edi
mov r15d, edi
lea rax, str.wuauserv.dll
mov qword [rbp - 0x60], rax
lea rax, str.wuaueng.dll
mov qword [rbp - 0x58], rax
call fcn.180013370
test eax, eax
jne 0x18000bf1c
lea rcx, str.tsysdrv.dll
call fcn.18003ad80
lea rcx, [rsp + 0x48]
call fcn.18002b910
nop
xor r8d, r8d
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180029ed0
mov r12d, edi
lea rsi, vtable.CTConfig.0
mov qword [rsp + 0x60], rsi
mov rax, qword [0x180061968]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.18002b910
nop
mov dword [rbp - 0x68], edi
call fcn.180004c30
nop
lea rdx, str.inject_type
lea rcx, [rsp + 0x40]
call fcn.1800105a0
mov rbx, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x68], edi
lea rcx, [rsp + 0x68]
call fcn.1800106a0
lea rcx, [rsp + 0x70]
call fcn.1800106a0
lea rcx, [rsp + 0x78]
call fcn.1800106a0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.180010a70
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18000f850
lea rcx, [rsp + 0x60]
call fcn.180004ee0
nop
mov rcx, rbx
call fcn.18000f740
mov ebx, 1
cmp dword [rbp - 0x68], 0xf0000001
jne 0x18000c014
mov dword [rsp + 0x40], edi
cmp dword [rbp - 0x78], edi
jle 0x18000c00f
mov rax, qword [rbp - 0x80]
lea r8, [rsp + 0x40]
lea rdx, [0x18007715c]
mov rcx, qword [rax]
call fcn.1800143b0
mov r12d, dword [rsp + 0x40]
test r12d, r12d
jne 0x18000c04b
call fcn.180002a30
mov ebx, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
lea r9, str.CProductIDMgr::IsMyts__________d___ret___d_
lea r8, str.ProductID
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
test ebx, ebx
mov ebx, 1
cmovne r12d, ebx
mov dword [rsp + 0x20], r12d
lea r9, str.CAgentU64::InjectSvchost_2_Injecttype__lu_
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
nop
mov qword [rsp + 0x60], rsi
lea rcx, [rbp - 0x80]
call fcn.180010a40
nop
lea rcx, [rsp + 0x78]
call fcn.18000f740
nop
lea rcx, [rsp + 0x70]
call fcn.18000f740
nop
lea rcx, [rsp + 0x68]
call fcn.18000f740
mov r14d, edi
cmp dword [rsp + 0x50], edi
jle 0x18000c2d4
mov r13, rdi
nop dword [rax]
mov esi, ebx
lea rcx, [rbp - 0x50]
call fcn.18002b910
nop
mov rax, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
mov ecx, dword [r13 + rax]
call fcn.180029f20
test eax, eax
je 0x18000c194
mov ebx, edi
nop dword [rax]
mov r8d, 1
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rbp - 0x50]
call fcn.180011370
cmp eax, 0xffffffff
jg 0x18000c105
inc ebx
inc rdi
cmp ebx, 2
jb 0x18000c0e0
jmp 0x18000c145
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rsp + 0x40]
call fcn.1800105a0
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.CAgentU64::InjectSvchost_err_11___s_
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
nop
lea rcx, [rsp + 0x40]
call fcn.18000f740
cmp ebx, 2
mov ebx, 1
jne 0x18000c155
xor edi, edi
mov esi, edi
jmp 0x18000c1b1
mov r8d, ebx
lea rdx, [0x18007d7e0]
lea rcx, [rbp - 0x50]
call fcn.180011370
cmp eax, 0xffffffff
jle 0x18000c173
xor edi, edi
mov esi, edi
jmp 0x18000c1b1
lea r9, str.CAgentU64::InjectSvchost_err_1
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
xor edi, edi
jmp 0x18000c1b1
lea r9, str.CAgentU64::InjectSvchost_err_2
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
mov dword [rsp + 0x20], esi
lea r9, str.CAgentU64::InjectSvchost_3___d_
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
test esi, esi
je 0x18000c2b9
test r12d, r12d
jne 0x18000c2b9
mov word [rbp + 0x1f0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1f2]
call fcn.180015150
mov word [rbp - 0x20], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x1e]
call fcn.180015150
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [0x18007d7e0]
lea r8, [rbp - 0x20]
lea rdx, str._s_s
lea rcx, [rbp + 0x1f0]
call fcn.180013f6c
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1f0]
mov edx, dword [r13 + r11]
mov ecx, ebx
call fcn.18003b6d0
test eax, eax
cmove r15d, ebx
lea rcx, [0x18007cdb8]
test r15d, r15d
lea rdx, [0x18007d8c0]
cmovne rcx, rdx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [r13 + rax]
mov dword [rsp + 0x20], ecx
lea r9, str.CAgentU64::InjectProcess_4___d____d____s_
lea r8, str.AgentU64
or edx, 0xffffffff
lea rcx, [0x1800a45e8]
call fcn.180005b70
nop
lea rcx, [rbp - 0x50]
call fcn.180010a40
inc r14d
add r13, 4
cmp r14d, dword [rsp + 0x50]
jl 0x18000c0b0
lea rcx, [rsp + 0x48]
call fcn.180011810
mov eax, r15d
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.180013880
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret