Function at 0x5bcca0
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x130
mov rbp, rsp
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x140], rcx
nop
cmp byte [0x006470e8], 0
je 0x5bce1d
lea rcx, [rbp + 0xc0]
mov rax, qword [rbp + 0x140]
mov edx, dword [rax + 0x18]
call fcn.00431ee0
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
lea rdx, [rbp + 0xb8]
call fcn.0040c110
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0x140]
call fcn.00578530
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp + 0x140]
movzx rdx, byte [rax + 0x20]
call fcn.00431eb0
lea rcx, [rbp + 0xc8]
mov edx, 0xa
lea r8, [0x005bd0e4]
mov rax, qword [rbp + 0x140]
mov r9, qword [rax + 8]
lea rax, [0x005bd118]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [0x005bd128]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x38], rax
lea rax, [0x005bd148]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [0x005bd15c]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x58], rax
call fcn.00411770
mov rcx, qword [rbp + 0xc8]
call fcn.005b9670
mov rax, qword [rbp + 0x140]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x118], rax
call sub.kernel32.dll_GetCurrentThreadId_1
mov eax, eax
mov rcx, qword [0x00653658]
cmp rax, qword [rcx]
jne 0x5bcf41
mov dword [rbp + 0x114], 0
mov rax, qword [0x006526c0]
mov rax, qword [rax]
mov qword [rbp + 0x120], rax
mov dword [rbp + 0xdc], 0
cmp dword [rbp + 0x114], 2
jne 0x5bce91
lea rcx, [rbp + 0xe0]
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.user32.dll_PeekMessageW
mov ecx, 2
lea rdx, [rbp + 0x118]
xor r8, r8
mov r9d, 0x64
mov dword [rsp + 0x20], 0x40
call sub.user32.dll_MsgWaitForMultipleObjects
mov dword [rbp + 0x114], eax
mov rcx, qword [rbp + 0x140]
cmp dword [rbp + 0x114], 0xffffffff
setne dl
call fcn.005bb850
cmp dword [rbp + 0x114], 1
jne 0x5bcee2
xor rcx, rcx
call fcn.005b9890
add dword [rbp + 0xdc], 0x64
cmp dword [rbp + 0x114], 0
je 0x5bcf19
mov rax, qword [rbp + 0x140]
cmp dword [rax + 0x60], 0
jle 0x5bce6b
mov rax, qword [rbp + 0x140]
mov ecx, dword [rbp + 0xdc]
cmp ecx, dword [rax + 0x60]
jl 0x5bce6b
cmp dword [rbp + 0x114], 0
je 0x5bcf50
mov rax, qword [rbp + 0x140]
mov ecx, dword [rax + 0x18]
xor rdx, rdx
call sub.kernel32.dll_TerminateThread
mov rax, qword [rbp + 0x140]
mov byte [rax + 0x20], 1
jmp 0x5bcf50
mov rcx, qword [rbp + 0x118]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x118]
lea rdx, [rbp + 0x12c]
call sub.kernel32.dll_GetExitCodeThread
mov rcx, qword [rbp + 0x140]
test eax, eax
setne dl
call fcn.005bb850
cmp byte [0x006470e8], 0
je 0x5bd08c
lea rcx, [rbp + 0x98]
mov rax, qword [rbp + 0x140]
mov edx, dword [rax + 0x18]
call fcn.00431ee0
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
lea rdx, [rbp + 0x90]
call fcn.0040c110
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x140]
call fcn.00578530
lea rcx, [rbp + 0x80]
mov rax, qword [rbp + 0x140]
movzx rdx, byte [rax + 0x20]
call fcn.00431eb0
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0x12c]
call fcn.00431ee0
lea rcx, [rbp + 0xa0]
mov edx, 0xc
lea r8, [0x005bd180]
mov rax, qword [rbp + 0x140]
mov r9, qword [rax + 8]
lea rax, [0x005bd118]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [0x005bd128]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x005bd148]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [0x005bd15c]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [0x005bd1c8]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x68], rax
call fcn.00411770
mov rcx, qword [rbp + 0xa0]
call fcn.005b9670
nop
lea rcx, [rbp + 0x78]
mov edx, 0xb
call fcn.0040f8e0
mov eax, dword [rbp + 0x12c]
lea rsp, [rbp + 0x130]
pop rbp
ret