Function at 0x1402006f0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x28], rdx
mov r13, rcx
mov eax, dword [0x1402b6448]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1402b644c], 0xa
setl cl
test cl, al
jne 0x140200741
xor cl, al
je 0x1402009a7
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rsi, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rbx, rsp
sub rsp, 0x20
mov rcx, rbx
mov rdx, qword [rbp - 0x28]
call fcn.140200d90
add rsp, 0x20
mov eax, 0xc86ed4b3
mov r15d, 0x2550a1c1
mov r12d, 0xcd6d1d2a
nop word cs:[rax + rax]
cmp eax, 0xcd6d1d29
jle 0x140200800
cmp eax, 0xcd6d1d2a
je 0x1402008f8
cmp eax, 0x50b19ff
je 0x1402008a7
cmp eax, 0x2550a1c1
jne 0x140200790
mov eax, dword [0x1402b6458]
mov ecx, dword [0x1402b645c]
lea edx, [rax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl r8b
xor r8b, al
mov r8d, 0x981e90f9
cmovne r8d, r12d
cmp edx, 0xffffffff
mov eax, r8d
cmove eax, r12d
jmp 0x1402008e2
cmp eax, 0x981e90f9
je 0x1402008ee
cmp eax, 0xc86ed4b3
jne 0x140200790
mov r14, rsi
mov qword [rbp - 0x18], rsi
mov rdi, qword [rbp - 0x18]
mov eax, 0x2b892fc6
nop word cs:[rax + rax]
cmp eax, 0xa9a83d0c
je 0x140200865
cmp eax, 0x2b892fc6
jne 0x140200830
mov qword [rbp - 0x10], 0
sub rsp, 0x20
mov rcx, rbx
lea rdx, [rbp - 0x10]
call fcn.140201a50
add rsp, 0x20
mov qword [rbp - 8], rax
mov eax, 0xa9a83d0c
jmp 0x140200830
mov rsi, qword [rbp - 8]
sub rsp, 0x20
mov rcx, rbx
call fcn.140201860
add rsp, 0x20
mov eax, 0x3895b424
nop
cmp eax, 0x3895b424
je 0x140200890
cmp eax, 0x63838e59
jne 0x140200880
jmp 0x140200897
mov eax, 0x63838e59
jmp 0x140200880
mov qword [rdi], rsi
mov eax, 0x50b19ff
mov rsi, r14
jmp 0x140200790
mov eax, dword [0x1402b6458]
mov ecx, dword [0x1402b645c]
lea edx, [rax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl r8b
xor r8b, al
mov r8d, 0x981e90f9
cmovne r8d, r15d
cmp edx, 0xffffffff
mov eax, r8d
cmove eax, r15d
cmp ecx, 0xa
cmovge eax, r8d
jmp 0x140200790
mov eax, 0x2550a1c1
jmp 0x140200790
mov rax, qword [rbp - 0x18]
sub rsp, 0x20
mov rcx, rbx
call fcn.140200fa0
add rsp, 0x20
mov qword [rbp - 0x10], rsi
mov eax, 0x262d1695
nop word cs:[rax + rax]
cmp eax, 0x4039ac6d
je 0x140200940
cmp eax, 0x262d1695
jne 0x140200920
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 8], rax
mov eax, 0x4039ac6d
jmp 0x140200920
mov qword [rbp - 0x20], rsi
lea rdi, [r13 + 8]
mov r9, qword [rbp - 8]
sub rsp, 0x30
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140201290]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add rsp, 0x30
mov edx, dword [0x1402b6448]
lea ecx, [rdx + 1]
imul ecx, edx
test cl, 1
sete r8b
cmp dword [0x1402b644c], 0xa
setl r9b
setge dl
cmp r9b, r8b
jne 0x140200bc3
or dl, cl
test dl, 1
je 0x140200bc3
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov r15, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rbx, rsp
sub rsp, 0x20
mov rcx, rbx
mov rdx, qword [rbp - 0x28]
call fcn.140200d90
add rsp, 0x20
mov eax, 0xc86ed4b3
mov r12d, 0x2550a1c1
mov edi, 0xcd6d1d2a
jmp 0x140200a00
mov qword [rsi], r14
mov eax, 0x50b19ff
nop word cs:[rax + rax]
cmp eax, 0xcd6d1d29
jle 0x140200a70
cmp eax, 0xcd6d1d2a
je 0x140200b51
cmp eax, 0x50b19ff
je 0x140200b0a
cmp eax, 0x2550a1c1
jne 0x140200a00
mov eax, dword [0x1402b6458]
mov ecx, dword [0x1402b645c]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl r9b
xor r9b, r8b
mov r8d, 0x981e90f9
cmovne r8d, edi
test eax, edx
mov eax, r8d
cmove eax, edi
cmp ecx, 0xa
cmovge eax, r8d
jmp 0x140200a00
cmp eax, 0x981e90f9
je 0x140200b47
cmp eax, 0xc86ed4b3
jne 0x140200a00
mov qword [rbp - 0x18], r15
mov rsi, qword [rbp - 0x18]
mov eax, 0x2b892fc6
nop word cs:[rax + rax]
cmp eax, 0xa9a83d0c
je 0x140200ad5
cmp eax, 0x2b892fc6
jne 0x140200aa0
mov qword [rbp - 0x10], 0
sub rsp, 0x20
mov rcx, rbx
lea rdx, [rbp - 0x10]
call fcn.140201a50
add rsp, 0x20
mov qword [rbp - 8], rax
mov eax, 0xa9a83d0c
jmp 0x140200aa0
mov r14, qword [rbp - 8]
sub rsp, 0x20
mov rcx, rbx
call fcn.140201860
add rsp, 0x20
mov eax, 0x3895b424
nop
cmp eax, 0x3895b424
je 0x140200b03
cmp eax, 0x63838e59
jne 0x140200af0
jmp 0x1402009ed
mov eax, 0x63838e59
jmp 0x140200af0
mov eax, dword [0x1402b6458]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x981e90f9
cmove eax, r12d
cmp dword [0x1402b645c], 0xa
mov edx, 0x981e90f9
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, r12d
jmp 0x140200a00
mov eax, 0x2550a1c1
jmp 0x140200a00
mov rax, qword [rbp - 0x18]
sub rsp, 0x20
mov rcx, rbx
call fcn.140200fa0
add rsp, 0x20
mov qword [rbp - 0x10], r15
mov eax, 0x262d1695
nop
cmp eax, 0x4039ac6d
je 0x140200b90
cmp eax, 0x262d1695
jne 0x140200b70
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 8], rax
mov eax, 0x4039ac6d
jmp 0x140200b70
lea rax, [r13 + 8]
mov r9, qword [rbp - 8]
sub rsp, 0x30
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140201290]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add rsp, 0x30
jmp 0x140200741
mov qword [r13], rax
mov edx, dword [0x1402b6448]
lea ecx, [rdx + 1]
imul ecx, edx
test cl, 1
sete r8b
cmp dword [0x1402b644c], 0xa
setl r9b
setge dl
cmp r9b, r8b
jne 0x140200c02
or dl, cl
test dl, 1
je 0x140200c02
nop word cs:[rax + rax]
jmp 0x140200c00
test rax, rax
je 0x140200d06
lea rsi, [rbp - 0x10]
mov rdi, qword [rbp - 0x20]
jmp 0x140200c24
mov rax, qword [rbp - 8]
mov eax, 0x2b892fc6
nop dword [rax]
cmp eax, 0xa9a83d0c
je 0x140200c70
cmp eax, 0x2b892fc6
jne 0x140200c30
mov qword [rbp - 0x10], 0
sub rsp, 0x20
mov rcx, rdi
mov rdx, rsi
call fcn.140201a50
add rsp, 0x20
mov qword [rbp - 8], rax
mov eax, 0xa9a83d0c
jmp 0x140200c30
mov rax, qword [rbp - 8]
mov eax, dword [0x1402b6448]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1402b644c], 0xa
setl cl
test cl, al
jne 0x140200ce8
xor cl, al
jne 0x140200ce8
mov eax, 0x2b892fc6
nop word cs:[rax + rax]
cmp eax, 0xa9a83d0c
je 0x140200c20
cmp eax, 0x2b892fc6
jne 0x140200cb0
mov qword [rbp - 0x10], 0
sub rsp, 0x20
mov rcx, rdi
mov rdx, rsi
call fcn.140201a50
add rsp, 0x20
mov qword [rbp - 8], rax
mov eax, 0xa9a83d0c
jmp 0x140200cb0
sub rsp, 0x20
mov rcx, rdi
call fcn.140200fa0
nop
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [rdi], 0
sub rsp, 0x20
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add rsp, 0x20
int3