Function at 0x180020610
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rcx
xor esi, esi
mov edx, 0x100
lea rcx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_gethostname]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x18], xmm0
movdqu xmmword [rbp - 8], xmm1
cmp eax, 0xffffffff
jne 0x180020677
mov r8d, 7
lea rdx, str.Unknown
jmp 0x18002068f
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x180020682
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x18]
call fcn.180005170
nop
mov byte [rbp - 0x40], 0
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.18002fef0
nop
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x20], 0
xor eax, eax
mov qword [rsp + 0x28], rax
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.18002fa70
mov byte [rsp + 0x20], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, 0x20
call fcn.180152a74
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 4
lea rdx, str.0005
mov rcx, rbx
call fcn.180005170
nop
mov qword [rsp + 0x28], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 4
lea rdx, str.type
lea rcx, [rsp + 0x40]
call fcn.180005170
lea rax, [rsp + 0x40]
mov qword [rbp - 0x28], rax
movzx ecx, byte [rbp - 0x40]
test cl, cl
jne 0x180020766
mov byte [rbp - 0x40], 1
call fcn.180038da0
mov qword [rbp - 0x38], rax
movzx ecx, byte [rbp - 0x40]
jmp 0x18002076a
mov rax, qword [rbp - 0x38]
cmp cl, 1
jne 0x180020927
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.18004ea50
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180003f70
nop
movzx ecx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x20]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x20], cl
mov rax, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 0x48], rcx
mov qword [rsp + 0x28], rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18002fa70
nop
lea rax, [rsp + 0x20]
mov qword [rbp - 0x28], rax
mov byte [rsp + 0x20], 0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x20]
call fcn.18005b3f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 4
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.180005170
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
movzx ecx, byte [rbp - 0x40]
test cl, cl
jne 0x180020839
mov byte [rbp - 0x40], 1
call fcn.180038da0
mov qword [rbp - 0x38], rax
movzx ecx, byte [rbp - 0x40]
jmp 0x18002083d
mov rax, qword [rbp - 0x38]
cmp cl, 1
jne 0x1800208e6
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.18004ea50
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180003f70
nop
movzx edx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x20]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x20], dl
mov rax, qword [rbx + 0x48]
mov rdx, qword [rsp + 0x28]
mov qword [rbx + 0x48], rdx
mov qword [rsp + 0x28], rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18002fa70
nop
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.180021820
nop
movzx edx, byte [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.18002fa70
nop
lea rcx, [rbp - 0x18]
call fcn.180003f70
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1801525e0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x40]
call fcn.180030070
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18004a450
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x68]
call fcn.180037b80
lea rdx, [0x1801d43c0]
lea rcx, [rsp + 0x68]
call fcn.18015b7f0
nop
lea rcx, [rbp - 0x40]
call fcn.180030070
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18004a450
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x68]
call fcn.180037b80
lea rdx, [0x1801d43c0]
lea rcx, [rsp + 0x68]
call fcn.18015b7f0
int3