Function at 0x1400060e0
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x230], 0
mov ebp, r8d
mov r12, rdx
mov rdi, rcx
je 0x140006136
lea rcx, [0x1400691f0]
lea rdx, [0x14006a230]
mov r8d, 0x410
call fcn.140023d70
lea rcx, [0x140069600]
lea rdx, [0x14006a640]
mov r8d, 0x410
call fcn.140023d70
mov r11d, dword [0x14006660c]
jmp 0x14000617c
cmp dword [0x14006aa50], 0
jne case.default.0x1400061b4
lea rcx, [0x1400691f0]
lea rdx, [0x140069a10]
mov r8d, 0x410
call fcn.140023d70
lea rcx, [0x140069600]
lea rdx, [0x140069e20]
mov r8d, 0x410
call fcn.140023d70
mov r11d, dword [0x140066608]
movzx eax, byte [r12]
mov dword [0x1400656dc], r11d
cmp eax, 0x65
ja case.default.0x1400061b4
lea rdx, [0x140000000]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
movzx eax, byte [rdx + rax + 0x672c]
mov ecx, dword [rdx + rax*4 + 0x66f8]
add rcx, rdx
jmp rcx
mov eax, 1
xchg dword [rdi + 0x234], eax
call fcn.1400067a0
mov rcx, rdi
call fcn.1400068c0
jmp case.0x1400061b4.3
mov ecx, 0x20470
call fcn.140024100
xor edx, edx
mov r8d, 0x20470
mov rcx, rax
mov rsi, rax
call fcn.1400278a0
lea rdx, [r12 + 1]
mov r8d, 0x20470
mov rcx, rsi
call fcn.140023d70
mov rbx, qword [0x14006aa58]
mov r9, qword [0x14006aa60]
cmp rbx, r9
je 0x140006252
nop word [rax + rax]
mov rax, qword [rbx]
lea r8, [rsi + 4]
mov rcx, qword [rax]
add rcx, 4
sub r8, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140006245
add rcx, 2
test eax, eax
jne 0x140006231
test edx, edx
je 0x1400062a8
add rbx, 8
cmp rbx, r9
jne 0x140006220
mov ecx, 0x20471
call fcn.1400243b8
mov r8d, 0x20470
mov rdx, rsi
mov rbx, rax
mov byte [rax], 5
mov eax, 1
lea rcx, [rbx + 1]
mov dword [rsi + 0x400], eax
call fcn.140023d70
mov rcx, qword [rdi + 8]
mov r8d, 0x20471
mov r9, qword [rcx]
mov rdx, rbx
call qword [r9 + reloc.WS2_32.dll_recv]
mov rcx, rsi
call fcn.140023d50
mov rcx, rbx
call fcn.140023d50
jmp case.0x1400061b4.3
mov rax, qword [rbx]
lea r8, [rsi + 0x202]
mov edx, 0xff
mov rcx, qword [rax]
add rcx, 0x202
call fcn.1400244a0
mov r9, qword [rbx]
xor edi, edi
lea r8, [0x140005a10]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.140024bf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je case.0x1400061b4.3
mov rcx, rsi
call fcn.140023d50
jmp case.0x1400061b4.3
mov ecx, 0x20470
call fcn.140024100
xor edx, edx
mov r8d, 0x20470
mov rcx, rax
mov rbp, rax
call fcn.1400278a0
lea rdx, [r12 + 1]
mov r8d, 0x20470
mov rcx, rbp
call fcn.140023d70
movsxd rsi, dword [r12 + 0x20471]
mov rcx, rsi
call fcn.1400243b8
lea rdx, [r12 + 0x20475]
mov r8, rsi
mov rcx, rax
mov rdi, rax
call fcn.140023d70
mov ecx, reloc.WS2_32.dll_recv
call fcn.140024100
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov rcx, qword [rax]
mov dword [rcx + 0x404], esi
mov rcx, qword [0x14006aa60]
mov r8, qword [0x14006aa58]
lea rax, [rsp + 0x68]
cmp rax, rcx
jae 0x14000644a
lea rax, [rsp + 0x68]
cmp r8, rax
ja 0x14000644a
mov rdx, qword [0x14006aa68]
lea rbx, [rsp + 0x68]
xor edi, edi
sub rbx, r8
sar rbx, 3
cmp rcx, rdx
jne 0x140006435
mov rax, rcx
movabs r9, 0x1ffffffffffffffe
sub rax, r8
sar rax, 3
cmp rax, r9
jbe 0x1400063e5
lea rcx, str.vector_T__too_long
call fcn.14003cf80
int3
sub rdx, r8
inc rax
sar rdx, 3
cmp rax, rdx
jbe 0x140006435
mov r8, rdx
movabs rcx, 0x1fffffffffffffff
shr r8, 1
sub rcx, r8
cmp rcx, rdx
jae 0x140006411
mov rdx, rdi
jmp 0x140006414
add rdx, r8
cmp rdx, rax
lea rcx, [0x14006aa58]
cmovb rdx, rax
call fcn.140007750
mov rcx, qword [0x14006aa60]
mov r8, qword [0x14006aa58]
test rcx, rcx
je 0x1400064d6
mov rax, qword [r8 + rbx*8]
mov qword [rcx], rax
jmp 0x1400064cf
mov rdx, qword [0x14006aa68]
xor edi, edi
cmp rcx, rdx
jne 0x1400064c7
mov rax, rcx
movabs r9, 0x1ffffffffffffffe
sub rax, r8
sar rax, 3
cmp rax, r9
jbe 0x14000647e
lea rcx, str.vector_T__too_long
call fcn.14003cf80
int3
sub rdx, r8
inc rax
sar rdx, 3
cmp rax, rdx
jbe 0x1400064c7
mov r8, rdx
movabs rcx, 0x1fffffffffffffff
shr r8, 1
sub rcx, r8
cmp rcx, rdx
jae 0x1400064aa
mov rdx, rdi
jmp 0x1400064ad
add rdx, r8
cmp rdx, rax
lea rcx, [0x14006aa58]
cmovb rdx, rax
call fcn.140007750
mov rcx, qword [0x14006aa60]
test rcx, rcx
je 0x1400064d6
mov qword [rcx], r12
mov rcx, qword [0x14006aa60]
add rcx, 8
mov qword [rsp + 0x28], rdi
mov r9, r12
mov qword [0x14006aa60], rcx
lea r8, [0x140005a10]
jmp 0x1400065d5
call fcn.1400067a0
mov rbx, qword [0x140068d98]
mov ecx, 0x200
call fcn.140024100
xor edx, edx
mov r8d, 0x200
mov rcx, rax
mov rdi, rax
call fcn.1400278a0
lea rax, [0x14004db14]
lea r9, [0x14004dce0]
jmp 0x14000665b
mov ecx, 0x20470
call fcn.140024100
xor edx, edx
mov r8d, 0x20470
mov rcx, rax
mov rsi, rax
call fcn.1400278a0
lea r11d, [rbp - 1]
mov ecx, r11d
mov ebx, r11d
call fcn.1400243b8
lea rdx, [r12 + 1]
mov r8d, ebx
mov rcx, rax
mov rdi, rax
call fcn.140023d70
mov ecx, reloc.WS2_32.dll_recv
call fcn.140024100
lea ecx, [rbp - 1]
lea r8, [0x140005a10]
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov dword [rsi + 0x404], ecx
mov rcx, qword [rax]
xor edi, edi
mov r9, rax
mov dword [rcx], 2
mov qword [rsp + 0x28], rdi
jmp 0x1400065d5
mov r8d, ebp
mov rdx, r12
mov rcx, rdi
call fcn.1400069d0
jmp case.0x1400061b4.3
lea rax, [rsp + 0x50]
xor edi, edi
lea r9, [r12 + 1]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x50], edi
lea r8, [0x1400073f0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.140024bf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x1400061b4.3
mov edx, dword [r12 + 1]
mov rcx, rdi
call fcn.140007050
mov rbx, qword [0x140068d98]
mov ecx, 0x200
test eax, eax
je 0x140006635
call fcn.140024100
xor edx, edx
mov r8d, 0x200
mov rcx, rax
mov rdi, rax
call fcn.1400278a0
lea rax, [0x14004db3c]
lea r9, [0x14004dcf0]
jmp 0x14000665b
call fcn.140024100
xor edx, edx
mov r8d, 0x200
mov rcx, rax
mov rdi, rax
call fcn.1400278a0
lea rax, [0x14004db5c]
lea r9, [0x14004dd00]
lea rcx, [rdi + 2]
lea r8, str._s__s_n
mov edx, 0xff
mov byte [rdi], 1
mov qword [rsp + 0x20], rax
call fcn.1400241a4
mov rcx, qword [rbx + 8]
mov r8d, 0x200
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
call fcn.140023d50
jmp case.0x1400061b4.3
movzx ecx, byte [r12 + 1]
test ecx, ecx
je 0x1400066b9
dec ecx
jne case.0x1400061b4.3
lea r8, [r12 + 2]
lea rdx, [0x14004dd20]
mov rcx, rdi
call fcn.140007310
jmp case.0x1400061b4.3
lea r8, [r12 + 2]
lea rdx, [0x14004dd10]
mov rcx, rdi
call fcn.140007310
jmp case.0x1400061b4.3
mov eax, 1
mov dword [0x14006aa50], eax
jmp case.0x1400061b4.3
xor edi, edi
mov dword [0x14006aa50], edi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rbp
ret