Function at 0x1400093c0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x1400561a8]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov r15, rcx
mov qword [rbp - 0x10], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], r12
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x80]
call fcn.140005510
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x40], rax
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x80]
call fcn.140016310
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb8], xmm0
lea rax, [0x14004b3c8]
mov qword [rbp + 0xf0], rax
lea rax, fcn.140003ad0
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xe8], rax
lea rax, [0x14004c0c0]
mov qword [rbp + 0xf8], rax
lea ecx, [r12 + 0x18]
call fcn.140019a34
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_void____ptr64__struct_boost::asio::detail::socket_ops::noop_deleter_.0
mov qword [rax], rcx
mov qword [rax + 0x10], r12
mov qword [rbp + 0xb8], r12
mov rbx, qword [rbp + 0xc0]
mov qword [rbp + 0xc0], rax
lea r14, [r12 - 1]
test rbx, rbx
je 0x14000954a
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000954a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000954a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
xor r8d, r8d
lea rdx, [0x14004a38b]
lea rcx, [rsp + 0x58]
call fcn.1400110c0
nop
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x48], rax
mov byte [rbp + 0x60f], 0
mov edx, 0x3ff
lea rcx, [rbp + 0x210]
call qword [sym.imp.WS2_32.dll_gethostname]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea rax, [rbp + 0x210]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1400095d4
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x38]
call fcn.1400110c0
nop
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x10], xmm1
lea r9, [rbp]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x98]
call fcn.14000dd20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140009672
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000966d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bd4
call fcn.140019480
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], select
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400096c2
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bda
call fcn.140019480
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], select
mov byte [rsp + 0x58], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
mov rsi, qword [rbp + 0xa0]
test rsi, rsi
je 0x1400096f9
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0xa0]
mov rdi, qword [rbp + 0x98]
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], rsi
mov rbx, r12
mov qword [rbp + 0x78], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
mov qword [rbp + 0x110], r12
movabs r13, 0x2aaaaaaaaaaaaaab
nop dword [rax + rax]
test rdi, rdi
je 0x1400098af
lea rax, [rbx + rbx*2]
shl rax, 5
add rax, qword [rdi]
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x20], xmm0
mov ecx, dword [rax + 0x18]
mov dword [rbp - 0x18], ecx
movd eax, xmm1
cmp ax, 2
jne 0x14000978a
mov ecx, dword [rbp - 0x2c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x70], r12d
mov dword [rbp - 0x6c], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], r12d
jmp 0x14000979d
mov qword [rbp - 0x70], 1
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], ecx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140007b50
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, qword [rbp + 0x60]
je 0x1400097e7
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], select
mov byte [rax], 0
add qword [rbp + 0x58], 0x20
jmp 0x1400097f4
mov r8, rax
lea rcx, [rbp + 0x50]
call fcn.140014730
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000982f
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000982a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009be0
call fcn.140019480
inc rbx
mov qword [rbp + 0x78], rbx
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
mov rax, r13
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jne 0x140009730
mov rdi, r12
mov qword [rbp + 0x68], r12
mov rbx, rsi
mov rsi, r12
mov qword [rbp + 0x70], r12
test rbx, rbx
je 0x1400098a3
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000989b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000989b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x70]
mov rbx, r12
mov qword [rbp + 0x78], rbx
jmp 0x140009730
test rsi, rsi
je 0x1400098e4
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400098e4
mov rbx, qword [rbp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400098e4
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x120]
call fcn.14001bfb0
lea rcx, [rbp + 0x120]
call fcn.14000c440
nop
mov rbx, r12
mov rax, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14000997e
mov rdi, r12
nop
add rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140009931
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.140014140
mov rcx, qword [rbp + 0x58]
mov rax, rcx
mov rdx, qword [rbp + 0x50]
sub rax, rdx
sar rax, 5
dec rax
cmp rbx, rax
je 0x14000996b
lea rcx, [rbp + 0x120]
call fcn.140010900
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
inc rbx
add rdi, 0x20
sub rcx, rdx
sar rcx, 5
cmp rbx, rcx
jb 0x140009920
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], select
mov byte [r15], 0
mov dword [rsp + 0x30], 0x3c
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov ecx, dword [rbp + 0x198]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400099ec
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x1400099ec
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
mov qword [rsp + 0x78], rdx
cmp r8, qword [rbp + 0x190]
cmovb r8, qword [rbp + 0x190]
sub r8, rdx
mov qword [rbp - 0x80], r8
jmp 0x140009a2e
test cl, 4
jne 0x140009a25
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
test rcx, rcx
je 0x140009a25
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov qword [rsp + 0x78], rdx
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
mov qword [rbp - 0x80], r8
jmp 0x140009a2e
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140009a3c
mov rcx, r15
call fcn.14000ff90
nop
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x128]
call fcn.14000c160
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x120], rax
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x11c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x1a8], rax
lea rcx, [rbp + 0x1a8]
call fcn.140018ca0
nop
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
je 0x140009afc
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009afc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009afc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0xb0]
call fcn.14000dc70
nop
mov rax, qword [rbp + 0x80]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140009b32
nop dword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140009b20
lock xadd dword [0x14005a050], r14d
cmp r14d, 1
jne 0x140009b47
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp + 0x80]
call fcn.140003a10
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140009b9b
mov rdx, qword [rbp + 0x58]
call fcn.1400119b0
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x50]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bce
call fcn.140019480
mov rax, r15
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.140019460
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140022984
nop
call fcn.140022984
nop
call fcn.140022984
nop
call fcn.140022984
int3