Function at 0x1400206f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140020759
lea rdx, str.Failed_to_initialize_winsock
lea rcx, [0x140070410]
call fcn.140014830
mov rcx, rax
call fcn.140014790
mov al, 1
jmp 0x140020a4e
mov edx, 0x100
lea rcx, [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x140020791
lea rdx, str.Failed_to_get_host_name
lea rcx, [0x140070410]
call fcn.140014830
mov rcx, rax
call fcn.140014790
mov al, 1
jmp 0x140020a4e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x2c], 2
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140020804
lea rdx, str.Failed_to_get_addr_info
lea rcx, [0x140070410]
call fcn.140014830
mov rcx, rax
call fcn.140014790
mov al, 1
jmp 0x140020a4e
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140020824
lea rcx, [rsp + 0x78]
call fcn.140006ad0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov edi, 0xa
mov qword [rsp + 0x68], rdi
mov r8d, 0xf
mov qword [rsp + 0x70], r8
movsd xmm0, qword [str..xdr.local]
movsd qword [rsp + 0x58], xmm0
movzx eax, word [0x140065d08]
mov word [rsp + 0x60], ax
mov byte [rsp + 0x62], 0
lea rsi, [rsp + 0x78]
mov r11, qword [rsp + 0x78]
mov r15, qword [rbp - 0x70]
cmp r15, 0x10
cmovae rsi, r11
lea r14, [rsp + 0x78]
cmovae r14, r11
mov rcx, qword [rbp - 0x78]
add r14, rcx
lea rbx, [rsp + 0x78]
cmp r15, 0x10
cmovae rbx, r11
cmp rbx, r14
je 0x1400208da
sub rsi, rbx
movsx ecx, byte [rbx]
call fcn.1400341d8
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x1400208b0
mov r15, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r11, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
mov r10, qword [rsp + 0x58]
cmp r8, 0x10
cmovae rsi, r10
lea r14, [rsp + 0x58]
cmovae r14, r10
add r14, rdi
lea rbx, [rsp + 0x58]
cmp r8, 0x10
cmovae rbx, r10
cmp rbx, r14
je 0x14002093f
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.1400341d8
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x140020910
mov r15, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r11, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
cmp rcx, rdi
jb 0x1400209ac
mov r9, rcx
sub r9, rdi
cmp rcx, r9
jb 0x140020a80
lea rdx, [rsp + 0x58]
cmp r8, 0x10
cmovae rdx, r10
sub rcx, r9
mov rbx, rdi
cmp rcx, rdi
cmovb rbx, rcx
lea rcx, [rsp + 0x78]
cmp r15, 0x10
cmovae rcx, r11
add rcx, r9
mov r8, rbx
cmp rdi, rbx
cmovb r8, rdi
call fcn.140024f40
test eax, eax
jne 0x1400209ac
cmp rbx, rdi
jb 0x1400209ac
ja 0x1400209ac
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov bl, 1
jmp 0x1400209bf
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400209fc
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400209f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020a86
call fcn.140022500
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140020a4b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020a46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020a7a
call fcn.140022500
movzx eax, bl
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400224e0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002e018
nop
call fcn.1400067d0
nop
call fcn.14002e018
int3