Function at 0x14005e5b0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140120678]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x30], r8
mov r15, rdx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov r12d, r14d
mov ecx, 0x202
lea rdx, [rsp + 0x90]
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x14005e6b3
mov dword [rsp + 0x20], eax
lea r9, str.WARN
lea r8, [0x1400cbd78]
lea rdx, str.__s_____s__WSAStartup_failed:__d_n_r_n
lea ecx, [r14 + 2]
call fcn.14000afc0
mov r12d, 0x23300023
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14005e675
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14005e670
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e928
mov rcx, r8
call fcn.14009fcc0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov eax, r12d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a0360
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14005e6c0
mov rcx, qword [r15]
call sub.WS2_32.dll_gethostbyname
mov r13, rax
test rax, rax
jne 0x14005e70c
mov rbx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14005e6da
mov rbx, qword [r15]
call sub.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9, str.WARN
lea r8, [0x1400cbd78]
lea rdx, str.__s_____s__GetIpByHost_failed_host:_s__d_r_n
mov ecx, 2
call fcn.14000afc0
jmp 0x14005e635
movsx eax, word [rax + 0x10]
mov dword [rsp + 0x20], eax
lea r9, str.INFO
lea r8, [0x1400cbd78]
lea rdx, str.__s_____s__Address_type:__d_n_r_n
mov ecx, 1
call fcn.14000afc0
cmp word [r13 + 0x10], 2
jne 0x14005e63b
mov rax, qword [r13 + 0x18]
cmp qword [rax], r12
je 0x14005e63b
mov rbp, r14
nop
mov rax, qword [rax + rbp]
mov ebx, dword [rax]
lea rbp, [rbp + 8]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x1400e847c]
lea rcx, [rsp + 0x48]
call fcn.1400046c0
nop
mov ecx, ebx
call sub.WS2_32.dll_inet_ntoa
mov rdi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005e796
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x14005e82b
lea rax, [r8 + rbx]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x48]
cmp rcx, 0x10
cmovae rsi, qword [rsp + 0x48]
lea rax, [rbx + rdi]
cmp rax, rsi
jbe 0x14005e7eb
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x14005e7eb
cmp rsi, rdi
jbe 0x14005e7ee
mov r14, rsi
sub r14, rdi
jmp 0x14005e7ee
mov r14, rbx
inc r8
lea rcx, [rsi + rbx]
mov rdx, rsi
call fcn.1400a1c90
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1400a1c90
mov r8, rbx
sub r8, r14
lea rdx, [r14 + rbx]
add rdx, rdi
lea rcx, [rsi + r14]
call fcn.1400a1c90
lea rax, [rsp + 0x48]
xor r14d, r14d
jmp 0x14005e848
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140031530
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x68]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, qword [rsp + 0x30]
call fcn.140030900
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x14005e8d5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e8cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e92e
call fcn.14009fcc0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14005e90e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e922
call fcn.14009fcc0
mov rax, qword [r13 + 0x18]
cmp qword [rax + rbp], 0
je 0x14005e63b
jmp 0x14005e750
call fcn.1400a47dc
nop
call fcn.1400a47dc
nop
call fcn.1400a47dc
int3