Function at 0x14002d5b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
xor esi, esi
cmp qword [r8 + 0x10], rsi
je 0x14002d5f9
mov rdx, r8
call fcn.14002d370
test al, al
je 0x14002d894
xor r12b, r12b
cmp qword [rdi + 0x18], rsi
je 0x14002d890
mov edx, 0x17c
lea rcx, [rbp - 0x60]
call fcn.140011160
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x14002d626
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x14002d638
mov r8d, 1
mov rdx, qword [rax + 0x10]
mov rcx, rbx
call fcn.14003f740
mov rdx, qword [rbx + 8]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov r15d, 0xffffffff
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14002d66f
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002d66f
mov rcx, qword [rbp - 0x60]
call fcn.14021b7f0
cmp qword [rsp + 0x38], 0
je 0x14002d890
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x68], rax
mov ecx, 0x10
call fcn.140214338
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14002dba0]
xor edx, edx
xor ecx, ecx
call fcn.140224680
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002d8bb
cmp dword [rsp + 0x48], 0
je 0x14002d8d0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.140213140
test eax, eax
jne 0x14002d8d0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 0xbb8
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x10]
lea rcx, [0x140340a30]
call fcn.1400e34a0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14002d72f
cmp byte [rcx + 0x30], 0
jne 0x14002d742
dec ebx
test ebx, ebx
jle 0x14002d742
mov ecx, WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002d720
test rcx, rcx
je 0x14002d869
cmp byte [rcx + 0x30], 0
je 0x14002d869
mov r12b, 1
mov byte [rsp + 0x30], r12b
xor ecx, ecx
call fcn.140221078
mov rbx, rax
mov r14, qword [rdi + 0xe0]
cmp qword [r14 + 0x80], rax
je 0x14002d847
mov qword [r14 + 0x80], rax
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400b1070
nop
mov edx, 0x36
lea rcx, [rbp - 0x48]
call fcn.140011160
mov r13, rax
mov r12, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
jne 0x14002d7c2
mov rax, qword [r13 + 8]
lea rsi, [0x14024ecc0]
test rax, rax
cmovne rsi, rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rsi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14008e300
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14000d450
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002d81a
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002d81a
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
nop
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x14002d838
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x14002d838
mov rcx, qword [rbp - 0x48]
call fcn.14021b7f0
nop
lea rcx, [rbp - 0x20]
call fcn.1400b1330
movzx r12d, byte [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rdi + 0xe0]
call fcn.14000e560
mov edx, 0xea60
mov rcx, qword [rdi + 0xe8]
call fcn.1400f84e0
jmp 0x14002d889
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x10]
lea rcx, [0x140340a30]
call fcn.1400e34a0
test rax, rax
je 0x14002d889
mov byte [rax + 0xa5], 1
cmp dword [rsp + 0x48], 0
jne 0x14002d8ca
movzx eax, r12b
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140214310
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x48], esi
mov ecx, 6
call fcn.140213044
nop
call fcn.140224760
nop
mov ecx, 1
call fcn.140213044
int3