Function at 0x140005430
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x1c0
mov rax, qword [0x14001b1f0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [reloc.WSOCK32.dll_accept]
mov rbx, rcx
cmp dword [0x14001b28c], eax
jge 0x140005801
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r14
movaps xmmword [r11 - 0x28], xmm6
movsd xmm6, qword [0x1400155e0]
lea r14d, [rbp + 0x7f]
movaps xmmword [r11 - 0x38], xmm7
movsd xmm7, qword [0x1400155d0]
mov qword [r11 + 0x18], rsi
mov rcx, qword [rbx]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x2060], rbp
mov dword [rbx + 0x2068], ebp
mov qword [rbx + 0x48], rbp
test rcx, rcx
je 0x1400054ba
call fcn.140007ef0
jmp 0x1400054cf
mov rdx, qword [0x14001bbb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140007fc0
mov rax, qword [rbx]
lea rcx, [rbx + 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [0x14001bba0]
lea r8d, [r9 + 1]
mov edx, dword [rax + 0x1c]
call fcn.14000c000
test eax, eax
jne 0x140005888
cmp qword [0x14001fc78], rbp
je 0x14000551a
mov rdx, qword [0x14001bba8]
mov rcx, qword [rbx + 8]
call fcn.14000bcf0
test eax, eax
jne 0x140005897
mov rcx, qword [rbx + 8]
mov edx, 8
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x20], rcx
mov word [rbx + 0x1c], bp
lea r8d, [rdx - 7]
mov qword [rbx + 0x28], rbx
call fcn.14000cdc0
test eax, eax
jne 0x1400058ed
mov r8d, dword [0x14001b25c]
test r8d, r8d
je 0x140005592
mov rcx, qword [rbx + 8]
lea edx, [rax + 0x40]
call fcn.14000cdc0
test eax, eax
je 0x14000556e
cmp eax, 0x11187
jne 0x1400058a6
mov r8d, dword [0x14001b25c]
mov edx, 0x80
mov rcx, qword [rbx + 8]
call fcn.14000cdc0
test eax, eax
je 0x140005592
cmp eax, 0x11187
jne 0x1400058b5
call fcn.1400076d0
mov qword [0x14001fc00], rax
mov qword [rbx + 0x2070], rax
cmp dword [0x14001fc28], ebp
je 0x14000572d
mov rcx, qword [0x14001fc20]
call sub.libssl_1_1_x64.dll_SSL_new
mov qword [rbx + 0x20a0], rax
test rax, rax
je 0x14000581a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edx, 8
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call sub.libcrypto_1_1_x64.dll_RAND_seed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
mov edx, 4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
call sub.libcrypto_1_1_x64.dll_RAND_seed
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80010003
imul r8d
add edx, r8d
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x7fff
mov edx, 0x32
sub r8d, ecx
lea rcx, [rsp + 0x48]
movd xmm3, r8d
lea r8, str._.0f
cvtdq2pd xmm3, xmm3
divsd xmm3, xmm6
mulsd xmm3, xmm7
movq r9, xmm3
call fcn.1400090e0
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, ebp
mov edx, 0x80
add eax, 1
cmovns ecx, eax
cmp ecx, r14d
cmovg ecx, r14d
movsxd rax, ecx
lea rcx, [rsp + 0x80]
add rcx, rax
call sub.libcrypto_1_1_x64.dll_RAND_seed
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.14000bce0
mov ecx, dword [rsp + 0x40]
xor edx, edx
call sub.libcrypto_1_1_x64.dll_BIO_new_socket
xor r9d, r9d
mov rcx, rax
mov rsi, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
mov rcx, qword [rbx + 0x20a0]
mov r8, rsi
mov rdx, rsi
call sub.libssl_1_1_x64.dll_SSL_set_bio
mov rcx, qword [rbx + 0x20a0]
call sub.libssl_1_1_x64.dll_SSL_set_connect_state
cmp dword [0x14001b240], 4
jl 0x14000570c
lea rdx, [0x140004bd0]
mov rcx, rsi
call sub.libcrypto_1_1_x64.dll_BIO_set_callback
mov rdx, qword [0x14001fc10]
mov rcx, rsi
call sub.libcrypto_1_1_x64.dll_BIO_set_callback_arg
mov r9, qword [0x14001b2f8]
test r9, r9
je 0x140005734
mov rcx, qword [rbx + 0x20a0]
xor r8d, r8d
lea edx, [r8 + 0x37]
call sub.libssl_1_1_x64.dll_SSL_ctrl
jmp 0x140005734
mov qword [rbx + 0x20a0], rbp
mov rdx, qword [0x14001bba0]
mov rcx, qword [rbx + 8]
call fcn.14000bd90
mov esi, eax
test eax, eax
je 0x14000585b
cmp eax, 0x70
je 0x140005845
cmp eax, 0xb23b4
je 0x140005845
xor edx, edx
mov rcx, rbx
call fcn.140004af0
mov rcx, qword [rbx + 8]
call fcn.14000bd60
cmp dword [0x14001b2b8], ebp
jne 0x140005798
mov rax, qword [0x14001bba0]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140005798
mov qword [0x14001bba0], rcx
mov eax, ebp
jmp 0x1400057b9
mov eax, dword [0x14001b2bc]
mov ecx, eax
inc eax
mov dword [0x14001b2bc], eax
cmp ecx, 0xa
jg 0x1400058c4
mov eax, dword [0x14001b2c8]
inc eax
mov dword [0x14001b2c8], eax
mov eax, dword [reloc.WSOCK32.dll_accept]
cmp dword [0x14001b28c], eax
jl 0x140005492
mov rsi, qword [rsp + 0x1e0]
mov r14, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1b8]
movaps xmm6, xmmword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1d8]
movaps xmm7, xmmword [rsp + 0x190]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140011030
add rsp, 0x1c0
pop rbx
ret
mov rcx, qword [0x14001fc10]
lea rdx, str.SSL_new_failed._n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov rcx, qword [0x14001fc10]
call sub.libcrypto_1_1_x64.dll_ERR_print_errors
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 1
mov rcx, rbx
call fcn.140004af0
mov qword [rbx + 0x48], rbp
jmp 0x1400057d1
mov edx, 2
mov rcx, rbx
call fcn.140004af0
mov rcx, rbx
cmp qword [rbx + 0x20a0], rbp
je 0x14000587e
call fcn.140004df0
jmp 0x1400057d1
call fcn.140006760
jmp 0x1400057d1
mov edx, eax
lea rcx, str.socket
call fcn.140001240
int3
mov edx, eax
lea rcx, str.bind
call fcn.140001240
int3
mov edx, eax
lea rcx, str.socket_send_buffer
call fcn.140001240
int3
mov edx, eax
lea rcx, str.socket_receive_buffer
call fcn.140001240
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._nTest_aborted_after_10_failures_n_n
call fcn.140001620
mov edx, esi
lea rcx, str.apr_socket_connect__
call fcn.140001240
int3
mov edx, eax
lea rcx, str.socket_nonblock
call fcn.140001240
int3