Function at 0x1400236f0
Capabilities:
Create thread
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xb50]
sub rsp, 0xc50
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0xb40], rax
xor esi, esi
mov qword [rbp - 0x78], rdx
mov r13, rdx
mov dword [rsp + 0x54], esi
mov r15d, ecx
mov dword [rsp + 0x6c], esi
mov edi, 0x1388
mov dword [rsp + 0x68], esi
lea rcx, [rbp + 0x620]
mov qword [rbp - 0x80], rsi
lea rdx, str.__u_never_ask_for_username_n__u2_always_ask_for_username_n_g_GRACE_TRAFF_GRACE_NUM_GRACE_DELAY____delay_GRACE_DELAY_milliseconds_before_polling_if_average_polling_size_below__GRACE_TRAFF_bytes_and_GRACE_NUM_read_operations_in_single_directions_are_detected_within_1_second_to_minimize_polling_n__fFORMAT_logging_format__see_documentation__n__l_log_to_stderr_n__lFILENAME_log_to_FILENAME_n__b_BUFSIZE__size_of_network_buffer__default_4096_for_TCP__16384_for_UDP__n__S_STACKSIZE__value_to_add_to_default_client_thread_stack_size_n__t_be_silent__do_not_log_service_start_stop__n_n__iIP_ip_address_or_internal_interface__clients_are_expected_to_connect__n__eIP_ip_address_or_external_interface__outgoing_connection_will_have_this__n__rHOST:PORT_Use_IP:port_for_connect_back_proxy_instead_of_listen_port_n__RHOST:PORT_Use_PORT_to_listen_connect_back_proxy_connection_to_pass_data_to_n__4_Use_IPv4_for_outgoing_connections_n__6_Use_IPv6_for_outgoing_connections_n__46_Prefer_IPv4_for_outgoing_connections__use_both_IPv4_and_IPv6_n__64_Prefer_IPv6_for_outgoing_connections__use_both_IPv4_and_IPv6_n__ocOPTIONS___osOPTIONS___olOPTIONS___orOPTIONS__oROPTIONS___options_for_n_to_client__oc___to_server__os___listening__ol__socket__connect_back_client_n__or__socket__connect_back_server__oR__listening_socket_n_where_possible_options_are:
mov qword [rsp + 0x60], rsi
mov r8d, 0x51c
mov qword [rbp - 0x68], rsi
mov r12d, esi
mov dword [rsp + 0x78], edi
mov qword [rbp - 0x70], 0xffffffffffffffff
mov qword [rbp - 0x60], 0xffffffffffffffff
mov dword [rsp + 0x5c], 1
call fcn.14016bcc0
xor edx, edx
mov dword [rsp + 0x70], 1
mov r8d, 0x1d0
lea rcx, [rbp - 0x50]
call fcn.14016b7a0
mov eax, dword [0x1401fe388]
mov rcx, qword [0x1401fe460]
inc eax
cmp dword [0x14020f4f8], esi
mov dword [rbp + 8], eax
mov eax, dword [0x1401fe36c]
mov dword [rbp + 4], eax
lea rax, [0x14001de70]
cmovne rax, qword [0x1401fe440]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1401fe38c]
mov dword [rbp + 0x44], eax
test rcx, rcx
je 0x1400237ed
call fcn.140183a70
mov qword [rbp + 0x158], rax
jmp 0x1400237f4
mov qword [rbp + 0x158], rsi
mov rax, qword [fcn.1400137b0]
xor ecx, ecx
mov qword [rbp - 0x28], rax
mov eax, dword [0x1401fe378]
mov dword [rbp - 4], eax
mov eax, dword [0x1401fe37c]
mov dword [rbp], eax
mov eax, dword [0x1401fe358]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x10], esi
call fcn.1401760a4
cmp dword [0x14020f4f8], esi
mov qword [rbp + 0x178], rax
je 0x14002384b
mov rcx, qword [0x1401fe458]
test rcx, rcx
je 0x14002384b
call fcn.140183a70
mov qword [rbp + 0x160], rax
mov eax, dword [0x1401fe4a8]
lea rcx, [rbp + 0x210]
xorps xmm1, xmm1
mov dword [rbp + 0x70], eax
mov eax, dword [0x1401fe4ac]
xorps xmm0, xmm0
mov dword [rbp + 0x74], eax
xor edx, edx
xor eax, eax
mov qword [rbp - 0x18], 0xffffffffffffffff
mov r8d, 0xbc
mov qword [rbp + 0x1e8], rax
mov qword [rbp - 0x10], 0xffffffffffffffff
mov dword [rbp + 0x14], 1
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x198], xmm1
movups xmmword [rbp + 0x1a8], xmm1
movups xmmword [rbp + 0x1b8], xmm1
movups xmmword [rbp + 0x1c8], xmm1
movups xmmword [rbp + 0x1d8], xmm1
call fcn.14016b7a0
xorps xmm0, xmm0
lea rcx, [rbp + 0x3b2]
xor eax, eax
xor edx, edx
mov r8d, 0xee
mov qword [rbp + 0x334], rax
movups xmmword [rbp + 0x2d4], xmm0
mov dword [rbp + 0x33c], eax
movups xmmword [rbp + 0x2e4], xmm0
mov qword [rbp + 0x38a], rax
movups xmmword [rbp + 0x2f4], xmm0
mov word [rbp + 0x392], ax
movups xmmword [rbp + 0x304], xmm0
movups xmmword [rbp + 0x314], xmm0
movups xmmword [rbp + 0x324], xmm0
movups xmmword [rbp + 0x37a], xmm0
call fcn.14016b7a0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x208], 0xffffffffffffffff
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0xe8]
mov eax, dword [rbp + 8]
mov dword [rbp + 0x2d0], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 0x2cc], eax
mov qword [rbp + 0x200], 0xffffffffffffffff
mov qword [rbp + 0x1f0], 0xffffffffffffffff
mov qword [rbp + 0x1f8], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x1401fe3e8]
mov ebx, 2
movups xmm0, xmmword [reloc.WS2_32.dll_bind]
mov rcx, qword [0x1401fe320]
movsd xmm1, qword [0x1401fe3e0]
mov dword [rbp + 0x90], eax
mov eax, dword [0x1401fe420]
mov dword [rbp + 0xc8], eax
mov eax, dword [0x1401fe404]
mov dword [rbp + 0xac], eax
mov rax, qword [0x1401fe4c0]
movsd qword [rbp + 0x88], xmm1
movsd xmm1, qword [0x1401fe418]
mov qword [rbp - 0x20], rax
mov eax, dword [0x1401fe4cc]
movsd qword [rbp + 0xc0], xmm1
movsd xmm1, qword [0x1401fe3fc]
mov dword [rsp + 0x50], eax
mov eax, dword [0x1401fe4d0]
movsd qword [rbp + 0xa4], xmm1
mov dword [rbp + 0x1e8], eax
mov dword [rbp - 0x38], eax
movups xmmword [rbp + 0x78], xmm0
movups xmm0, xmmword [reloc.WS2_32.dll_bind]
movaps xmmword [rbp + 0xb0], xmm0
movups xmm0, xmmword [reloc.WS2_32.dll_socket]
movups xmmword [rbp + 0x94], xmm0
test rcx, rcx
je 0x140023a4a
call fcn.1400226f0
mov ecx, dword [0x14020f4d0]
test rax, rax
mov qword [rbp + 0x140], rax
cmove ecx, ebx
mov dword [0x14020f4d0], ecx
mov rbx, qword [0x1401fe478]
mov qword [rsp + 0xc80], r14
test rbx, rbx
je 0x140023af1
mov ecx, 0x20
call fcn.140176434
mov rsi, rax
test rax, rax
je 0x140023ae0
movups xmm0, xmmword [rbx]
mov r14, rax
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov rbx, qword [r14]
test rbx, rbx
je 0x140023ab0
mov ecx, 0x20
call fcn.140176434
test rax, rax
je 0x140023ac1
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
mov rbx, rax
movups xmmword [rax + 0x10], xmm1
mov qword [r14], rax
mov r14, rbx
test rbx, rbx
jne 0x140023a85
mov qword [rbp + 0x148], rsi
jmp 0x140023af1
mov qword [r14], rax
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.140176420
mov rsi, rbx
test rbx, rbx
jne 0x140023ac4
mov qword [rbp + 0x148], r12
jmp 0x140023ae7
mov qword [rbp + 0x148], rsi
mov dword [0x14020f4d0], 2
mov rax, qword [0x1401fe350]
test rax, rax
jne 0x140023b0a
lea rax, [rbp - 0x50]
mov qword [0x1401fe350], rax
jmp 0x140023b1d
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov qword [rax + 8], rcx
mov qword [0x1401fe350], rcx
mov esi, 1
lea r9, [0x140000000]
cmp r15d, esi
jle 0x140023e6e
mov edi, dword [rsp + 0x54]
lea rbx, [r13 + 8]
lea r14, [0x14001dea0]
mov rdx, qword [rbx]
cmp byte [rdx], 0x2d
jne 0x140023e66
movsx eax, byte [rdx + 1]
add eax, 0xffffffcc
cmp eax, 0x41
ja case.0x140023b73.73
cdqe
movzx eax, byte [r9 + rax + 0x24e98]
mov ecx, dword [r9 + rax*4 + 0x24e40]
add rcx, r9
jmp rcx
cmp dword [0x1401fe374], 0
jne 0x140023b84
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [0x1401fe374], 1
jmp 0x140023e50
mov rcx, qword [rbp + 0x160]
mov qword [rbp - 0x30], r14
test rcx, rcx
je 0x140023bab
call fcn.140176420
mov rdx, qword [rbx]
lea rcx, [rdx + 2]
call fcn.140183a70
mov rcx, qword [rbx]
add rcx, 2
mov qword [rbp + 0x160], rax
test byte [rcx], 0xbf
je 0x140023e50
lea rdx, [0x1401a5bb4]
call fcn.140171448
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140023e50
mov qword [rbp + 0x120], rax
jmp 0x140023e50
add rdx, 2
lea r8, [rbp + 0x78]
mov ecx, 0x2e
call fcn.140013d40
jmp 0x140023e50
xor eax, eax
lea r8, [rbp + 0x4a0]
xorps xmm0, xmm0
mov qword [rbp + 0x4b0], rax
add rdx, 2
mov dword [rbp + 0x4b8], eax
movups xmmword [rbp + 0x4a0], xmm0
lea ecx, [rax + 0x2e]
call fcn.140013d40
xor edi, edi
test eax, eax
sete dil
test eax, eax
je 0x140023e50
cmp word [rbp + 0x4a0], 2
movups xmm0, xmmword [rbp + 0x4a0]
mov eax, dword [rbp + 0x4b8]
movsd xmm1, qword [rbp + 0x4b0]
jne 0x140023c7c
movaps xmmword [rbp + 0xb0], xmm0
movsd qword [rbp + 0xc0], xmm1
mov dword [rbp + 0xc8], eax
jmp 0x140023e50
movups xmmword [rbp + 0x94], xmm0
mov dword [rbp + 0xac], eax
movsd qword [rbp + 0xa4], xmm1
jmp 0x140023e50
add rdx, 2
lea r8, [rbp + 0xcc]
mov ecx, 0x2e
call fcn.140013d40
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x7a], ax
jmp 0x140023e50
lea rcx, [rdx + 1]
call fcn.140174eb8
mov dword [rbp + 0x3c], eax
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
mov dword [rbp + 0x6c], eax
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
mov dword [rbp + 0x10], eax
jmp 0x140023e50
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x140023d11
call fcn.140176420
mov rdx, qword [rbx]
lea rcx, [rdx + 2]
call fcn.140183a70
mov qword [rbp + 0x158], rax
jmp 0x140023e50
mov dword [rbp + 0x18], 1
jmp 0x140023e50
lea r12, [rdx + 2]
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140183a70
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x68], 1
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140183a70
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x6c], 1
jmp 0x140023e50
lea rcx, [rdx + 2]
mov dword [rbp + 0x14], 0
cmp byte [rcx], 0
je 0x140023e50
call fcn.140174eb8
mov dword [rbp + 0x14], eax
jmp 0x140023e50
mov dword [rbp + 0x1c], 1
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
mov dword [rbp + 0x40], eax
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
inc eax
mov dword [rbp + 0x48], eax
jmp 0x140023e50
lea rcx, [rdx + 2]
lea rax, [rbp + 0x68]
lea rdx, str._d__d__d
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x64]
lea r8, [rbp + 0x60]
call fcn.140014740
jmp 0x140023e50
lea rcx, [rdx + 2]
call fcn.140174eb8
inc eax
mov dword [rbp + 0xc], eax
jmp 0x140023e50
movsx ecx, byte [rdx + 2]
sub ecx, 0x52
je 0x140023e3b
sub ecx, 0x11
je 0x140023e2d
sub ecx, 9
je 0x140023e1f
sub ecx, 6
je 0x140023e3b
cmp ecx, 1
jne case.0x140023b73.73
lea rcx, [rdx + 3]
call fcn.1400232d0
mov dword [rbp + 0x50], eax
jmp 0x140023e47
lea rcx, [rdx + 3]
call fcn.1400232d0
mov dword [rbp + 0x54], eax
jmp 0x140023e47
lea rcx, [rdx + 3]
call fcn.1400232d0
mov dword [rbp + 0x4c], eax
jmp 0x140023e47
lea rcx, [rdx + 3]
call fcn.1400232d0
mov dword [rbp + 0x58], eax
test edi, edi
je 0x140023e50
mov edi, 1
inc esi
lea r9, [0x140000000]
add rbx, 8
cmp esi, r15d
jl 0x140023b41
mov dword [rsp + 0x54], edi
mov edi, dword [rsp + 0x78]
cmp word [0x1401fe4c8], 0
je 0x140023fa3
cmp dword [rsp + 0x54], 0
jne 0x140023e8c
cmp esi, r15d
je 0x140023fa3
mov rax, qword [0x1401fe490]
xor r14d, r14d
mov dword [0x14020f4d0], 1
mov dword [0x1401fe35c], r14d
test rax, rax
je 0x140023eb2
mov rsi, qword [rax + 0x18]
jmp 0x140023eb9
lea rsi, str.3proxy_0.9.4___
mov rax, qword [str.TCP_NODELAY]
lea r12, [0x1401d4b53]
mov qword [rsp + 0x60], rsi
mov ebx, r14d
lea rdi, [0x140212400]
test rax, rax
je 0x140023f4a
mov rdi, r14
lea rsi, [0x1401aa35c]
lea r15, [0x140000000]
lea r13, [0x140212400]
nop dword [rax]
nop word [rax + rax]
test r14d, r14d
movsxd rcx, ebx
mov r8, r12
lea rdx, [0x1401a7024]
cmovne r8, rsi
mov r9, rax
add rcx, r13
call fcn.1400031e0
add ebx, eax
inc rdi
mov rax, rdi
inc r14d
add rax, rax
mov rax, qword [r15 + rax*8 + 0x200a68]
test rax, rax
jne 0x140023f00
mov rsi, qword [rsp + 0x60]
lea rdi, [0x140212400]
mov r13, qword [rbp - 0x78]
mov rbx, qword [r13]
mov ecx, 2
call fcn.140170e78
mov qword [rsp + 0x48], r12
lea rdx, [rbp + 0x620]
mov qword [rsp + 0x40], rbx
mov rcx, rax
mov rax, qword [0x1401fe4d8]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov r8, rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
lea rdx, str._s_of__s_nUsage:__s_options_nAvailable_options_are:_n_s_n_t_s_n__pPORT___service_port_to_accept_connections_n_s_tExample:__s__i127.0.0.1_n_n_s
mov qword [rsp + 0x20], rbx
call fcn.14000c360
mov eax, 1
jmp 0x140024ddf
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x140024014
cmp byte [rcx], 0x2d
jne 0x140024014
inc rcx
mov edx, 0x2b
call fcn.14016b930
mov rsi, rax
test rax, rax
je 0x140024014
cmp byte [rax + 1], 0
je 0x140024014
mov rbx, qword [rbp + 0x158]
mov byte [rax], 0
mov rcx, qword [rbp + 0x158]
inc rcx
call fcn.140183a70
mov qword [rbp + 0x168], rax
lea rcx, [rsi + 2]
movzx eax, byte [rsi + 1]
mov byte [rbp + 0x172], al
call fcn.140183a70
mov qword [rbp + 0x158], rax
mov rcx, rbx
mov byte [rsi], 0x2b
call fcn.140176420
movups xmm1, xmmword [rbp + 0x78]
xor eax, eax
mov ebx, 2
xorps xmm0, xmm0
mov dword [rbp + 0x3c8], eax
mov eax, dword [rbp + 0x90]
movups xmmword [rbp + 0x378], xmm0
mov dword [rbp + 0x358], eax
movups xmmword [rbp + 0x3a8], xmm0
mov dword [rbp + 0x374], eax
mov eax, dword [rbp + 0x3c]
mov word [rbp + 0x378], bx
mov word [rbp + 0x3b0], bx
movaps xmmword [rbp + 0x340], xmm1
movups xmmword [rbp + 0x388], xmm0
movups xmmword [rbp + 0x398], xmm0
movups xmmword [rbp + 0x3b8], xmm0
movsd xmm0, qword [rbp + 0x88]
movsd qword [rbp + 0x350], xmm0
movsd qword [rbp + 0x36c], xmm0
movups xmmword [rbp + 0x35c], xmm1
cmp eax, 6
je 0x1400240b5
cmp eax, 0x40
je 0x1400240b5
movaps xmm0, xmmword [rbp + 0xb0]
movsd xmm1, qword [rbp + 0xc0]
mov eax, dword [rbp + 0xc8]
jmp 0x1400240ca
movups xmm0, xmmword [rbp + 0x94]
mov eax, dword [rbp + 0xac]
movsd xmm1, qword [rbp + 0xa4]
cmp word [rbp + 0x78], 0
mov dword [rbp + 0x3ac], eax
movsd qword [rbp + 0x3a4], xmm1
movups xmmword [rbp + 0x394], xmm0
jne 0x1400240ea
mov word [rbp + 0x78], bx
cmp word [rbp + 0x7a], 0
jne 0x140024102
movzx ecx, word [0x1401fe4c8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x7a], ax
mov word [rbp + 0xb0], bx
mov esi, reloc.WS2_32.dll_socket
mov word [rbp + 0x94], si
test r12, r12
je 0x140024131
movzx r8d, word [0x1401fe4c8]
lea rdx, [rbp + 0x180]
mov rcx, r12
call fcn.140014390
mov rbx, qword [0x1401fe470]
xor r14d, r14d
mov ecx, r14d
test rbx, rbx
je 0x140024273
mov rax, rbx
mov qword [rbp + 0x150], rbx
mov rax, qword [rax]
inc ecx
mov qword [rbp + 0x150], rax
test rax, rax
jne 0x140024151
movsxd rax, ecx
imul rcx, rax, 0x68
call fcn.140176434
mov qword [rbp + 0x150], rax
test rax, rax
je 0x140024273
nop
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140024267
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp - 0x50]
call rax
mov rdx, rax
test rax, rax
je 0x140024267
movsxd rax, dword [rbp + 0x20]
movups xmm0, xmmword [rbx]
imul rcx, rax, 0x68
mov rax, qword [rbp + 0x150]
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + rax + 0x50], xmm1
movsd xmm0, qword [rbx + 0x60]
movsd qword [rcx + rax + 0x60], xmm0
movsxd rax, dword [rbp + 0x20]
imul rcx, rax, 0x68
mov rax, qword [rbp + 0x150]
mov qword [rcx + rax + 0x10], rdx
movsxd rcx, dword [rbp + 0x20]
test ecx, ecx
jle 0x14002422c
mov rdx, qword [rbp + 0x150]
lea eax, [rcx - 1]
imul r8, rcx, 0x68
movsxd rcx, eax
add r8, rdx
imul rax, rcx, 0x68
mov qword [rax + rdx], r8
mov ecx, dword [rbp + 0x20]
inc ecx
mov dword [rbp + 0x20], ecx
cmp qword [rbx + 0x28], r14
je 0x14002423a
inc dword [rbp + 0x24]
cmp qword [rbx + 0x38], r14
je 0x140024243
inc dword [rbp + 0x2c]
cmp qword [rbx + 0x30], r14
je 0x14002424c
inc dword [rbp + 0x28]
cmp qword [rbx + 0x40], r14
je 0x140024255
inc dword [rbp + 0x30]
cmp qword [rbx + 0x50], r14
je 0x14002425e
inc dword [rbp + 0x38]
cmp qword [rbx + 0x48], r14
je 0x140024267
inc dword [rbp + 0x34]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140024180
mov r13d, dword [rsp + 0x68]
mov r15d, 0x1c
mov dword [0x1401fe35c], r14d
test r13d, r13d
jne 0x14002450a
cmp qword [rbp - 0x18], 0xffffffffffffffff
mov esi, dword [rsp + 0x50]
jne 0x14002433e
lea eax, [r15 - 5]
test esi, esi
jne 0x1400242b1
lea ecx, [rsi + 2]
lea edx, [rsi + 1]
lea r8d, [r15 - 0x16]
jmp 0x1400242bc
mov edx, 2
mov ecx, edx
lea r8d, [rdx + 0xf]
cmp word [rbp + 0x78], 0x17
cmove ecx, eax
call qword [0x1401fe230]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400242e9
lea rcx, str.socket__
call fcn.14017c1d0
lea eax, [r12 - 1]
jmp 0x140024ddf
mov edx, dword [rbp + 0x54]
mov rcx, r12
call fcn.1400251f0
lea r8, [rsp + 0x70]
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea r9, [rsp + 0x5c]
mov qword [rbp - 0x18], r12
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
mov rcx, r12
call qword [0x1401fe270]
test eax, eax
je 0x140024342
lea rcx, str.setsockopt__
call fcn.14017c1d0
jmp 0x140024342
mov r12, qword [rbp - 0x70]
cmp word [rbp + 0x78], 0x17
lea rdx, [rbp + 0x78]
mov r8d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x58], r15d
cmove r8d, r15d
mov rcx, r12
mov ebx, 0x64
call qword [0x1401fe240]
cmp eax, 0xffffffff
jne 0x1400243dd
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, str.bind__:__s
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
cmp dword [rbp + 0x18], r14d
jne 0x1400243ac
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
add ebx, ebx
je 0x140024446
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp word [rbp + 0x78], 0x17
lea rdx, [rbp + 0x78]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, r12
cmove r8d, r15d
call qword [0x1401fe240]
cmp eax, 0xffffffff
je 0x140024370
test esi, esi
jne 0x140024459
mov eax, dword [rbp]
test eax, eax
jne 0x1400243f0
mov eax, dword [rbp - 4]
sar eax, 3
inc eax
mov edx, eax
mov rcx, r12
call qword [0x1401fe248]
cmp eax, 0xffffffff
jne 0x140024460
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, str.listen__:__s
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
cmp dword [rbp + 0x18], r14d
jne 0x14002443c
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov eax, 0xfffffffc
jmp 0x140024ddf
mov rcx, r12
call qword [0x1401fe2a8]
mov eax, 0xfffffffd
jmp 0x140024ddf
mov qword [rbp + 0x1f0], r12
cmp dword [rbp + 0x18], r14d
jne 0x1400244a0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, ebx
lea rdx, str.Accepting_connections___u__u_
mov r8d, eax
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov esi, reloc.WS2_32.dll_socket
cmp dword [rsp + 0x6c], r14d
je 0x1400245ba
mov rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x4c0]
mov ecx, dword [rbp + 0x3c]
call fcn.140014290
cmp word [rbp + 0x4c0], 0x17
mov ebx, 1
mov ecx, 2
mov edx, ebx
cmove ecx, esi
lea r8d, [rbx + 5]
call qword [0x1401fe230]
mov qword [rbp - 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x140024510
lea rdx, str.Failed_to_allocate_connect_back_socket
lea rcx, [rbp + 0x180]
call fcn.14001de10
lea eax, [rbx - 7]
jmp 0x140024ddf
mov r12, qword [rbp - 0x70]
jmp 0x1400244a5
lea r9, [rsp + 0x5c]
mov dword [rsp + 0x5c], ebx
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
mov rcx, rax
call qword [0x1401fe270]
mov edx, dword [rbp + 0x5c]
mov rcx, qword [rbp - 0x10]
call fcn.1400251f0
cmp word [rbp + 0x4c0], 0x17
lea rdx, [rbp + 0x4c0]
mov rcx, qword [rbp - 0x10]
mov r8d, reloc.WS2_32.dll_recv
cmove r8d, r15d
call qword [0x1401fe240]
cmp eax, 0xffffffff
jne 0x140024586
lea rdx, str.Failed_to_bind_connect_back_socket
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov eax, 0xfffffff9
jmp 0x140024ddf
mov edx, dword [rbp - 4]
mov rcx, qword [rbp - 0x10]
sar edx, 4
inc edx
call qword [0x1401fe248]
cmp eax, 0xffffffff
jne 0x1400245bf
lea rdx, str.Failed_to_listen_connect_back_socket
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov eax, 0xfffffff8
jmp 0x140024ddf
mov ebx, 1
mov esi, dword [rsp + 0x54]
mov edx, 0x300
mov r15, qword [rbp - 0x60]
mov word [rbp + 0x118], dx
mov qword [rbp + 0x110], r12
nop word [rax + rax]
mov eax, dword [0x1401fe36c]
mov ecx, dword [rbp + 4]
cmp eax, ecx
jne 0x14002462b
nop dword [rax]
mov r8d, dword [rbp - 8]
mov r9d, dword [rbp - 4]
cmp r8d, r9d
jl 0x140024626
inc edi
cmp dword [rbp + 0x18], r14d
jne 0x140024611
cmp edi, 0x1388
jg 0x140024e12
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1401fe36c]
mov ecx, dword [rbp + 4]
cmp eax, ecx
je 0x1400245f0
mov edx, 0x300
test r13d, r13d
jne 0x1400246e7
cmp eax, ecx
jne 0x140024c22
test word [rbp + 0x118], dx
je 0x1400247a2
mov r8d, 0x3e8
lea rcx, [rbp + 0x110]
mov edx, ebx
call qword [0x1401fe278]
mov esi, eax
cmp eax, 1
jge 0x1400246de
test eax, eax
je 0x140024676
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140024680
mov edx, 0x300
jmp 0x1400245e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140024697
mov edx, 0x300
jmp 0x1400245e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, str.poll__:__s__d
mov r9d, ebx
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
cmp dword [rbp + 0x18], r14d
jne 0x1400246de
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov eax, dword [0x1401fe36c]
mov ecx, dword [rbp + 4]
cmp eax, ecx
jne 0x140024c22
test esi, esi
js 0x140024c22
mov esi, r14d
cmp dword [rsp + 0x50], r14d
jne 0x1400249ca
mov eax, 0x1c
mov dword [rsp + 0x58], eax
test r13d, r13d
je 0x1400247e8
cmp word [rbp + 0x35c], 0x17
mov eax, reloc.WS2_32.dll_socket
mov ecx, 2
mov ebx, 1
cmove ecx, eax
mov edx, ebx
lea r8d, [rax - 0x11]
call qword [0x1401fe230]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400247a2
mov edx, dword [rbp + 0x58]
mov rcx, rax
call fcn.1400251f0
mov rdx, qword [rbp - 0x80]
lea r8, [rbp + 0x35c]
mov ecx, dword [rbp + 0x3c]
call fcn.140014290
cmp word [rbp + 0x35c], 0x17
lea r9d, [rbx + 8]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x35c]
mov eax, 0x1c
mov rcx, r15
cmove r8d, eax
call fcn.140013c70
test eax, eax
je 0x1400247b4
mov rcx, r15
call qword [0x1401fe2a8]
mov r15, 0xffffffffffffffff
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x300
jmp 0x1400245e0
mov r9d, ebx
mov dword [rsp + 0x20], 0xea60
lea r8, [rbp + 0x4e0]
mov rcx, r15
lea rdx, [rbp + 0x35c]
call fcn.140026fd0
cmp eax, ebx
jne 0x140024792
cmp byte [rbp + 0x4e0], 0x43
je 0x1400248ae
jmp 0x140024792
lea r8, [rsp + 0x58]
mov rcx, r12
lea rdx, [rbp + 0x35c]
call qword [0x1401fe238]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14002489e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2714
je 0x140024895
sub eax, 0x14
je 0x140024826
sub eax, 0x1a
je 0x140024826
cmp eax, 5
jne 0x140024831
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
inc edi
cmp dword [rbp + 0x18], r14d
jne 0x140024676
test esi, esi
jne 0x140024852
cmp edi, 0x1388
jle 0x140024676
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, str.accept__:__s
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov edx, 0x300
mov edi, r14d
jmp 0x1400245e0
mov ebx, 1
mov esi, ebx
jmp 0x140024836
mov edx, dword [rbp + 0x4c]
mov rcx, rax
call fcn.1400251f0
mov ebx, 1
mov eax, 0x1c
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x340]
mov dword [rsp + 0x58], eax
mov rcx, r15
call qword [0x1401fe260]
test eax, eax
je 0x14002491a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14017c348
mov r8, rax
lea rdx, str.getsockname__:__s
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
cmp dword [rbp + 0x18], r14d
jne 0x140024676
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov edx, 0x300
jmp 0x1400245e0
movzx eax, word [rbp + 0x35c]
lea rcx, [rbp + 0x360]
cmp eax, 0x17
lea rdx, [rbp + 0x364]
mov r9d, 0x40
lea r8, [rbp + 0x5e0]
cmovne rdx, rcx
mov ecx, eax
call fcn.140014010
lea r8, [rbp + 0x5e0]
mov ecx, 7
lea rdx, str.a_client_connect:_s
call fcn.14002f270
lea r8, [rsp + 0x70]
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
movzx eax, word [0x1401fe2fc]
lea r9, [rsp + 0x74]
mov edx, 0xffff
mov word [rsp + 0x76], ax
mov r8d, 0x80
mov word [rsp + 0x74], bx
mov rcx, r15
mov dword [rsp + 0x20], 4
call qword [0x1401fe270]
lea r9, [rsp + 0x5c]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x100
mov rcx, r15
call qword [0x1401fe270]
jmp 0x1400249d2
mov word [rbp + 0x118], r14w
mov ecx, 0x320
call fcn.140176434
mov rbx, rax
test rax, rax
jne 0x140024a2e
cmp dword [rsp + 0x50], r14d
jne 0x1400249f4
mov rcx, r15
call qword [0x1401fe2a8]
mov dword [rbp + 0x25c], reloc.WS2_32.dll_setsockopt
cmp dword [rbp + 0x18], r14d
jne 0x140024a17
lea rdx, str.Memory_Allocation_Failed
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x300
jmp 0x1400245e0
lea rcx, [rbp + 0x180]
mov edx, 6
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140024a40
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rbp + 0x2d8]
test rcx, rcx
je 0x140024ab9
call fcn.140183a70
mov qword [rbx + 0x158], rax
mov rcx, rbx
call fcn.14001cc40
cmp dword [rsp + 0x50], r14d
jne 0x140024acc
mov qword [rbx + 0x70], r15
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140024ee0
cmp eax, 1
jle 0x140024af4
mov rcx, rbx
call fcn.140022fb0
mov edx, 0x300
mov ebx, 1
jmp 0x1400245e0
lea rcx, [rbp + 0xe8]
mov qword [rbx], r14
mov qword [rbx + 8], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140024b1c
mov qword [rbx], rax
mov rax, qword [rbp - 0x40]
mov qword [rax + 8], rbx
mov edx, dword [rbp + 0x40]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea r8, [0x1400254a0]
add edx, 0x4000
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call fcn.140176340
inc dword [rbp - 8]
test rax, rax
je 0x140024b78
mov ecx, dword [rsp + 0x7c]
mov dword [rbx + 0x130], ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 1
jmp 0x140024bc9
xor ecx, ecx
call fcn.14017cd38
mov r8, rax
lea rdx, str._beginthreadex__:__s
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
cmp dword [rbp + 0x18], esi
jne 0x140024bad
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
lea rcx, [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.140022fb0
mov ebx, 1
mov esi, ebx
xorps xmm0, xmm0
xor eax, eax
mov edx, 0x300
mov qword [rbp + 0x370], rax
movups xmmword [rbp + 0x340], xmm0
movups xmmword [rbp + 0x350], xmm0
movups xmmword [rbp + 0x360], xmm0
cmp dword [rsp + 0x50], eax
je 0x1400245e0
cmp word [rbp + 0x118], ax
jne 0x1400245e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp word [rbp + 0x118], r14w
je 0x140024c06
mov edx, 0x300
jmp 0x1400245e0
lea rcx, [0x140212ee0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140024c44
mov rax, qword [rbp - 0x48]
mov qword [rcx + 8], rax
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140024c52
mov qword [rax], rcx
jmp 0x140024c59
mov qword [0x1401fe350], rcx
lea rcx, [0x140212ee0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbp + 0x18], r14d
jne 0x140024c7d
lea rdx, str.Exiting_thread
lea rcx, [rbp + 0x180]
call qword [rbp - 0x30]
mov rcx, qword [rbp - 0x18]
cmp rcx, 0xffffffffffffffff
je 0x140024c8d
call qword [0x1401fe2a8]
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x18], 0xffffffffffffffff
cmp rcx, 0xffffffffffffffff
je 0x140024ca5
call qword [0x1401fe2a8]
mov qword [rbp - 0x10], 0xffffffffffffffff
mov dword [rbp - 0x38], reloc.WS2_32.dll_ntohs
cmp qword [rbp - 0x40], r14
je 0x140024cd1
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbp - 0x40], r14
jne 0x140024cc0
mov rdx, qword [rbp + 0x150]
test rdx, rdx
je 0x140024d1a
mov ecx, dword [rbp + 0x20]
test ecx, ecx
je 0x140024d12
dec ecx
movsxd r8, ecx
imul rax, r8, 0x68
mov dword [rbp + 0x20], ecx
cmp qword [rax + rdx + 0x60], r14
je 0x140024d0e
imul rax, r8, 0x68
mov rcx, qword [rax + rdx + 0x10]
call qword [rax + rdx + 0x60]
mov rdx, qword [rbp + 0x150]
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jne 0x140024ce4
mov rcx, rdx
call fcn.140176420
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x140024d2b
call fcn.140022e00
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x140024d47
mov rbx, qword [rcx]
call fcn.140176420
mov rcx, rbx
test rbx, rbx
jne 0x140024d37
lea rcx, [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x140024d65
call fcn.140176420
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x140024d76
call fcn.140176420
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x140024d87
call fcn.140176420
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x140024d98
call fcn.140176420
mov rcx, qword [rbp + 0x2d8]
test rcx, rcx
je 0x140024da9
call fcn.140176420
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140024dba
mov rcx, rax
call fcn.140176420
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140024dcc
mov rcx, rax
call fcn.140176420
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140024ddd
mov rcx, rax
call fcn.140170fcc
xor eax, eax
mov r14, qword [rsp + 0xc80]
mov rcx, qword [rbp + 0xb40]
xor rcx, rsp
call fcn.1401677c0
lea r11, [rsp + 0xc50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
lea rdx, str.Warning:_too_many_connected_clients___d__d_
lea rcx, [rbp + 0x4e0]
call fcn.1400031e0
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x180]
call fcn.14001de10
mov ecx, ebx
call fcn.1401740f4
int3