Function at 0x14016a5f0
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea r12, [0x140346ce0]
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.1401fcb40
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.1402ba94c
lea edx, [r14 + 5]
lea rcx, [rsp + 0x68]
call fcn.1401fde50
nop
mov qword [rsp + 0x40], r14
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 3]
lea r8, [0x140357750]
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
mov qword [rsp + 0x60], r14
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.1401fcb40
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.1402ba94c
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.1401fde50
nop
lea rax, [rbp + 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14016a720
mov qword [rsp + 0x50], r14
test ebx, ebx
jne 0x14016a73a
mov qword [rsp + 0x48], r12
jmp 0x14016a760
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400d2ba0
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400d2ba0
nop
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x78]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x78]
call fcn.1401fde50
nop
cmp dword [rbp - 0x38], 0
jle 0x14016a7eb
mov rcx, qword [rbp - 0x40]
call fcn.1402b7350
nop
cmp dword [rbp - 0x28], 0
jle 0x14016a7fb
mov rcx, qword [rbp - 0x30]
call fcn.1402b7350
nop
cmp dword [rbp - 0x70], 0
jle 0x14016a80b
mov rcx, qword [rbp - 0x78]
call fcn.1402b7350
nop
cmp dword [rsp + 0x50], 0
jle 0x14016a81d
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
nop
cmp dword [rsp + 0x60], 0
jle 0x14016a82f
mov rcx, qword [rsp + 0x58]
call fcn.1402b7350
nop
cmp dword [rsp + 0x40], 0
jle 0x14016a841
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
nop
cmp dword [rsp + 0x70], 0
jle 0x14016a852
mov rcx, qword [rsp + 0x68]
call fcn.1402b7350
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.140206130
test al, al
je 0x14016ade7
mov eax, dword [rbp - 0x10]
cmp eax, 2
jl 0x14016ade7
mov rcx, qword [rbp - 8]
cmp byte [rcx], 0xff
jne 0x14016a8c4
cmp byte [rcx + 1], 0xfe
jne 0x14016a8c4
mov sil, 1
jmp 0x14016ac99
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.140201ca0
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.14020d3f0
test al, al
je 0x14016ac63
mov esi, 1
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.1401ff5a0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
cmp dword [rbp - 0x70], 0
jle 0x14016a995
mov rcx, qword [rbp - 0x78]
call fcn.1402b7350
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x14016a9b2
test dil, dil
jne 0x14016a9aa
mov byte [rsp + 0x31], 1
mov r12d, r14d
inc r12d
jmp 0x14016abde
cmp eax, 5
jl 0x14016abde
mov r8d, esi
lea rdx, [0x140355294]
lea rcx, [rsp + 0x38]
call fcn.1401ff2c0
test al, al
jne 0x14016abde
lea rax, [0x140346ce0]
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 0x14016aab3
nop dword [rax]
test rdi, rdi
js 0x14016abff
cmp esi, ecx
jge 0x14016abff
mov rax, qword [rsp + 0x38]
movzx ebx, word [rax + rdi*2]
cmp bx, 0x20
je 0x14016aaa3
cmp bx, 9
je 0x14016aaa3
test r14b, r14b
jne 0x14016aa6f
mov edx, dword [rsp + 0x54]
inc edx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
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.1401fde50
mov ecx, dword [rsp + 0x44]
jmp 0x14016aaa6
mov edx, dword [rsp + 0x64]
inc edx
lea rcx, [rsp + 0x58]
call fcn.1401fcb40
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.1401fde50
mov ecx, dword [rsp + 0x44]
jmp 0x14016aaa6
mov r14b, 1
inc esi
inc rdi
cmp esi, ecx
jl 0x14016aa10
mov esi, 1
mov r8d, esi
lea rdx, str.127.0.0.1
lea rcx, [rsp + 0x48]
call fcn.1401ff2c0
test al, al
jne 0x14016aba9
cmp dword [rsp + 0x54], 0
jle 0x14016aba9
cmp dword [rsp + 0x64], 0
jle 0x14016aba9
cmp r12d, 0x32
jl 0x14016aafc
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.1401fc8b0
test al, al
jne 0x14016ab35
inc ebx
add rdi, 8
movsxd rax, ebx
cmp rax, 2
jb 0x14016ab10
jmp 0x14016abac
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.1401fde50
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.1401fde50
movzx ebx, sil
mov byte [rsp + 0x30], bl
jmp 0x14016abb1
xor r14d, r14d
movzx ebx, byte [rsp + 0x30]
cmp dword [rsp + 0x60], 0
jle 0x14016abc3
mov rcx, qword [rsp + 0x58]
call fcn.1402b7350
nop
cmp dword [rsp + 0x50], 0
jle 0x14016abd4
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
test bl, bl
jne 0x14016ac60
jmp 0x14016abe3
movzx ebx, byte [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14020d3f0
test al, al
je 0x14016ac60
movzx edi, byte [rsp + 0x31]
jmp 0x14016a940
lea rcx, [rbp - 0x78]
call fcn.1401fa810
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x78], rax
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.1401fde50
nop
lea rdx, [0x14040da50]
lea rcx, [rbp - 0x78]
call fcn.1402bece8
nop
xor sil, sil
cmp dword [rsp + 0x40], 0
jle 0x14016ac75
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
nop
cmp dword [rbp - 0x38], 0
jle 0x14016ac85
mov rcx, qword [rbp - 0x40]
call fcn.1402b7350
nop
test bl, bl
jne 0x14016ac92
test r15b, r15b
je 0x14016ade7
lea r12, [0x140346ce0]
mov ecx, 0x58
call fcn.1402b6dbc
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14016acc9
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400d8f40
lea rax, vtable.HitmanPro35::RepairHostsFile.0
mov qword [rdi], rax
jmp 0x14016accc
mov rdi, r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0
test r15b, r15b
je 0x14016ad22
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.1401fde50
jmp 0x14016adc6
test sil, sil
je 0x14016ad67
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.1401fde50
jmp 0x14016adc6
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.1401fcfe0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
cmp dword [rbp - 0x70], 0
jle 0x14016adc6
mov rcx, qword [rbp - 0x78]
call fcn.1402b7350
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1401683e0
nop
cmp dword [rsp + 0x40], 0
jle 0x14016adea
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
jmp 0x14016adea
mov rdi, r14
mov r8, qword [rbp - 8]
test r8, r8
je 0x14016ae00
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp dword [rbp - 0x58], 0
jle 0x14016ae10
mov rcx, qword [rbp - 0x60]
call fcn.1402b7350
nop
cmp dword [rbp - 0x48], 0
jle 0x14016ae20
mov rcx, qword [rbp - 0x50]
call fcn.1402b7350
nop
cmp dword [rbp - 0x80], 0
jle 0x14016ae30
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1402b6d40
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