Function at 0x14000efc0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov r14, qword [rbp + 0x4f0]
mov r15, rcx
movsxd rbx, edx
xor esi, esi
mov qword [rsp + 0x58], rcx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x370]
mov qword [rsp + 0x48], r14
mov r12d, esi
mov qword [rsp + 0x60], r9
mov r13, r9
mov dword [rbp - 0x78], 0x105
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea r8, [rbp + 0x370]
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1400270dc
mov rdi, rbx
mov qword [rsp + 0x68], rbx
imul rbx, rbx, 0x78
lea r8, str.GENERAL__d
mov edx, 0x50
lea rcx, [rbp - 0x10]
mov r9d, dword [rbx + r15 + 0x200]
call fcn.1400110e0
mov eax, dword [rbx + r15 + 0x200]
lea r9, str.DOMAINNAME
mov rcx, qword [r15 + 0x2058]
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rbp + 0x260]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call fcn.140019620
mov r8d, dword [r13 + 0x118]
cmp r8d, 0xc
jne 0x14000f3d9
lea rax, [rbp - 0x68]
mov rcx, r13
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x70]
lea rax, [rbp - 0x6c]
lea r8, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea rdx, str._u._u._u._u.in_addr.arpa
call fcn.140001040
cmp eax, 4
je 0x14000f0ea
xor eax, eax
jmp 0x14000f755
movzx eax, byte [rbp - 0x74]
lea r8, [0x14005e860]
shl ax, 8
lea rdx, [rsp + 0x7c]
movzx ebx, ax
xorps xmm0, xmm0
movzx eax, byte [rbp - 0x70]
mov r9d, 0x20
or ebx, eax
movzx eax, byte [rbp - 0x6c]
shl ax, 8
movzx ecx, ax
movzx eax, byte [rbp - 0x68]
shl ebx, 0x10
or ebx, ecx
mov ecx, 2
or ebx, eax
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x7c], ebx
call qword [sym.imp.WS2_32.dll_inet_ntop]
lea rdx, str.IPADDR
mov rcx, r15
mov r8, rax
call fcn.14000fbe0
mov ecx, dword [rbp + 0x4f8]
mov r13d, 1
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000f2f5
mov r15, rax
cmp byte [rax], sil
je 0x14000f2e2
add r14, 0x11c
mov qword [rsp + 0x40], r14
cmp r12d, ecx
jge 0x14000f2cf
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r15 + rdi], sil
jne 0x14000f192
mov rbx, qword [rsp + 0x58]
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 0x50
lea r8, str.Hostname
mov rdx, r15
mov qword [rsp + 0x20], rax
mov rcx, qword [rbx + 0x2058]
call fcn.140019330
test eax, eax
je 0x14000f29d
mov r8, qword [rsp + 0x60]
mov edx, 0x118
movsxd rax, r12d
imul rcx, rax, 0x328
mov rax, qword [rsp + 0x48]
add rax, rcx
mov dword [r14 - 4], 0xc
mov rcx, rax
mov dword [r14], r13d
mov dword [r14 + 4], 0x78
mov qword [rsp + 0x70], rax
call fcn.1400270dc
mov ebx, esi
mov r14d, esi
test r12d, r12d
jle 0x14000f251
test ebx, ebx
jne 0x14000f2b2
mov rdx, qword [rsp + 0x48]
movsxd rax, r14d
add rdx, 0x128
imul rcx, rax, 0x328
add rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.140027214
test eax, eax
cmove ebx, r13d
inc r14d
cmp r14d, r12d
jl 0x14000f215
test ebx, ebx
jne 0x14000f2b2
mov rcx, qword [rsp + 0x70]
lea r8, [rbp - 0x60]
add rcx, 0x128
mov edx, 0x200
call fcn.1400270dc
mov r14, qword [rsp + 0x40]
lea r8, [rbp - 0x60]
mov rcx, qword [rsp + 0x58]
lea rdx, str.__DNS_rr_data_s_r_n
add r14, 0x328
inc r12d
mov qword [rsp + 0x40], r14
mov rcx, qword [rcx + 0x2058]
call fcn.140019c40
jmp 0x14000f2b7
mov rcx, qword [rbx + 0x2058]
lea rdx, str.__DNS_host_not_found__hostname_not_specified__r_n
call fcn.140019c40
jmp 0x14000f2b7
mov r14, qword [rsp + 0x40]
mov ecx, dword [rbp + 0x4f8]
inc r15
movsxd rax, edi
add r15, rax
cmp byte [r15], sil
jne 0x14000f182
mov r14, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov ebx, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rcx, rax
call fcn.1400272e4
mov ecx, dword [rbp + 0x4f8]
mov r15, qword [rsp + 0x58]
mov rax, qword [r15 + rdi*8]
cmp dword [rax + 0x564], ebx
jne 0x14000f3b8
cmp r12d, ecx
jge 0x14000f3b8
mov ebx, esi
test r12d, r12d
jle 0x14000f34f
test esi, esi
jne 0x14000f752
movsxd rax, ebx
lea rcx, [rbp + 0x40]
imul rdx, rax, 0x328
add rdx, 0x128
add rdx, r14
call fcn.140027214
test eax, eax
cmove esi, r13d
inc ebx
cmp ebx, r12d
jl 0x14000f315
test esi, esi
jne 0x14000f752
mov r8, qword [rsp + 0x60]
mov edx, 0x118
movsxd rax, r12d
imul rbx, rax, 0x328
add rbx, r14
mov rcx, rbx
mov dword [rbx + 0x118], setsockopt
mov dword [rbx + 0x11c], r13d
mov dword [rbx + 0x120], 0x78
call fcn.1400270dc
lea rcx, [rbx + 0x128]
mov edx, 0x200
lea r8, [rbp + 0x40]
call fcn.1400270dc
mov rcx, qword [r15 + 0x2058]
lea r8, [rbp + 0x40]
lea rdx, str.__DNS_rr_data_s_r_n
inc r12d
call fcn.140019c40
test r12d, r12d
jne 0x14000f752
mov rcx, qword [r15 + 0x2058]
lea rdx, str.__DNS_host_not_found__ipaddr_unknown__r_n
call fcn.140019c40
jmp 0x14000f752
cmp r8d, 1
jne 0x14000f73f
lea rax, [rbp + 0x260]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x14000f3f1
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + r13], sil
jne 0x14000f401
mov r8, r13
lea rcx, [rbp + 0x150]
mov edx, 0x104
call fcn.1400270dc
test edi, edi
jle 0x14000f45f
cmp ebx, edi
jle 0x14000f45f
sub ebx, edi
lea rcx, [rbp + 0x260]
movsxd rbx, ebx
lea rdx, [rbx + r13]
call fcn.140027214
test eax, eax
jne 0x14000f45f
cmp byte [rbx + r13 - 1], 0x2e
lea rax, [rbx - 1]
jne 0x14000f45f
cmp rax, 0x104
jae 0x14000f77f
mov byte [rbp + rax + 0x150], sil
mov r8, r13
mov edx, 0x118
mov rcx, r14
call fcn.1400270dc
mov rdi, qword [rsp + 0x48]
lea r8, [rbp + 0x150]
mov r14d, 1
lea rdx, str.Hostname
mov rcx, r15
lea rbx, [rdi + 0x11c]
mov dword [rdi + 0x118], r14d
mov qword [rsp + 0x50], rbx
mov dword [rbx], r14d
mov dword [rdi + 0x120], 0x78
call fcn.14000fbe0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000f623
mov r13, rax
cmp byte [rax], sil
je 0x14000f616
mov qword [rsp + 0x40], rsi
nop
cmp r12d, dword [rbp + 0x4f8]
jge 0x14000f60c
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + r13], sil
jne 0x14000f4e4
mov rcx, qword [r15 + 0x2058]
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 0x50
lea r8, str.IPADDR
mov rdx, r13
mov qword [rsp + 0x20], rax
call fcn.140019330
test eax, eax
je 0x14000f5d4
mov r8, qword [rsp + 0x60]
mov edx, 0x118
movsxd rax, r12d
imul rcx, rax, 0x328
add rcx, qword [rsp + 0x48]
call fcn.1400270dc
mov dword [rbx - 4], r14d
mov r15, rsi
mov dword [rbx], r14d
mov dword [rbx + 4], 0x78
mov ebx, esi
cmp qword [rsp + 0x40], rbx
jle 0x14000f591
mov r14, qword [rsp + 0x48]
add r14, 0x128
test ebx, ebx
jne 0x14000f5e9
lea rcx, [rbp - 0x60]
call fcn.140011110
cmp dword [r14], eax
mov eax, 1
cmove ebx, eax
inc r15
add r14, 0x328
cmp r15, qword [rsp + 0x40]
jl 0x14000f560
test ebx, ebx
jne 0x14000f5e9
lea rcx, [rbp - 0x60]
call fcn.140011110
mov rbx, qword [rsp + 0x50]
lea r8, [rbp - 0x60]
mov r15, qword [rsp + 0x58]
lea rdx, str.__DNS_rr_data_s_r_n
inc qword [rsp + 0x40]
inc r12d
mov dword [rbx + 0xc], eax
add rbx, 0x328
mov rcx, qword [r15 + 0x2058]
mov qword [rsp + 0x50], rbx
call fcn.140019c40
jmp 0x14000f5f3
mov rcx, qword [r15 + 0x2058]
lea rdx, str.__DNS_host_not_found__IPADDR_not_specified__r_n
call fcn.140019c40
jmp 0x14000f5f3
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
inc r13
movsxd rax, edi
add r13, rax
mov r14d, 1
cmp byte [r13], sil
jne 0x14000f4d0
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.1400272e4
mov r13, qword [rsp + 0x60]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x40]
call fcn.140027214
test eax, eax
jne 0x14000f725
cmp r12d, dword [rbp + 0x4f8]
jge 0x14000f725
test r12d, r12d
jle 0x14000f68f
mov r9, qword [rsp + 0x68]
lea rdx, [rdi + 0x128]
movsxd r8, r12d
mov rcx, rsi
nop
test esi, esi
jne 0x14000f752
mov rax, qword [r15 + r9*8]
mov eax, dword [rax + 0x564]
cmp dword [rdx], eax
cmove esi, r14d
inc rcx
add rdx, 0x328
cmp rcx, r8
jl 0x14000f660
test esi, esi
jne 0x14000f752
movsxd rax, r12d
mov r8, r13
imul rbx, rax, 0x328
mov edx, 0x118
add rbx, rdi
mov rcx, rbx
call fcn.1400270dc
mov rdx, qword [rsp + 0x68]
lea r8, [0x14005e860]
mov dword [rbx + 0x118], r14d
xorps xmm0, xmm0
mov dword [rbx + 0x11c], r14d
mov r9d, 0x20
mov dword [rbx + 0x120], 0x78
inc r12d
mov rax, qword [r15 + rdx*8]
movups xmmword [rsp + 0x78], xmm0
mov ecx, dword [rax + 0x564]
mov dword [rbx + 0x128], ecx
mov rax, qword [r15 + rdx*8]
lea rdx, [rsp + 0x7c]
mov ecx, dword [rax + 0x564]
mov dword [rsp + 0x7c], ecx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [r15 + 0x2058]
lea rdx, str.__DNS_rr_data_s_r_n
mov r8, rax
call fcn.140019c40
test r12d, r12d
jne 0x14000f752
mov rcx, qword [r15 + 0x2058]
lea rdx, str.__DNS_host_not_found__Hostname_unknown__r_n
call fcn.140019c40
jmp 0x14000f752
mov rcx, qword [r15 + 0x2058]
lea rdx, str.__DNS_unsupported_rr_type_d_r_n
call fcn.140019c40
mov eax, r12d
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140020e70
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140020f98
int3