Function at 0x140002810
Capabilities:
Connect socket
Convert ip address from string
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov byte [rsp + 0x20], r9b
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0x150], rax
movzx edi, r9b
mov qword [rsp + 0x78], r8
mov r13d, edx
mov dword [rsp + 0x50], edx
mov r14, rcx
mov qword [rsp + 0x80], rcx
lock inc dword [0x140015c34]
test r9b, r9b
je 0x140002978
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
lea r13, [0x140015ce0]
mov qword [rsp + 0x108], r13
mov byte [rsp + 0x110], 0
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000289e
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x140015d2c], 0x7fffffff
jne 0x1400028bf
mov dword [0x140015d2c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov byte [rsp + 0x110], 1
mov esi, dword [0x140015c34]
mov r15d, dword [0x140015c34]
mov ebx, dword [0x140015c30]
lea rdx, str._Check
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str.__Checking_IP:
mov rcx, rax
call fcn.1400053c0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002914
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str.._Remaining_IPS_to_check___
mov rcx, rax
call fcn.1400053c0
sub ebx, r15d
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r13d, dword [rsp + 0x50]
xor r8d, r8d
lea edx, [r8 + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov word [rsp + 0xf8], bx
movzx ecx, r13w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0xfa], ax
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400029c6
mov rdx, qword [r14]
lea r8, [rsp + 0xfc]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xf8]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140002a81
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test dil, dil
je 0x140002a73
lea rdx, str._WARN__IP
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002a22
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, r13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str._connection_failed_with_error_code:
mov rcx, rax
call fcn.1400053c0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1400033d4
test dil, dil
je 0x140002b50
lea rdx, str._INFO__Connection_succeeded_to_IP
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002aaa
mov rdx, qword [r14]
lea r15, [r14 + 0x10]
mov qword [rsp + 0x58], r15
mov r8, qword [r15]
mov rcx, rax
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, r13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._INFO__Data_exchange_with_IP
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002b09
mov rdx, qword [r14]
mov r8, qword [r15]
mov rcx, rax
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, r13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str._started
mov rcx, rax
call fcn.1400053c0
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002b59
lea r15, [r14 + 0x10]
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
xor eax, eax
mov qword [rsp + 0x30], 0xa4
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rax
lea ecx, [rax + 0x20]
call fcn.14000cc40
mov rbx, rax
mov qword [rsp + 0xc8], rax
lea rsi, [rax + 0x20]
mov qword [rsp + 0xd8], rsi
mov r8d, 0x20
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0xd0], rsi
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140002c64
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
test dil, dil
je 0x140002c1d
lea rdx, str._ERROR__Failed_to_send_command_with_error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
nop
test rbx, rbx
je 0x140002c5f
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140002c54
add rsi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400033fe
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.14000cecc
jmp 0x1400033d4
test dil, dil
je 0x140002cce
lea rdx, str._INFO__Data_exchange_with_IP
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400053c0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140002c89
mov rdx, qword [r14]
mov r8, qword [r15]
mov rcx, rax
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, r13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str._completed_successfully
mov rcx, rax
call fcn.1400053c0
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
mov qword [rsp + 0xf0], rax
lea ecx, [rax + 0x20]
call fcn.14000cc40
mov rdi, rax
mov qword [rsp + 0xe0], rax
lea r15, [rax + 0x20]
mov qword [rsp + 0xf0], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rsp + 0xe8], r15
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140002db2
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
nop
test rdi, rdi
je 0x140002d75
sub r15, rdi
cmp r15, 0x1000
jb 0x140002d69
mov r15d, 0x47
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400033f7
mov rdi, rcx
mov rdx, r15
mov rcx, rdi
call fcn.14000cecc
nop
test rbx, rbx
je 0x140002dad
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140002da2
add rsi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400033fe
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.14000cecc
jmp 0x1400033d4
movzx ecx, byte [rdi + 4]
xorps xmm0, xmm0
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov qword [rsp + 0x60], rax
movdqu xmmword [rsp + 0xb0], xmm0
xor r13d, r13d
mov qword [rsp + 0xc0], r13
xor ecx, ecx
xor r12d, r12d
test rax, rax
je 0x140002e25
mov ecx, eax
call fcn.14000cc40
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0x60]
lea r13, [rax + r8]
mov qword [rsp + 0xc0], r13
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, r13
mov qword [rsp + 0xb8], rcx
mov rdx, r12
jmp 0x140002e32
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rdx
sub rcx, r12
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140002f0b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
test r12, r12
je 0x140002e95
sub r13, r12
cmp r13, 0x1000
jb 0x140002e89
add r13, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x140003357
mov r12, rcx
mov rdx, r13
mov rcx, r12
call fcn.14000cecc
nop
test rdi, rdi
je 0x140002ece
sub r15, rdi
cmp r15, 0x1000
jb 0x140002ec2
add r15, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400033f7
mov rdi, rcx
mov rdx, r15
mov rcx, rdi
call fcn.14000cecc
nop
test rbx, rbx
je 0x140002f06
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140002efb
add rsi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400033fe
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.14000cecc
jmp 0x1400033d4
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov r12, qword [rsp + 0x68]
mov r9, qword [rsp + 0xb8]
cmp r12, r9
jne 0x140002f4d
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], socket
mov byte [rsp + 0x90], 0
jmp 0x1400030b4
mov rax, r9
sub rax, r12
mov r8, r12
mov qword [rsp + 0x60], r12
xor edx, edx
mov qword [rsp + 0xa0], rdx
mov r12d, recv
mov qword [rsp + 0xa8], r12
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140003405
cmp rax, 0x10
jb 0x14000303f
mov r12, rax
or r12, 0xf
cmp r12, rcx
jbe 0x140002fa1
mov r12, rcx
jmp 0x140002fad
mov eax, socket
cmp r12, rax
cmovb r12, rax
mov rcx, r12
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000300c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000340a
mov rcx, rax
call fcn.14000cc40
mov rcx, rax
test rax, rax
je 0x140003301
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0xb8]
jmp 0x14000302f
test rcx, rcx
je 0x14000302d
call fcn.14000cc40
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0xb8]
jmp 0x14000302f
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], r12
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
nop dword [rax]
lea rcx, [rsp + 0x90]
cmp r12, 0x10
cmovae rcx, qword [rsp + 0x90]
movzx eax, byte [r8]
mov byte [rcx + rdx], al
mov rdx, qword [rsp + 0xa0]
inc rdx
mov qword [rsp + 0xa0], rdx
inc r8
cmp r8, r9
je 0x140003091
mov r12, qword [rsp + 0xa8]
jmp 0x140003050
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rax, qword [rsp + 0x90]
mov byte [rax + rdx], 0
mov r12, qword [rsp + 0x68]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x128], xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x128]
call fcn.140003900
nop
mov r9, qword [rsp + 0xa0]
test r9, r9
je 0x140003287
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
cmovae rcx, qword [rsp + 0x90]
add rdx, r9
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rsp + 0x128]
call fcn.140006720
test al, al
je 0x140003287
lock inc dword [0x140015c38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x118], xmm0
lea r15, [0x140015ce0]
mov qword [rsp + 0x118], r15
mov byte [rsp + 0x120], 0
mov rcx, r15
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000317c
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x140015d2c], 0x7fffffff
jne 0x14000319d
mov dword [0x140015d2c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov byte [rsp + 0x120], 1
mov esi, dword [0x140015c38]
cmp qword [r14 + 0x18], 0x10
jb 0x1400031b5
mov r14, qword [r14]
mov r8, qword [rsp + 0x58]
mov r8, qword [r8]
mov rdx, r14
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006110
lea rdx, [0x14000f838]
mov rcx, rax
call fcn.1400053c0
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str.____
mov rcx, rax
call fcn.1400053c0
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140006110
lea rdx, str.._Total_Found:
mov rcx, rax
call fcn.1400053c0
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140005590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.140003420
nop
mov rcx, r15
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
lea rcx, [rsp + 0x128]
call fcn.140004d70
mov rcx, qword [rsp + 0x148]
test rcx, rcx
je 0x1400032c7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400032c7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x14000330d
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003308
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003308
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cecc
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], socket
mov byte [rsp + 0x90], 0
test r12, r12
je 0x14000336a
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x14000335e
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000335e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, r12
call fcn.14000cecc
nop
test rdi, rdi
je 0x14000339f
sub r15, rdi
cmp r15, 0x1000
jb 0x140003393
add r15, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400033f7
mov rdi, rcx
mov rdx, r15
mov rcx, rdi
call fcn.14000cecc
nop
test rbx, rbx
je 0x1400033d4
sub rsi, rbx
cmp rsi, 0x1000
jb 0x1400033c8
add rsi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400033fe
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.14000cecc
nop
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000cc20
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012b0
call fcn.140001210
int3