Function at 0x14016b880
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea r12, [0x140348ca0]
mov qword [rsp + 0x78], r12
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x70], r14
lea edx, [r14 + 5]
lea rcx, [rsp + 0x68]
call fcn.1401ff260
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 5]
lea r8, str.hosts
mov rcx, qword [rsp + 0x68]
call fcn.1402bd21c
lea edx, [r14 + 5]
lea rcx, [rsp + 0x68]
call fcn.140200570
nop
mov qword [rsp + 0x40], r14
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 3]
lea r8, [0x140359748]
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
mov qword [rsp + 0x60], r14
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.1401ff260
mov eax, dword [rsp + 0x60]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 7]
lea r8, str.drivers
mov rcx, qword [rsp + 0x58]
call fcn.1402bd21c
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.140200570
nop
lea rax, [rbp + 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14016b9b0
mov qword [rsp + 0x50], r14
test ebx, ebx
jne 0x14016b9ca
mov qword [rsp + 0x48], r12
jmp 0x14016b9f0
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140200570
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400d2bd0
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400d2bd0
nop
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x78]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x80]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x78]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x78]
call fcn.140200570
nop
cmp dword [rbp - 0x38], 0
jle 0x14016ba7b
mov rcx, qword [rbp - 0x40]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x28], 0
jle 0x14016ba8b
mov rcx, qword [rbp - 0x30]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x70], 0
jle 0x14016ba9b
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x50], 0
jle 0x14016baad
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x60], 0
jle 0x14016babf
mov rcx, qword [rsp + 0x58]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x40], 0
jle 0x14016bad1
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x70], 0
jle 0x14016bae2
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
xor bl, bl
mov byte [rsp + 0x30], bl
xor r15b, r15b
xor sil, sil
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r14
lea rax, vtable.Core::ByteArray.0
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], r14d
mov qword [rbp - 8], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.140208850
test al, al
je 0x14016c077
mov eax, dword [rbp - 0x10]
cmp eax, 2
jl 0x14016c077
mov rcx, qword [rbp - 8]
cmp byte [rcx], 0xff
jne 0x14016bb54
cmp byte [rcx + 1], 0xfe
jne 0x14016bb54
mov sil, 1
jmp 0x14016bf29
lea rdx, vtable.Core::Text::ASCIIEncoding.0
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rcx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.1402043c0
nop
lea rax, vtable.Core::StringReader.0
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], r14d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
xor dil, dil
mov byte [rsp + 0x31], dil
mov r12d, r14d
mov r13d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14020fae0
test al, al
je 0x14016bef3
mov esi, 1
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.140201cc0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
cmp dword [rbp - 0x70], 0
jle 0x14016bc25
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x14016bc42
test dil, dil
jne 0x14016bc3a
mov byte [rsp + 0x31], 1
mov r12d, r14d
inc r12d
jmp 0x14016be6e
cmp eax, 5
jl 0x14016be6e
mov r8d, esi
lea rdx, [0x1403572cc]
lea rcx, [rsp + 0x38]
call fcn.1402019e0
test al, al
jne 0x14016be6e
lea rax, [0x140348ca0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
xor r14b, r14b
xor esi, esi
xor edi, edi
mov ecx, dword [rsp + 0x44]
test ecx, ecx
jle 0x14016bd43
nop dword [rax]
test rdi, rdi
js 0x14016be8f
cmp esi, ecx
jge 0x14016be8f
mov rax, qword [rsp + 0x38]
movzx ebx, word [rax + rdi*2]
cmp bx, 0x20
je 0x14016bd33
cmp bx, 9
je 0x14016bd33
test r14b, r14b
jne 0x14016bcff
mov edx, dword [rsp + 0x54]
inc edx
lea rcx, [rsp + 0x48]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x48]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x54]
inc edx
lea rcx, [rsp + 0x48]
call fcn.140200570
mov ecx, dword [rsp + 0x44]
jmp 0x14016bd36
mov edx, dword [rsp + 0x64]
inc edx
lea rcx, [rsp + 0x58]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x58]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x64]
inc edx
lea rcx, [rsp + 0x58]
call fcn.140200570
mov ecx, dword [rsp + 0x44]
jmp 0x14016bd36
mov r14b, 1
inc esi
inc rdi
cmp esi, ecx
jl 0x14016bca0
mov esi, 1
mov r8d, esi
lea rdx, str.127.0.0.1
lea rcx, [rsp + 0x48]
call fcn.1402019e0
test al, al
jne 0x14016be39
cmp dword [rsp + 0x54], 0
jle 0x14016be39
cmp dword [rsp + 0x64], 0
jle 0x14016be39
cmp r12d, 0x32
jl 0x14016bd8c
movzx r15d, r15b
cmp r13d, 3
cmovl r15d, esi
inc r13d
xor r14d, r14d
mov ebx, r14d
lea rdi, str.www.google.
nop dword [rax]
xor r8d, r8d
mov rdx, qword [rdi]
lea rcx, [rsp + 0x58]
call fcn.1401fefd0
test al, al
jne 0x14016bdc5
inc ebx
add rdi, 8
movsxd rax, ebx
cmp rax, 2
jb 0x14016bda0
jmp 0x14016be3c
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x64]
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x58]
mov rcx, qword [rbp - 0x50]
call fcn.1402bd21c
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.140200570
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x54]
mov eax, dword [rbp - 0x58]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x60]
call fcn.1402bd21c
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.140200570
movzx ebx, sil
mov byte [rsp + 0x30], bl
jmp 0x14016be41
xor r14d, r14d
movzx ebx, byte [rsp + 0x30]
cmp dword [rsp + 0x60], 0
jle 0x14016be53
mov rcx, qword [rsp + 0x58]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x50], 0
jle 0x14016be64
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
test bl, bl
jne 0x14016bef0
jmp 0x14016be73
movzx ebx, byte [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14020fae0
test al, al
je 0x14016bef0
movzx edi, byte [rsp + 0x31]
jmp 0x14016bbd0
lea rcx, [rbp - 0x78]
call fcn.1401fcf30
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x78], rax
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.1401ff260
mov eax, dword [rbp - 0x68]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rbp - 0x70]
call fcn.1402bd21c
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.140200570
nop
lea rdx, [0x140410838]
lea rcx, [rbp - 0x78]
call fcn.1402c1558
nop
xor sil, sil
cmp dword [rsp + 0x40], 0
jle 0x14016bf05
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x38], 0
jle 0x14016bf15
mov rcx, qword [rbp - 0x40]
call fcn.1402b9c20
nop
test bl, bl
jne 0x14016bf22
test r15b, r15b
je 0x14016c077
lea r12, [0x140348ca0]
mov ecx, 0x58
call fcn.1402b968c
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14016bf59
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400d8fb0
lea rax, vtable.HitmanPro35::RepairHostsFile.0
mov qword [rdi], rax
jmp 0x14016bf5c
mov rdi, r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0
test r15b, r15b
je 0x14016bfb2
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x6d
lea r8, str.Hosts_file_is_compromised._Contains_large_amounts_of_empty_lines_to_trick_the_viewer_the_hosts_file_is_clean.
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.140200570
jmp 0x14016c056
test sil, sil
je 0x14016bff7
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.1401ff260
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 0x51
lea r8, str.Hosts_file_is_compromised._Hosts_file_contains_Byte_order_mark__BOM__obfuscation.
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.140200570
jmp 0x14016c056
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rdx, str.Hosts_file_is_compromised:__s_is_directed_to_an_hardcoded_IP__s.
lea rcx, [rbp - 0x78]
call fcn.1401ff700
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
cmp dword [rbp - 0x70], 0
jle 0x14016c056
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140169670
nop
cmp dword [rsp + 0x40], 0
jle 0x14016c07a
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
jmp 0x14016c07a
mov rdi, r14
mov r8, qword [rbp - 8]
test r8, r8
je 0x14016c090
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp dword [rbp - 0x58], 0
jle 0x14016c0a0
mov rcx, qword [rbp - 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x48], 0
jle 0x14016c0b0
mov rcx, qword [rbp - 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x80], 0
jle 0x14016c0c0
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x330]
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