Function at 0x140005370
Capabilities:
Create thread
Set socket configuration

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x1400b59e8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, qword [rbp + 0x7f]
mov r14, r9
mov dword [rbp - 0x3d], 1
mov r15, r8
mov qword [rbp - 0x39], 0
movzx r13d, dx
mov edi, ecx
bt ecx, 9
jae 0x1400053c1
xor eax, eax
jmp 0x1400055fe
mov eax, edi
and eax, 2
test al, al
jne 0x1400053ba
mov qword [rsp + 0x80], rsi
bt edi, 0xf
jae 0x1400053de
or edi, 0x2400
mov rsi, qword [rbp + 0x6f]
test rsi, rsi
je 0x140005fff
mov ecx, edi
and ecx, 0x240
cmp ecx, 0x240
je 0x140005fff
mov eax, edi
and eax, 0x204
cmp eax, 0x204
je 0x140005fff
mov eax, edi
and al, 0x4c
cmp al, 0x40
je 0x140005fff
test ecx, ecx
setne cl
bt edi, 0x10
setb al
test al, cl
jne 0x140005fff
mov qword [rsp + 0xd0], rbx
bt edi, 0x10
jae 0x140005454
mov eax, edi
and eax, 4
test al, al
jne 0x140005451
mov eax, edi
and eax, 8
test al, al
je 0x140005454
or edi, 0x40
mov edx, 0x1e8
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x1400055ec
mov qword [rax + 0x150], 0xffffffffffffffff
xor eax, eax
mov dword [rbx + 0x158], eax
mov eax, edi
shr eax, 5
and eax, 1
mov qword [rbx], rsi
mov dword [rbx + 0x194], eax
xor esi, esi
mov rax, qword [rbp + 0x77]
mov qword [rbx + 8], rax
lea rax, [0x140004d60]
mov qword [rbx + 0x60], r15
mov r15d, 2
mov qword [rbx + 0xa0], rax
mov ecx, r15d
mov dword [rbx + 0x18c], edi
lea rax, [0x140001db0]
mov word [rbx + 0x190], r13w
mov qword [rbx + 0x68], r14
mov dword [rbx + 0x178], esi
mov dword [rbx + 0x17c], 0x7fe
mov qword [rbx + 0xd8], 0x8000
mov qword [rbx + 0xe0], 0x400
mov qword [rbx + 0x180], rsi
mov qword [rbx + 0x168], 0xffffffffffffffff
mov qword [rbx + 0x160], 0xffffffffffffffff
mov qword [rbx + 0xb0], rax
mov dword [rbx + 0x1e0], 0x7fffffff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rbx + 0xb8], rax
mov eax, dword [rbx + 0x18c]
and al, 0xc
cmp al, 4
jne 0x140005555
lea rdx, str.Warning:_MHD_USE_THREAD_PER_CONNECTION_must_be_used_only_with_MHD_USE_INTERNAL_POLLING_THREAD._Flag_MHD_USE_INTERNAL_POLLING_THREAD_was_added._Consider_setting_MHD_USE_INTERNAL_POLLING_THREAD_explicitly._n
mov rcx, rbx
call fcn.14000f5a0
or dword [rbx + 0x18c], 8
mov ecx, dword [rbx + 0x18c]
mov eax, ecx
and eax, 8
test al, al
jne 0x14000556a
btr ecx, 0xa
jmp 0x14000556e
bts ecx, 0xa
mov dword [rbx + 0x18c], ecx
lea rdx, [rbp - 0x39]
mov rcx, rbx
mov qword [rbx + 0x1d0], rsi
mov r8, r12
mov qword [rbx + 0x198], rsi
mov dword [rbx + 0x1d8], 4
call fcn.140004eb0
cmp eax, 1
jne 0x1400055e3
test dword [rbx + 0x18c], 0x400
je 0x14000561c
cmp dword [rbx + 0xf0], esi
jne 0x14000561c
lea rcx, [rbx + 0x160]
call fcn.14000f1b0
test eax, eax
jne 0x14000561c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
lea rdx, str.Failed_to_create_inter_thread_communication_channel:__s_n
mov r8, rax
mov rcx, rbx
call fcn.14000f5a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140087840
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0x1d8]
test eax, eax
je 0x140005685
imul r8, rax, 0x98
mov ecx, eax
movabs rax, 0xd79435e50d79435f
mul r8
shr rdx, 7
cmp rdx, rcx
je 0x140005656
lea rdx, str.Specified_value_for_NC_SIZE_too_large_n
mov rcx, rbx
call fcn.14000f5a0
jmp 0x1400055e3
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x1a0], rax
test rax, rax
jne 0x140005685
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea rdx, str.Failed_to_allocate_memory_for_nonce_nc_map:__s_n
jmp 0x1400055d8
mov r12d, reloc.WS2_32.dll_recv
lea rcx, [rbx + 0x1a8]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1400056c0
lea rdx, str.MHD_failed_to_initialize_nonce_nc_mutex_n
mov rcx, rbx
call fcn.14000f5a0
mov rcx, qword [rbx + 0x1a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400055e3
mov ecx, dword [rbx + 0x18c]
mov eax, ecx
and eax, 8
test al, al
jne 0x1400056eb
cmp dword [rbx + 0xf0], esi
jbe 0x1400056eb
lea rdx, str.MHD_thread_pooling_only_works_with_MHD_USE_INTERNAL_POLLING_THREAD_n
mov rcx, rbx
call fcn.14000f5a0
jmp 0x140005f7a
mov r14, qword [rbx + 0x150]
cmp r14, 0xffffffffffffffff
jne 0x140005a22
bt ecx, 8
jb 0x140005a18
test r12b, cl
mov dword [rsp + 0x28], 0x80
mov edi, r15d
mov dword [rsp + 0x20], esi
mov r15d, reloc.WS2_32.dll_socket
lea edx, [r14 + 2]
cmovne edi, r15d
xor r9d, r9d
mov ecx, edi
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140005764
xor r8d, r8d
lea edx, [rax + 2]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000576a
xor r8d, r8d
lea edx, [r15 - 0x16]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp r14, 0xffffffffffffffff
jne 0x14000578e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.Failed_to_create_socket_for_listening:__s_n
mov rcx, rbx
call fcn.14000f5a0
jmp 0x140005f7a
mov eax, dword [rbx + 0x158]
test eax, eax
je 0x140005816
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x3d]
mov edx, 0xffff
mov rcx, r14
jle 0x1400057e2
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140005816
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, [0x1400b6c68]
mov rcx, rbx
call fcn.14000f5a0
jmp 0x140005f7a
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140005816
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, [0x1400b6cd8]
mov rcx, rbx
call fcn.14000f5a0
jmp 0x140005f7a
mov eax, dword [rbx + 0x18c]
mov edi, 0x1c
and eax, r12d
cmove edi, r12d
cmp qword [rbp - 0x39], rsi
jne 0x140005881
movzx ecx, r13w
test eax, eax
je 0x14000585c
xor eax, eax
mov qword [rbp - 0x19], rax
mov word [rbp - 0x19], r15w
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov dword [rbp - 1], eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x17], ax
lea rax, [rbp - 0x19]
jmp 0x14000587d
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov eax, 2
mov word [rbp - 0x29], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x27], ax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x39], rax
mov qword [rbx + 0x150], r14
mov ecx, dword [rbx + 0x18c]
mov eax, ecx
and eax, r12d
test al, al
je 0x1400058ec
and ecx, 0x810
mov dword [rsp + 0x20], 4
cmp ecx, 0x810
lea r9, [rbp - 0x41]
mov eax, esi
mov edx, 0x29
setne al
mov rcx, r14
mov dword [rbp - 0x41], eax
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400058ec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, [0x1400b6eb8]
mov rcx, rbx
call fcn.14000f5a0
mov rdx, qword [rbp - 0x39]
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140005957
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r9, rax
movzx r8d, r13w
lea rdx, str.Failed_to_bind_to_port__u:__s_n
mov rcx, rbx
call fcn.14000f5a0
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b6f38]
mov r8d, 0x16d3
lea rdx, [0x1400b7c70]
call qword [0x1400c1670]
int3
test dword [rbx + 0x18c], 0x4000
je 0x1400059b3
lea r9, [rbx + 0x1dc]
cmp dword [r9], esi
jne 0x140005976
mov dword [r9], 0xa
mov edx, 6
mov dword [rsp + 0x20], 4
mov rcx, r14
lea r8d, [rdx + 9]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1400059b3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.setsockopt_failed:__s_n
mov rcx, rbx
call fcn.14000f5a0
mov edx, dword [rbx + 0x1e0]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x140005a18
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.Failed_to_listen_for_connections:__s_n
mov rcx, rbx
call fcn.14000f5a0
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b70d8]
mov r8d, 0x16f1
lea rdx, [0x1400b7ce0]
call qword [0x1400c1670]
int3
cmp r14, 0xffffffffffffffff
je 0x140005aa5
lea r8, [rbp - 0x41]
mov dword [rbp - 0x41], 1
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x140005aa5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.Failed_to_set_nonblocking_mode_on_listening_socket:__s_n
mov rcx, rbx
call fcn.14000f5a0
test dword [rbx + 0x18c], 0x200
jne 0x140005a72
cmp dword [rbx + 0xf0], esi
jbe 0x140005aa5
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b71f8]
mov r8d, 0x1708
lea rdx, [0x1400b7d50]
call qword [0x1400c1670]
int3
lea r15, [rbx + 0x100]
mov edx, r12d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x140005b08
lea rdx, [0x1400b73d8]
mov rcx, rbx
call fcn.14000f5a0
cmp r14, 0xffffffffffffffff
je 0x140005f7a
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b7468]
mov r8d, 0x1734
lea rdx, [0x1400b7e70]
call qword [0x1400c1670]
int3
lea rdi, [rbx + 0x128]
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x140005b74
lea rdx, str.MHD_failed_to_initialize_IP_connection_limit_mutex_n
mov rcx, rbx
call fcn.14000f5a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp r14, 0xffffffffffffffff
je 0x140005f7a
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b75e8]
mov r8d, 0x173f
lea rdx, [0x1400b7f90]
call qword [0x1400c1670]
int3
mov ecx, dword [rbx + 0x18c]
lea r8, [0x140004d00]
mov eax, ecx
and eax, 8
test al, al
je 0x140005c5a
cmp dword [rbx + 0xf0], esi
jne 0x140005c5a
bt ecx, 8
jb 0x140005c5a
test cl, 4
lea rax, str.MHD_listen
lea rdx, str.MHD_single
cmovne rdx, rax
test sil, sil
je 0x140005bcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x140005beb
mov r9, r8
mov qword [rsp + 0x20], rbx
mov r8, qword [rbx + 0xe8]
lea rcx, [rbx + 0xf8]
call fcn.14000f910
test eax, eax
jne 0x140005c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea rdx, str.Failed_to_create_listen_thread:__s_n
mov rcx, rbx
mov r8, rax
call fcn.14000f5a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp r14, 0xffffffffffffffff
je 0x140005f7a
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f7a
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b7868]
mov r8d, 0x1765
lea rdx, [0x1400b8150]
call qword [0x1400c1670]
int3
mov ecx, dword [rbx + 0xf0]
test ecx, ecx
je 0x140005ff7
test dword [rbx + 0x18c], 0x100
jne 0x140005ff7
mov eax, dword [rbx + 0x17c]
xor edx, edx
div ecx
imul rcx, rcx, 0x1e8
mov r12d, edx
mov dword [rbp - 0x31], edx
mov r13d, eax
mov dword [rbp - 0x41], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0xc8], rax
test rax, rax
je 0x140005f21
mov r15d, esi
cmp dword [rbx + 0xf0], esi
jbe 0x140005ff7
nop word [rax + rax]
mov eax, r15d
mov edx, 3
imul rdi, rax, 0x1e8
mov rax, rbx
add rdi, qword [rbx + 0xc8]
mov rcx, rdi
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140005ce0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x60], rax
mov qword [rdi + 0xc0], rbx
mov dword [rdi + 0xf0], esi
mov qword [rdi + 0xc8], rsi
test dword [rbx + 0x18c], 0x400
je 0x140005dbd
lea rcx, [rdi + 0x160]
call fcn.14000f1b0
test eax, eax
jne 0x140005dd3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000ec40
mov r8, rax
lea rdx, str.Failed_to_create_worker_inter_thread_communication_channel:__s_n
mov rcx, rbx
call fcn.14000f5a0
jmp 0x140005efa
mov qword [rdi + 0x168], 0xffffffffffffffff
mov qword [rdi + 0x160], 0xffffffffffffffff
mov dword [rdi + 0x17c], r13d
cmp r15d, r12d
jae 0x140005de9
lea eax, [r13 + 1]
mov dword [rdi + 0x17c], eax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rdi + 0x128]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x140005eeb
mov r12, qword [rbx + 0xe8]
test sil, sil
jne 0x140005eb0
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005ebc
lea rax, [0x140004d00]
mov qword [rsi + 8], rdi
mov qword [rsi], rax
lea rax, str.MHD_worker
mov qword [rsi + 0x10], rax
mov eax, 0xffffffff
cmp r12, rax
ja 0x140005e99
xor eax, eax
lea r8, [0x14000f8b0]
mov qword [rsp + 0x28], rax
mov r9, rsi
mov edx, r12d
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi + 0xf8], rax
cmp rax, 0xffffffffffffffff
je 0x140005ea5
inc r15d
cmp r15d, dword [rbx + 0xf0]
jae 0x140005ff7
mov r13d, dword [rbp - 0x41]
xor esi, esi
mov r12d, dword [rbp - 0x31]
jmp 0x140005cc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005ebc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea rdx, str.Failed_to_create_pool_thread:__s_n
mov rcx, rbx
mov r8, rax
call fcn.14000f5a0
lea rcx, [rdi + 0x128]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x140005efa
lea rdx, str.MHD_failed_to_initialize_cleanup_connection_mutex_n
mov rcx, rbx
call fcn.14000f5a0
test r15d, r15d
je 0x140005f13
mov rcx, rbx
mov dword [rbx + 0xf0], r15d
call fcn.140006430
jmp 0x1400055ec
lea rdi, [rbx + 0x128]
lea r15, [rbx + 0x100]
cmp r14, 0xffffffffffffffff
je 0x140005f56
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140005f56
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b7cc8]
mov r8d, 0x17db
lea rdx, [0x1400b8380]
call qword [0x1400c1670]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x140005f7a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x1a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x1400055e3
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbx + 0x168]
test eax, eax
jne 0x140005fcf
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov eax, 0
sete al
test eax, eax
je 0x140005fd5
jmp 0x1400055e3
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x1400c1658]
lea r9, [0x1400b7d38]
mov r8d, 0x180a
lea rdx, [0x1400b85c0]
call qword [0x1400c1670]
int3
mov rax, rbx
jmp 0x1400055ee
xor eax, eax
jmp 0x1400055f6