Function at 0x1800279a4
Capabilities:
Terminate thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r8
mov r12, rdx
mov rsi, rcx
xor r14d, r14d
cmp rcx, r14
jne 0x1800279dc
xor eax, eax
jmp 0x180027cec
cmp dword [rcx + 0x40], r14d
je 0x1800279ec
mov edi, 1
jmp 0x180027bbe
mov ecx, 0xb0
call fcn.180052a04
mov rdi, rax
mov qword [rsp + 0x90], rax
cmp rax, r14
je 0x180027b18
lea rcx, [rax + 8]
call fcn.1800280e8
mov qword [rdi + 8], r14
mov word [rdi + 0x10], r14w
lea rcx, [rdi + 0x18]
call fcn.1800280e8
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x20], r14d
mov dword [rdi + 0x24], r14d
lea r13, section..data
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x28], rax
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x40], r14d
mov qword [rdi + 0x48], r14
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x50], rax
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x58], rax
mov rcx, r13
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x60], rax
lea rbx, [rdi + 0x68]
mov qword [rsp + 0x30], rbx
mov ecx, 8
call fcn.180052a04
cmp rax, r14
je 0x180027adb
mov qword [rax], rbx
jmp 0x180027ade
mov rax, r14
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032784
mov qword [rbx + 0x30], rax
mov byte [rax + 0x29], 1
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rax
mov rax, qword [rbx + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], rax
mov qword [rbx + 0x38], r14
mov qword [rdi + 0xa8], r14
mov qword [rdi], rsi
jmp 0x180027b1b
mov rdi, r14
mov qword [rsi + 0x48], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rdx, [0x18007f59c]
lea rcx, [rsp + 0x90]
call fcn.180012620
mov rdi, rax
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.180012620
mov rbx, rax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.180012620
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, qword [rsi + 0x48]
call fcn.180026510
mov edi, eax
cmp eax, r14d
je 0x180027bca
mov rbx, qword [rsi + 0x48]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x18002673c]
mov edx, 0x400000
xor ecx, ecx
call fcn.18001de38
mov qword [rbx + 0xa8], rax
mov edi, r14d
cmp rax, r14
setne dil
cmp edi, r14d
je 0x180027bca
mov dword [rsi + 0x40], 1
jmp 0x180027cea
mov dword [rsi + 0x40], r14d
mov rbx, qword [rsi + 0x48]
mov dword [rbx + 0x40], r14d
mov rcx, qword [rbx + 0x18]
cmp rcx, r14
je 0x180027be5
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbx + 0x48]
or ebp, 0xffffffff
cmp rcx, r14
je 0x180027c0e
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, r14d
je 0x180027c0a
mov edx, ebp
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], r14
mov rcx, qword [rbx + 8]
cmp rcx, r14
je 0x180027c21
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 8], r14
mov edx, ebp
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, r14d
je 0x180027c4b
mov edx, ebp
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0xa8], r14
mov rbx, qword [rsi + 0x48]
mov qword [rsp + 0x48], rbx
cmp rbx, r14
je 0x180027ce6
lea rcx, [rbx + 0x68]
call fcn.180026a00
nop
mov rdx, qword [rbx + 0x60]
sub rdx, 0x18
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
cmp eax, r14d
jg 0x180027c8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx + 0x58]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
cmp eax, r14d
jg 0x180027caa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx + 0x50]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
cmp eax, r14d
jg 0x180027cca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0x18]
call fcn.180028180
nop
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call fcn.1800520c4
mov qword [rsi + 0x48], r14
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret