Function at 0x1400ff1e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14044d780]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rdx
mov rbx, rcx
mov qword [rbp + 0x38], rdx
xor r14d, r14d
cmp qword [rcx + 0x10], r14
jne 0x1400ff232
mov rcx, rdx
call fcn.1400fede0
xor al, al
jmp 0x1400ffe39
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x80], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov dword [rbp + 0x84], 2
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x8c], 6
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x80]
lea rdx, [0x14041f370]
lea rcx, str.discord.com
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rbp + 0x30]
mov r8d, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_socket]
lea rsi, [rbx + 0x70]
mov qword [rbp - 0x18], rsi
mov qword [rsi], rax
mov rdx, qword [rbp + 0x30]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rdi, [rbx + 0x68]
mov qword [rbp - 0x20], rdi
mov edx, dword [rsi]
mov rcx, qword [rdi]
call fcn.140125280
mov rcx, qword [rdi]
call fcn.1401241f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov r8d, 1
lea rdx, [0x14041f258]
lea rcx, [rbp + 0x40]
call fcn.1401089a0
movabs rdi, 0x7fffffffffffffff
cmp qword [rbx + 0x30], 0
je 0x1400ff454
lea rcx, [rbx + 0x20]
mov rdx, qword [rcx + 0x10]
mov rax, rdi
sub rax, rdx
cmp rax, 0xd
jb 0x1400ffe69
cmp qword [rcx + 0x18], 0xf
jbe 0x1400ff34c
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], select
lea r9, str._username_:__
lea rcx, [rbp - 0x10]
call fcn.14010cc20
nop
mov r8d, 2
lea rdx, [0x14041f33c]
lea rcx, [rbp - 0x10]
call fcn.1401089a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x40]
call fcn.1401089a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ff416
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff410
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff410
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400ff454
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff44f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff44f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
cmp qword [rbx + 0x50], 0
je 0x1400ff586
lea rax, [rbx + 0x40]
mov rcx, qword [rax + 0x10]
sub rdi, rcx
cmp rdi, 0xf
jb 0x1400ffe6f
cmp qword [rax + 0x18], 0xf
jbe 0x1400ff47e
mov rax, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str._avatar_url_:__
lea rcx, [rbp + 0x10]
call fcn.14010cc20
nop
mov r8d, 2
lea rdx, [0x14041f33c]
lea rcx, [rbp + 0x10]
call fcn.1401089a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x40]
call fcn.1401089a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ff548
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400ff586
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff581
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff581
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.1400fdc60
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0xa
jb 0x1400ff62a
lea rax, [r8 + 0xa]
mov qword [rsi + 0x10], rax
mov rdi, rsi
cmp rcx, 0xf
jbe 0x1400ff5c0
mov rdi, qword [rsi]
lea rax, [0x14041f442]
mov r12d, 0xa
lea r15, str._embeds_:_
cmp rax, rdi
jbe 0x1400ff5ef
lea rax, [rdi + r8]
cmp r15, rax
ja 0x1400ff5ef
cmp rdi, r15
jbe 0x1400ff5f2
mov r14, rdi
sub r14, r15
jmp 0x1400ff5f2
mov r14, r12
inc r8
lea rcx, [rdi + 0xa]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r12, r14
lea rdx, [r15 + 0xa]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
jmp 0x1400ff64f
mov r12d, 0xa
mov qword [rsp + 0x28], r12
lea r15, str._embeds_:_
mov qword [rsp + 0x20], r15
mov edx, r12d
mov rcx, rsi
call fcn.140114c30
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov r8d, 1
lea rdx, [0x14041f430]
lea rcx, [rbp + 0xb0]
call fcn.1401089a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x40]
call fcn.1401089a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ff731
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff72b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff72b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1400ff775
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff770
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff770
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
movdqa xmm0, xmmword [0x140421a00]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400ff7d0
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff7cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff7cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
mov r8d, 1
lea rdx, [0x14041f2f8]
lea rcx, [rbp + 0x40]
call fcn.1401089a0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
lea rcx, [0x14041f444]
call fcn.1400fcb50
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x140421a00]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], 0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, 0x13
jb 0x1400ffe63
add rax, 0xffffffffffffffed
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x1400ff850
mov rbx, qword [rbx]
lea rdx, [rbx + 0x13]
lea rcx, [rsp + 0x60]
call fcn.14010b490
nop
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, r8
mov r14d, 5
lea rsi, str.POST
cmp rax, r14
jb 0x1400ff907
lea rax, [r8 + 5]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x60]
lea rax, [0x14041f399]
cmp rax, rbx
jbe 0x1400ff8c7
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x1400ff8c7
cmp rbx, rsi
ja 0x1400ff8bf
xor r15d, r15d
mov edi, r15d
jmp 0x1400ff8cd
mov rdi, rbx
sub rdi, rsi
jmp 0x1400ff8ca
mov rdi, r14
xor r15d, r15d
inc r8
lea rcx, [rbx + 5]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r14, rdi
lea rdx, [rsi + 5]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
jmp 0x1400ff921
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140114c30
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp - 0x60]
call fcn.1401089a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x60]
call fcn.1401089a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ff9f4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ff9ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ff9ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400ffa32
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffa2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffa2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
movdqa xmm0, xmmword [0x140421a00]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400ffa83
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffa7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffa7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Host:_discord.com_r_n
lea rcx, [rbp + 0x60]
call fcn.1401089a0
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
lea rcx, [rbp + 0x60]
call fcn.1401089a0
lea r9, [rbp + 0xc5]
mov r8, qword [rbp + 0x50]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
nop dword [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400ffad0
lea r8, [rbp + 0xc5]
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.14010f7b0
nop
mov r8, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
mov r14d, reloc.WS2_32.dll_recv
lea rsi, str.Content_Length:
cmp rax, r14
jb 0x1400ffba6
lea rax, [r8 + 0x10]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x80]
lea rax, [0x14041f3f0]
cmp rax, rbx
jbe 0x1400ffb6a
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x1400ffb6a
cmp rbx, rsi
ja 0x1400ffb62
mov rdi, r15
jmp 0x1400ffb6d
mov rdi, rbx
sub rdi, rsi
jmp 0x1400ffb6d
mov rdi, r14
inc r8
lea rcx, [rbx + 0x10]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r14, rdi
lea rdx, [rsi + 0x10]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x80]
jmp 0x1400ffbbc
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.140114c30
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 2
lea rdx, [0x14041f3dc]
lea rcx, [rbp - 0x40]
call fcn.1401089a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x60]
call fcn.1401089a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400ffc8f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffc89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffc89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400ffccd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffcc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffcc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
movdqa xmm0, xmmword [0x140421a00]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400ffd1c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffd17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffd17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Connection:_close_r_n_r_n
lea rcx, [rbp + 0x60]
call fcn.1401089a0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
lea rcx, [rbp + 0x60]
call fcn.1401089a0
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8d, dword [rbp + 0x70]
mov rbx, qword [rbp - 0x20]
mov rcx, qword [rbx]
call fcn.1401256a0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx]
call fcn.140124ac0
mov rcx, qword [rbx]
call fcn.140124040
mov rbx, qword [rbp - 0x18]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx], 0xffffffffffffffff
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400ffdd2
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffdcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffdcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
movdqa xmm0, xmmword [0x140421a00]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400ffe21
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffe1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ffe1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140336ff4
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rcx, r13
call fcn.1400fede0
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140336f90
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140109c80
nop
call fcn.1400fcdb0
int3
call fcn.1400fcdb0
int3