Function at 0x1401853c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r14d, r9d
mov r15d, r8d
mov rsi, rdx
mov r13, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140185694
cmp qword [rbx + 0x20], 0
je 0x140185694
mov rcx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
sub r8, rcx
mov rdx, qword [rdx]
mov rax, qword [rsi + 8]
sub rax, rdx
cmp r8, rax
jne 0x140185432
call fcn.140360740
test eax, eax
je 0x140185458
mov rdx, rsi
lea rcx, [rbx + 8]
call fcn.14003af00
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140185458
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
sub r8, rdx
mov rcx, rax
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140185690
mov r12d, dword [0x1407a9d88]
add r12, 0x1ffffc0
shr r12, 6
cmp r15d, 1
jbe 0x140185678
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
xor edi, edi
mov qword [rbp + 0x17], rdi
mov r14, r15
test r15d, r15d
je 0x1401855cb
movabs rax, 0xfffffffffffffff
cmp r15, rax
ja 0x1401856bc
mov rdx, r15
lea rcx, [rbp + 7]
call fcn.1401857f0
mov ecx, edi
mov esi, edi
mov rbx, qword [rbp + 0xf]
lea r8, [fcn.1401850e0]
xor edx, edx
mov rax, rcx
div r14
mov r13, rax
mov dword [rbp - 0x25], r13d
lea rax, [rcx + r12]
mov qword [rbp - 9], rax
xor edx, edx
div r14
mov r15, rax
sub r15d, r13d
mov dword [rbp - 0x29], r15d
mov rdx, qword [rbp + 0x67]
mov rcx, qword [rdx + 0x10]
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
cmp rbx, qword [rbp + 0x17]
je 0x14018557e
mov ecx, 0x28
call fcn.14035e1d0
mov r9, rax
mov eax, dword [rbp + 0x7f]
mov dword [r9], eax
mov dword [r9 + 4], r15d
mov dword [r9 + 8], r13d
mov rax, qword [rbp - 0x21]
mov qword [r9 + 0x10], rax
mov r13, qword [rbp + 0x67]
mov rcx, qword [r13 + 8]
mov qword [r9 + 0x18], rcx
lea rax, [fcn.1401850e0]
mov qword [r9 + 0x20], rax
mov qword [rbp - 0x19], r9
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x140185b00]
xor edx, edx
xor ecx, ecx
call fcn.14036c220
mov qword [rbx], rax
test rax, rax
je 0x1401856c2
mov rbx, qword [rbp + 0xf]
add rbx, 0x10
mov qword [rbp + 0xf], rbx
jmp 0x1401855b6
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rdx + 8]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.140185890
mov rbx, qword [rbp + 0xf]
inc rsi
cmp rsi, r14
jae 0x1401855c7
mov rcx, qword [rbp - 9]
jmp 0x1401854c2
mov r15d, dword [rbp + 0x77]
mov esi, edi
nop dword [rax]
mov rbx, qword [rbp + 7]
add rbx, rdi
cmp dword [rbx + 8], 0
je 0x1401856b1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x1401856e7
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 9], xmm0
xor edx, edx
lea rcx, [rbp - 9]
call fcn.14035d134
test eax, eax
jne 0x1401856dc
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
inc esi
add rdi, 0x10
cmp esi, r15d
jb 0x1401855d0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140185690
mov rax, rcx
mov rdx, qword [rbp + 0xf]
cmp rcx, rdx
je 0x140185643
nop
cmp dword [rax + 8], 0
jne 0x1401856d6
add rax, 0x10
cmp rax, rdx
jne 0x140185630
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018566f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401856d0
call fcn.14035e20c
mov al, 1
jmp 0x140185696
mov rdx, qword [r13 + 0x10]
mov dword [rsp + 0x20], r14d
mov r9d, r12d
xor r8d, r8d
mov rdx, qword [rdx + 0x20]
call fcn.1401850e0
mov al, 1
jmp 0x140185696
xor al, al
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call fcn.14035c9f4
int3
call fcn.140014490
nop
mov dword [rbx + 8], edi
mov ecx, 6
call fcn.14035c9f4
nop
call fcn.14036508c
int3
call fcn.14036957c
nop
mov ecx, 2
call fcn.14035c9f4
int3
mov ecx, 5
call fcn.14035c9f4
int3