Function at 0x18001c180
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.180010370
test eax, eax
je 0x18001c1cf
xor eax, eax
jmp 0x18001c6b2
cmp dword [0x1800d5b50], 0
je 0x18001c1f7
lea r9, str.CAgentU64::InjectSvchost_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
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.1800457e0
test eax, eax
jne 0x18001c227
lea rcx, str.tsysdrv.dll
call fcn.180046000
lea rcx, [rsp + 0x48]
call fcn.180021480
nop
xor r8d, r8d
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x48]
call fcn.180027fb0
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.180021480
nop
mov dword [rbp - 0x68], edi
call fcn.1800137b0
nop
lea rdx, [0x180091d90]
lea rcx, [rsp + 0x40]
call fcn.1800217e0
mov rbx, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x68], edi
lea rcx, [rsp + 0x68]
call fcn.180021950
lea rcx, [rsp + 0x70]
call fcn.180021950
lea rcx, [rsp + 0x78]
call fcn.180021950
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.180021e00
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800205d0
lea rcx, [rsp + 0x60]
call fcn.180013ae0
nop
mov rcx, rbx
call fcn.1800204c0
mov esi, 1
cmp dword [rbp - 0x68], 0xf0000001
jne 0x18001c31f
mov dword [rsp + 0x40], edi
cmp dword [rbp - 0x78], edi
jle 0x18001c31a
mov rax, qword [rbp - 0x80]
lea r8, [rsp + 0x40]
lea rdx, [0x18009a1f4]
mov rcx, qword [rax]
call fcn.18002ffc8
mov r12d, dword [rsp + 0x40]
test r12d, r12d
jne 0x18001c363
lea rcx, [0x1800ce310]
call fcn.180010b90
mov ebx, eax
cmp dword [0x1800d5b50], 0
je 0x18001c35d
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.180015330
test ebx, ebx
cmovne r12d, esi
cmp dword [0x1800d5b50], 0
je 0x18001c391
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.180015330
nop
mov qword [rsp + 0x60], r13
lea rcx, [rbp - 0x80]
call fcn.180021dd0
nop
lea rcx, [rsp + 0x78]
call fcn.1800204c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800204c0
nop
lea rcx, [rsp + 0x68]
call fcn.1800204c0
mov r14d, edi
cmp dword [rsp + 0x50], edi
jle 0x18001c6a5
mov r13, rdi
lea rcx, [rbp - 0x50]
call fcn.180021480
nop
mov rax, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
mov ecx, dword [r13 + rax]
call fcn.180028000
test eax, eax
je 0x18001c4c8
mov ebx, edi
nop word [rax + rax]
mov r8d, 1
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rbp - 0x50]
call fcn.180022e80
cmp eax, 0xffffffff
jg 0x18001c425
inc ebx
inc rdi
cmp ebx, 2
jb 0x18001c400
jmp 0x18001c470
cmp dword [0x1800d5b50], 0
je 0x18001c470
mov rdx, qword [rbp + rdi*8 - 0x60]
lea rcx, [rsp + 0x40]
call fcn.1800217e0
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.180015330
nop
lea rcx, [rsp + 0x40]
call fcn.1800204c0
cmp ebx, 2
jne 0x18001c47b
xor edi, edi
mov esi, edi
jmp 0x18001c4f0
mov r8d, 1
lea rdx, [0x180092540]
lea rcx, [rbp - 0x50]
call fcn.180022e80
cmp eax, 0xffffffff
jle 0x18001c49c
xor edi, edi
mov esi, edi
jmp 0x18001c4f0
cmp dword [0x1800d5b50], 0
je 0x18001c524
lea r9, str.CAgentU64::InjectSvchost_err_1
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
xor edi, edi
jmp 0x18001c4f0
cmp dword [0x1800d5b50], 0
je 0x18001c524
lea r9, str.CAgentU64::InjectSvchost_err_2
lea r8, str.AgentU64
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015330
cmp dword [0x1800d5b50], 0
je 0x18001c51c
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.180015330
test esi, esi
je 0x18001c685
xor edi, edi
lea esi, [rdi + 1]
test r12d, r12d
jne 0x18001c68a
mov ecx, dword [0x1800d04c0]
movzx eax, cl
and al, sil
mov ebx, edi
cmp al, sil
cmove ebx, esi
cmp dword [0x1800d5b50], edi
je 0x18001c588
lea rax, str.____
test ebx, ebx
lea rdx, [0x18009a210]
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.180015330
test ebx, ebx
je 0x18001c68a
call fcn.18000c9a0
mov ecx, edi
test eax, eax
sete cl
test ecx, ecx
je 0x18001c68a
mov word [rbp + 0x1f0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1f2]
call fcn.180031540
mov word [rbp - 0x20], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x1e]
call fcn.180031540
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [0x180092540]
lea r8, [rbp - 0x20]
lea rdx, [0x180091940]
lea rcx, [rbp + 0x1f0]
call fcn.1800303e4
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.180046950
test eax, eax
cmove r15d, esi
cmp dword [0x1800d5b50], edi
je 0x18001c68a
lea rcx, [0x1800952b0]
test r15d, r15d
lea rdx, [0x1800952a0]
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.180015330
jmp 0x18001c68a
mov esi, 1
lea rcx, [rbp - 0x50]
call fcn.180021dd0
inc r14d
add r13, 4
cmp r14d, dword [rsp + 0x50]
jl 0x18001c3d0
lea rcx, [rsp + 0x48]
call fcn.180022ed0
mov eax, r15d
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.18002f6f0
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