Function at 0x1400326ec
Capabilities:
Get hostname

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x98
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r9
mov ebp, r8d
mov r12, rdx
mov rdi, rcx
lea rsi, [0x14000a370]
mov dword [rsp + 0x40], 0x10
mov rcx, qword [str.P5_n_]
lea r15, str.P5_n_
cmp rcx, r15
je 0x14003275d
test byte [rcx + 0x1c], 4
je 0x14003275d
cmp byte [rcx + 0x19], 5
jb 0x14003275d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009838]
mov edx, 0x4e
call fcn.14000ffa8
and qword [rbx], 0
test ebp, ebp
je 0x1400327e1
xor esi, esi
lea rax, [0x14000a158]
lea rdx, [0x14000a388]
test ebp, ebp
cmovne rdx, rax
lea rax, [rsp + 0x48]
mov r9, r12
mov qword [rsp + 0x28], rax
lea rax, [0x140009d60]
mov r8, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
test eax, eax
je 0x14003287b
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400327d7
test byte [rcx + 0x1c], 4
je 0x1400327d7
cmp byte [rcx + 0x19], 2
jb 0x1400327d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009838]
mov edx, 0x50
mov r9d, eax
call fcn.1400100e0
mov eax, 0xc0000017
jmp 0x1400329c1
test rdi, rdi
je 0x140032767
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14003283c
lea rcx, [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140032767
cmp word [rdi], 0x5c
jne 0x140032834
cmp word [rdi + 2], 0x5c
jne 0x140032834
lea rdx, [rdi + 4]
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140032767
mov rsi, rdi
jmp 0x140032767
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x140032874
test byte [rcx + 0x1c], 4
je 0x140032874
cmp byte [rcx + 0x19], 2
jb 0x140032874
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009838]
mov edx, 0x4f
mov r9d, eax
call fcn.1400100e0
mov eax, ebx
jmp 0x1400329c1
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
lea rcx, [rsp + 0x48]
mov edi, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test edi, edi
jne 0x140032973
mov rcx, qword [rbx]
test rcx, rcx
je 0x140032973
test ebp, ebp
jne 0x140032936
and dword [rsp + 0x54], ebp
and dword [rsp + 0x58], ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], ebp
and qword [rsp + 0x20], 0
lea r9d, [rdi + 0xa]
lea r8d, [rdi + 6]
xor edx, edx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x5c], 2
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
mov edi, eax
test eax, eax
je 0x140032936
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x140032922
test byte [rcx + 0x1c], 4
je 0x140032922
cmp byte [rcx + 0x19], 2
jb 0x140032922
lea edx, [rbp + 0x52]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009838]
mov r9d, eax
call fcn.1400100e0
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
and qword [rbx], 0
mov eax, edi
jmp 0x1400329c1
mov rcx, qword [rbx]
mov edx, 0xc
mov r8d, 0x7530
call qword [sym.imp.RPCRT4.dll_RpcBindingSetOption]
mov edi, eax
test eax, eax
je 0x14003296f
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x140032922
test byte [rcx + 0x1c], 4
je 0x140032922
cmp byte [rcx + 0x19], 2
jb 0x140032922
mov edx, 0x53
jmp 0x14003290f
xor eax, eax
jmp 0x1400329c1
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400329a3
test byte [rcx + 0x1c], 4
je 0x1400329a3
cmp byte [rcx + 0x19], 2
jb 0x1400329a3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009838]
mov edx, 0x51
mov r9d, edi
call fcn.1400100e0
and qword [rbx], 0
cmp edi, 0x6aa
je 0x1400329bc
mov eax, 0xc0000017
cmp edi, 0x6ab
jne 0x1400329c1
mov eax, 0x4ba
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008c5b0
add rsp, 0x98
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret