Function at 0x140030da0
Capabilities:
Get hostname

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r9
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
lea rsi, [0x140002ca0]
mov dword [rbp - 0x29], 0x10
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140030e11
test byte [rcx + 0x1c], 4
je 0x140030e11
cmp byte [rcx + 0x19], 5
jb 0x140030e11
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002d80]
mov edx, 0x50
call fcn.14000e618
and qword [rbx], 0
test r14d, r14d
je 0x140030ea1
xor esi, esi
lea rax, [0x140002a78]
lea rdx, [0x140002cb8]
test r14d, r14d
cmovne rdx, rax
lea rax, [rbp - 0x21]
mov r9, r15
mov qword [rsp + 0x28], rax
lea rax, [0x1400022d0]
mov r8, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
test eax, eax
je 0x140030f42
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140030e97
test byte [rcx + 0x1c], 4
je 0x140030e97
cmp byte [rcx + 0x19], 2
jb 0x140030e97
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002d80]
mov edx, 0x52
mov r9d, eax
call fcn.14000e63c
mov eax, 0xc0000017
jmp 0x140031097
test rdi, rdi
je 0x140030e20
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140030efc
lea rcx, [rbp - 9]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140030e20
cmp word [rdi], 0x5c
jne 0x140030ef4
cmp word [rdi + 2], 0x5c
jne 0x140030ef4
lea rdx, [rdi + 4]
lea rcx, [rbp - 9]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140030e20
mov rsi, rdi
jmp 0x140030e20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140030f3b
test byte [rcx + 0x1c], 4
je 0x140030f3b
cmp byte [rcx + 0x19], 2
jb 0x140030f3b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002d80]
mov edx, 0x51
mov r9d, eax
call fcn.14000e63c
mov eax, ebx
jmp 0x140031097
mov rcx, qword [rbp - 0x21]
mov rdx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
lea rcx, [rbp - 0x21]
mov edi, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test edi, edi
jne 0x140031046
mov rcx, qword [rbx]
test rcx, rcx
je 0x140031046
test r14d, r14d
jne 0x140031002
and dword [rbp - 0x15], r14d
and dword [rbp - 0x11], r14d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], r14d
and qword [rsp + 0x20], 0
lea r9d, [rdi + 0xa]
lea r8d, [rdi + 6]
xor edx, edx
mov dword [rbp - 0x19], 1
mov dword [rbp - 0xd], 2
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
mov edi, eax
test eax, eax
je 0x140031002
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140030fee
test byte [rcx + 0x1c], 4
je 0x140030fee
cmp byte [rcx + 0x19], 2
jb 0x140030fee
lea edx, [r14 + 0x54]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002d80]
mov r9d, eax
call fcn.14000e63c
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
and qword [rbx], 0
mov eax, edi
jmp 0x140031097
mov rcx, qword [rbx]
mov edx, 0xc
mov r8d, 0x7530
call qword [sym.imp.RPCRT4.dll_RpcBindingSetOption]
mov edi, eax
test eax, eax
je 0x140031042
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140030fee
test byte [rcx + 0x1c], 4
je 0x140030fee
cmp byte [rcx + 0x19], 2
jb 0x140030fee
mov edx, 0x55
jmp 0x140030fdb
xor eax, eax
jmp 0x140031097
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x14003107d
test byte [rcx + 0x1c], 4
je 0x14003107d
cmp byte [rcx + 0x19], 2
jb 0x14003107d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002d80]
mov edx, 0x53
mov r9d, edi
call fcn.14000e63c
and qword [rbx], 0
lea ecx, [rdi - 0x6aa]
mov eax, 0x4ba
cmp ecx, 1
mov edx, 0xc0000017
cmova eax, edx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140088640
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret