Function at 0x14016d490
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 [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea r12, [0x14034d1a0]
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.1402028a0
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.1402c06dc
lea edx, [r14 + 5]
lea rcx, [rsp + 0x68]
call fcn.140203bb0
nop
mov qword [rsp + 0x40], r14
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.1402028a0
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 3]
lea r8, [0x14035dd30]
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
lea edx, [r14 + 3]
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
mov qword [rsp + 0x60], r14
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.1402028a0
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.1402c06dc
lea edx, [r14 + 7]
lea rcx, [rsp + 0x58]
call fcn.140203bb0
nop
lea rax, [rbp + 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14016d5c0
mov qword [rsp + 0x50], r14
test ebx, ebx
jne 0x14016d5da
mov qword [rsp + 0x48], r12
jmp 0x14016d600
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400d4050
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400d4050
nop
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x78]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x78]
call fcn.140203bb0
nop
cmp dword [rbp - 0x38], 0
jle 0x14016d68b
mov rcx, qword [rbp - 0x40]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x28], 0
jle 0x14016d69b
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x70], 0
jle 0x14016d6ab
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x50], 0
jle 0x14016d6bd
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x60], 0
jle 0x14016d6cf
mov rcx, qword [rsp + 0x58]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x40], 0
jle 0x14016d6e1
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x70], 0
jle 0x14016d6f2
mov rcx, qword [rsp + 0x68]
call fcn.1402bd0e0
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.14020c740
test al, al
je 0x14016dc87
mov eax, dword [rbp - 0x10]
cmp eax, 2
jl 0x14016dc87
mov rcx, qword [rbp - 8]
cmp byte [rcx], 0xff
jne 0x14016d764
cmp byte [rcx + 1], 0xfe
jne 0x14016d764
mov sil, 1
jmp 0x14016db39
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.140207990
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.1402130b0
test al, al
je 0x14016db03
mov esi, 1
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.140205300
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
cmp dword [rbp - 0x70], 0
jle 0x14016d835
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x14016d852
test dil, dil
jne 0x14016d84a
mov byte [rsp + 0x31], 1
mov r12d, r14d
inc r12d
jmp 0x14016da7e
cmp eax, 5
jl 0x14016da7e
mov r8d, esi
lea rdx, [0x14035b984]
lea rcx, [rsp + 0x38]
call fcn.140205020
test al, al
jne 0x14016da7e
lea rax, [0x14034d1a0]
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 0x14016d953
nop dword [rax]
test rdi, rdi
js 0x14016da9f
cmp esi, ecx
jge 0x14016da9f
mov rax, qword [rsp + 0x38]
movzx ebx, word [rax + rdi*2]
cmp bx, 0x20
je 0x14016d943
cmp bx, 9
je 0x14016d943
test r14b, r14b
jne 0x14016d90f
mov edx, dword [rsp + 0x54]
inc edx
lea rcx, [rsp + 0x48]
call fcn.1402028a0
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.140203bb0
mov ecx, dword [rsp + 0x44]
jmp 0x14016d946
mov edx, dword [rsp + 0x64]
inc edx
lea rcx, [rsp + 0x58]
call fcn.1402028a0
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.140203bb0
mov ecx, dword [rsp + 0x44]
jmp 0x14016d946
mov r14b, 1
inc esi
inc rdi
cmp esi, ecx
jl 0x14016d8b0
mov esi, 1
mov r8d, esi
lea rdx, str.127.0.0.1
lea rcx, [rsp + 0x48]
call fcn.140205020
test al, al
jne 0x14016da49
cmp dword [rsp + 0x54], 0
jle 0x14016da49
cmp dword [rsp + 0x64], 0
jle 0x14016da49
cmp r12d, 0x32
jl 0x14016d99c
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.140202610
test al, al
jne 0x14016d9d5
inc ebx
add rdi, 8
movsxd rax, ebx
cmp rax, 2
jb 0x14016d9b0
jmp 0x14016da4c
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x64]
lea rcx, [rbp - 0x50]
call fcn.140203bb0
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x60]
call fcn.140203bb0
movzx ebx, sil
mov byte [rsp + 0x30], bl
jmp 0x14016da51
xor r14d, r14d
movzx ebx, byte [rsp + 0x30]
cmp dword [rsp + 0x60], 0
jle 0x14016da63
mov rcx, qword [rsp + 0x58]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x50], 0
jle 0x14016da74
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
test bl, bl
jne 0x14016db00
jmp 0x14016da83
movzx ebx, byte [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1402130b0
test al, al
je 0x14016db00
movzx edi, byte [rsp + 0x31]
jmp 0x14016d7e0
lea rcx, [rbp - 0x78]
call fcn.140200570
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x78], rax
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x2a
lea rcx, [rbp - 0x70]
call fcn.140203bb0
nop
lea rdx, [0x140415de0]
lea rcx, [rbp - 0x78]
call fcn.1402c4a18
nop
xor sil, sil
cmp dword [rsp + 0x40], 0
jle 0x14016db15
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x38], 0
jle 0x14016db25
mov rcx, qword [rbp - 0x40]
call fcn.1402bd0e0
nop
test bl, bl
jne 0x14016db32
test r15b, r15b
je 0x14016dc87
lea r12, [0x14034d1a0]
mov ecx, 0x58
call fcn.1402bcb4c
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14016db69
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400da430
lea rax, vtable.HitmanPro35::RepairHostsFile.0
mov qword [rdi], rax
jmp 0x14016db6c
mov rdi, r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0
test r15b, r15b
je 0x14016dbc2
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x6d
lea rcx, [rsp + 0x38]
call fcn.140203bb0
jmp 0x14016dc66
test sil, sil
je 0x14016dc07
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x51
lea rcx, [rsp + 0x38]
call fcn.140203bb0
jmp 0x14016dc66
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.140202d40
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x38]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
cmp dword [rbp - 0x70], 0
jle 0x14016dc66
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.14016b280
nop
cmp dword [rsp + 0x40], 0
jle 0x14016dc8a
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
jmp 0x14016dc8a
mov rdi, r14
mov r8, qword [rbp - 8]
test r8, r8
je 0x14016dca0
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp dword [rbp - 0x58], 0
jle 0x14016dcb0
mov rcx, qword [rbp - 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x48], 0
jle 0x14016dcc0
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x80], 0
jle 0x14016dcd0
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1402bcad0
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