Function at 0x18001c230
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 [0x1800bc650]
xor rax, rsp
mov qword [rbp + 0x400], rax
call fcn.180010490
test eax, eax
je 0x18001c27f
xor eax, eax
jmp 0x18001c762
cmp dword [0x1800d5b50], 0
je 0x18001c2a7
lea r9, str.CAgentU64::InjectSvchost_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
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.1800458f0
test eax, eax
jne 0x18001c2d7
lea rcx, str.tsysdrv.dll
call fcn.180046110
lea rcx, [rsp + 0x48]
call fcn.180021510
nop
xor r8d, r8d
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180028050
mov r12d, edi
lea r13, vtable.CTConfig.0
mov qword [rsp + 0x60], r13
mov rax, qword [0x18007cb48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.180021510
nop
mov dword [rbp - 0x68], edi
call fcn.180013a10
nop
lea rdx, [0x180091d80]
lea rcx, [rsp + 0x40]
call fcn.180021870
mov rbx, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x68], edi
lea rcx, [rsp + 0x68]
call fcn.1800219e0
lea rcx, [rsp + 0x70]
call fcn.1800219e0
lea rcx, [rsp + 0x78]
call fcn.1800219e0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.180021e90
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180020660
lea rcx, [rsp + 0x60]
call fcn.180013d40
nop
mov rcx, rbx
call fcn.180020550
mov esi, 1
cmp dword [rbp - 0x68], 0xf0000001
jne 0x18001c3cf
mov dword [rsp + 0x40], edi
cmp dword [rbp - 0x78], edi
jle 0x18001c3ca
mov rax, qword [rbp - 0x80]
lea r8, [rsp + 0x40]
lea rdx, [0x18009a1e4]
mov rcx, qword [rax]
call fcn.180030098
mov r12d, dword [rsp + 0x40]
test r12d, r12d
jne 0x18001c413
lea rcx, [0x1800ce310]
call fcn.180010f10
mov ebx, eax
cmp dword [0x1800d5b50], 0
je 0x18001c40d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
lea r9, str.CProductIDMgr::IsMyts__________d___ret___d_
lea r8, str.ProductID
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
test ebx, ebx
cmovne r12d, esi
cmp dword [0x1800d5b50], 0
je 0x18001c441
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, [0x1800d5a98]
call fcn.180015620
nop
mov qword [rsp + 0x60], r13
lea rcx, [rbp - 0x80]
call fcn.180021e60
nop
lea rcx, [rsp + 0x78]
call fcn.180020550
nop
lea rcx, [rsp + 0x70]
call fcn.180020550
nop
lea rcx, [rsp + 0x68]
call fcn.180020550
mov r14d, edi
cmp dword [rsp + 0x50], edi
jle 0x18001c755
mov r13, rdi
lea rcx, [rbp - 0x50]
call fcn.180021510
nop
mov rax, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
mov ecx, dword [r13 + rax]
call fcn.1800280a0
test eax, eax
je 0x18001c578
mov ebx, edi
nop word [rax + rax]
mov r8d, 1
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rbp - 0x50]
call fcn.180022f10
cmp eax, 0xffffffff
jg 0x18001c4d5
inc ebx
inc rdi
cmp ebx, 2
jb 0x18001c4b0
jmp 0x18001c520
cmp dword [0x1800d5b50], 0
je 0x18001c520
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rsp + 0x40]
call fcn.180021870
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, [0x1800d5a98]
call fcn.180015620
nop
lea rcx, [rsp + 0x40]
call fcn.180020550
cmp ebx, 2
jne 0x18001c52b
xor edi, edi
mov esi, edi
jmp 0x18001c5a0
mov r8d, 1
lea rdx, [0x180092530]
lea rcx, [rbp - 0x50]
call fcn.180022f10
cmp eax, 0xffffffff
jle 0x18001c54c
xor edi, edi
mov esi, edi
jmp 0x18001c5a0
cmp dword [0x1800d5b50], 0
je 0x18001c5d4
lea r9, str.CAgentU64::InjectSvchost_err_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
xor edi, edi
jmp 0x18001c5a0
cmp dword [0x1800d5b50], 0
je 0x18001c5d4
lea r9, str.CAgentU64::InjectSvchost_err_2
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
cmp dword [0x1800d5b50], 0
je 0x18001c5cc
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, [0x1800d5a98]
call fcn.180015620
test esi, esi
je 0x18001c735
xor edi, edi
lea esi, [rdi + 1]
test r12d, r12d
jne 0x18001c73a
mov ecx, dword [0x1800d04c0]
movzx eax, cl
and al, sil
mov ebx, edi
cmp al, sil
cmove ebx, esi
cmp dword [0x1800d5b50], edi
je 0x18001c638
lea rax, str.____
test ebx, ebx
lea rdx, [0x18009a200]
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, [0x1800d5a98]
call fcn.180015620
test ebx, ebx
je 0x18001c73a
call fcn.18000c9a0
mov ecx, edi
test eax, eax
sete cl
test ecx, ecx
je 0x18001c73a
mov word [rbp + 0x1f0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1f2]
call fcn.180031610
mov word [rbp - 0x20], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x1e]
call fcn.180031610
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [0x180092530]
lea r8, [rbp - 0x20]
lea rdx, [0x180091930]
lea rcx, [rbp + 0x1f0]
call fcn.1800304b4
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, esi
call fcn.180046a60
test eax, eax
cmove r15d, esi
cmp dword [0x1800d5b50], edi
je 0x18001c73a
lea rcx, [0x1800952a0]
test r15d, r15d
lea rdx, [0x180095290]
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
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
jmp 0x18001c73a
mov esi, 1
lea rcx, [rbp - 0x50]
call fcn.180021e60
inc r14d
add r13, 4
cmp r14d, dword [rsp + 0x50]
jl 0x18001c480
lea rcx, [rsp + 0x48]
call fcn.180023220
mov eax, r15d
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.18002f7c0
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