Function at 0x18000d300
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18004a020]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x28], r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
lea rcx, [0x18004cb98]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], dil
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x18000d390
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1800074f0
nop
mov r13, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 9
jb 0x18000dbe0
mov r12, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000d3d3
mov r12, qword [rbx]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
lea r15, [r13 + 9]
mov edi, send
lea r14, [rbp - 0x80]
cmp r15, rdi
jbe 0x18000d467
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x18000d429
mov rdi, rcx
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.180011460
test rax, rax
je 0x18000dbe6
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x18000d463
mov eax, socket
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x18000d451
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000dbce
jmp 0x18000d40a
test rcx, rcx
je 0x18000d460
call fcn.180011460
mov r14, rax
jmp 0x18000d463
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rdi
movsd xmm0, qword [0x180043c98]
movsd qword [r14], xmm0
movzx eax, byte [0x180043ca0]
mov byte [r14 + 8], al
lea rcx, [r14 + 9]
mov r8, r13
mov rdx, r12
call fcn.180013720
mov byte [r14 + r15], 0
mov r8d, 1
lea rdx, [0x180043bf8]
lea rcx, [rbp - 0x80]
call fcn.180007650
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], dil
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18000d4ea
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.180007650
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x180043bf8]
lea rcx, [rbp - 0x60]
call fcn.180007650
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x20]
lea rcx, [rbp]
call fcn.18000e290
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18000d5a4
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbec
call fcn.180011450
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18000d5df
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d5da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbf2
call fcn.180011450
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18000d62a
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d625
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbf8
call fcn.180011450
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18000d675
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbfe
call fcn.180011450
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18000d6c2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d6bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc04
call fcn.180011450
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea r12, [rbp]
mov rdi, qword [rbp]
mov r15, qword [rbp + 0x18]
cmp r15, 0x10
cmovae r12, rdi
mov r13, qword [rbp + 0x10]
cmp r13, 0x10
jae 0x18000d701
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x60], xmm0
mov r14d, send
jmp 0x18000d777
mov r14, r13
or r14, 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
cmova r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x18000d755
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000dc0a
mov rcx, rax
call fcn.180011460
mov rcx, rax
test rax, rax
je 0x18000dc10
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000d763
test rcx, rcx
je 0x18000d761
call fcn.180011460
jmp 0x18000d763
xor eax, eax
mov qword [rsp + 0x60], rax
lea r8, [r13 + 1]
mov rdx, r12
mov rcx, rax
call fcn.180013720
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.180009d20
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18000a670
mov r14, rax
mov qword [rsp + 0x20], rax
mov r8, qword [rax + 8]
mov rdx, qword [rax]
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov r9d, send
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x40], r12b
cmp rdx, r8
je 0x18000d7de
sub r8, rdx
lea rcx, [rsp + 0x40]
call fcn.1800074f0
mov r9, qword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x18000d827
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18000d812
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000dc10
mov rcx, r8
call fcn.180011450
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 0
jne 0x18000d9a0
mov r8d, send
lea rdx, [0x180043c10]
mov rcx, qword [rsp + 0x28]
call fcn.1800074f0
lea rcx, [0x18004cb98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18000d89a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc16
call fcn.180011450
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
cmp r15, 0x10
jb 0x18000d8e5
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000d8dc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbd4
mov rcx, rdi
call fcn.180011450
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000d91f
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x18000d91a
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000dbc8
mov rcx, r8
call fcn.180011450
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18000d968
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x18000d963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000dbda
mov rcx, r8
call fcn.180011450
xor al, al
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180011430
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, rdx
lea rdx, [0x180043ca8]
call fcn.18001344c
lea rcx, [rsp + 0x40]
test rax, rax
mov rax, qword [rsp + 0x28]
je 0x18000db0f
cmp rax, rcx
je 0x18000d9ef
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.1800074f0
lea rcx, [0x18004cb98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18000da3a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000da35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc16
call fcn.180011450
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
cmp r15, 0x10
jb 0x18000da85
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000da7c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbd4
mov rcx, rdi
call fcn.180011450
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000dabf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000daba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000dbc8
mov rcx, r8
call fcn.180011450
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18000db08
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x18000db03
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000dbda
mov rcx, r8
call fcn.180011450
mov al, 1
jmp 0x18000d96a
cmp rax, rcx
je 0x18000db32
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.1800074f0
lea rcx, [0x18004cb98]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18000db7d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dc16
call fcn.180011450
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
cmp r15, 0x10
jb 0x18000d8e5
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000d8dc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dbd4
jmp 0x18000d8dc
call fcn.180019bb8
nop
call fcn.180001690
nop
call fcn.180019bb8
nop
call fcn.180019bb8
nop
call fcn.180001730
int3
call fcn.180019bb8
nop
call fcn.180019bb8
nop
call fcn.180019bb8
nop
call fcn.180019bb8
nop
call fcn.180019bb8
nop
call fcn.180019bb8
int3
call fcn.180001690
int3
call fcn.180019bb8
int3
call fcn.180019bb8
int3