Function at 0x140026670
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r9
mov dword [rbp - 0x19], 0x10
mov r14d, r8d
lea rsi, str.127.0.0.1
mov r15, rdx
mov rdi, rcx
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x1400266e4
test byte [rcx + 0x1c], 4
je 0x1400266e4
cmp byte [rcx + 0x19], 5
jb 0x1400266e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400931c0]
mov edx, 0x51
call fcn.14000459c
and qword [rbx], 0
test r14d, r14d
je 0x14002677a
xor esi, esi
lea rax, str.ncacn_ip_tcp
test r14d, r14d
lea rdx, str.ncalrpc
mov r9, r15
cmove rdx, rax
mov r8, rsi
lea rax, [rbp - 0x11]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, [0x1400926f8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
nop dword [rax + rax]
test eax, eax
je 0x140026833
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x140026770
test byte [rcx + 0x1c], 4
je 0x140026770
cmp byte [rcx + 0x19], 2
jb 0x140026770
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400931c0]
mov edx, 0x53
mov r9d, eax
call fcn.140004994
mov eax, 0xc0000017
jmp 0x1400269ab
test rdi, rdi
je 0x1400266f3
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
nop dword [rax + rax]
test eax, eax
je 0x1400267e7
mov rdx, rdi
lea rcx, [rbp + 7]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400266f3
cmp word [rdi], 0x5c
jne 0x1400267df
cmp word [rdi + 2], 0x5c
jne 0x1400267df
lea rdx, [rdi + 4]
lea rcx, [rbp + 7]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400266f3
mov rsi, rdi
jmp 0x1400266f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x14002682c
test byte [rcx + 0x1c], 4
je 0x14002682c
cmp byte [rcx + 0x19], 2
jb 0x14002682c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400931c0]
mov edx, 0x52
mov r9d, eax
call fcn.1400238ac
mov eax, ebx
jmp 0x1400269ab
mov rcx, qword [rbp - 0x11]
mov rdx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
nop dword [rax + rax]
lea rcx, [rbp - 0x11]
mov edi, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
test edi, edi
jne 0x140026955
mov rcx, qword [rbx]
test rcx, rcx
je 0x140026955
test r14d, r14d
jne 0x14002690b
and dword [rbp - 5], r14d
lea rax, [rbp - 9]
and dword [rbp - 1], r14d
lea r9d, [rdi + 0xa]
mov qword [rsp + 0x30], rax
lea r8d, [rdi + 6]
and dword [rsp + 0x28], r14d
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rbp - 9], 1
mov dword [rbp + 3], 2
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14002690b
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x1400268f1
test byte [rcx + 0x1c], 4
je 0x1400268f1
cmp byte [rcx + 0x19], 2
jb 0x1400268f1
lea edx, [r14 + 0x55]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400931c0]
mov r9d, edi
call fcn.140004994
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop dword [rax + rax]
and qword [rbx], 0
mov eax, edi
jmp 0x1400269ab
mov rcx, qword [rbx]
mov edx, 0xc
mov r8d, 0x7530
call qword [sym.imp.RPCRT4.dll_RpcBindingSetOption]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x140026951
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x1400268f1
test byte [rcx + 0x1c], 4
je 0x1400268f1
cmp byte [rcx + 0x19], 2
jb 0x1400268f1
mov edx, 0x56
jmp 0x1400268de
xor eax, eax
jmp 0x1400269ab
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x14002698c
test byte [rcx + 0x1c], 4
je 0x14002698c
cmp byte [rcx + 0x19], 2
jb 0x14002698c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400931c0]
mov edx, 0x54
mov r9d, edi
call fcn.140004994
and qword [rbx], 0
mov eax, 0x4ba
cmp edi, 0x6aa
je 0x1400269ab
cmp edi, 0x6ab
mov ecx, 0xc0000017
cmovne eax, ecx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140001b10
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret