Function at 0x180053020
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov rcx, qword [0x1800f6588]
add rcx, rsi
call fcn.18009f570
mov ebx, eax
test eax, eax
jne 0x1800531b0
add rsi, qword [0x1800f6588]
mov ebx, r14d
mov edi, 1
lock cmpxchg dword [0x1800f67c0], edi
je 0x1800530b1
nop dword [rax]
cmp rbx, 0x20
jae 0x18005309a
xor ecx, ecx
jmp 0x18005309c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f67c0], edi
jne 0x180053090
cmp qword [0x1800f67c8], r14
je 0x1800531a4
test rsi, rsi
jne 0x1800530d6
mov ecx, edi
call fcn.18009f46c
xchg dword [0x1800f67c0], r14d
jmp 0x1800536ef
mov ebx, r14d
mov ecx, dword [0x1800fc5cc]
test ecx, ecx
je 0x1800531a4
mov r8, qword [0x1800fc5c0]
mov rax, r8
cmp rsi, qword [rax]
je 0x18005310c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800530f1
xchg dword [0x1800f67c0], r14d
jmp 0x1800536ef
cmp ebx, 0xffffffff
je 0x1800531a4
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800531a4
mov r8d, edi
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.18009efb0
test eax, eax
jne 0x1800531a4
mov edx, edi
mov ecx, ebx
call fcn.18009f35c
mov r15, qword [rsp + 0x78]
test r15, r15
je 0x1800531a4
mov eax, dword [rbp - 0x7c]
test eax, eax
je 0x180053192
mov rdi, r15
mov esi, eax
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180053188
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x180053160
mov r8, r15
xor edx, edx
mov rcx, qword [0x1800f67c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x1800f67c0], r14d
jmp 0x1800536ef
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1800b5070]
mov qword [rbp + 0x10], rax
lea rax, [0x1800b4ef8]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov edi, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x10], r13
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], r8d
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r14
mov dword [rbp + 0x98], r14d
lea rdx, [0x180032a40]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea r9, [rbp + 0x125]
test ebx, ebx
jns 0x1800532b0
neg ebx
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x180053280
dec r9
mov byte [r9], 0x2d
jmp 0x1800532d6
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x1800532b0
lea r8, [rbp + 0x125]
mov rdx, r9
lea rcx, [rbp - 0x18]
call fcn.1800458d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov ecx, 0xf
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x17
mov edx, dword [rbp + 0x98]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x180053340
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
test rbx, rbx
je 0x180053340
mov rax, qword [rbp + 0x48]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x90]
cmovb rbx, qword [rbp + 0x90]
jmp 0x180053362
test dl, 4
jne 0x18005339b
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
test rdx, rdx
je 0x18005339b
mov rax, qword [rbp + 0x40]
mov r9, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd rbx, dword [rax]
add rbx, rdx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x18005339b
cmp rbx, rcx
lea rcx, [rsp + 0x38]
ja 0x18005338e
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x180053396
mov rdx, rbx
call fcn.180045270
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r12d, 0x23
lea r15, str.MinHook_failed_to_hook_to_offset_0x
cmp rax, r12
jb 0x180053434
lea rax, [r8 + 0x23]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x38]
lea rax, [0x1800d4473]
cmp rax, rbx
jbe 0x1800533f7
lea rax, [rbx + r8]
cmp r15, rax
ja 0x1800533f7
cmp rbx, r15
ja 0x1800533ef
mov rsi, r14
jmp 0x1800533fa
mov rsi, rbx
sub rsi, r15
jmp 0x1800533fa
mov rsi, r12
inc r8
lea rcx, [rbx + 0x23]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, rsi
lea rdx, [r15 + 0x23]
add rdx, rsi
lea rcx, [rbx + rsi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x38]
jmp 0x18005344b
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.180046490
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0xb
lea rdx, str.___Status:
lea rcx, [rsp + 0x58]
call fcn.180043920
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.180055c20
nop
mov r8, rdi
lea rdx, [0x1800b4a60]
lea rcx, [rbp - 0x78]
call fcn.180043920
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x58]
call fcn.18009ed10
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x18005353d
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053537
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x18005357b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053576
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053576
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
movdqa xmm0, xmmword [0x1800dc070]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1800535cb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800535c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800535c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x18005360b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053606
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053606
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
movdqa xmm0, xmmword [0x1800dc070]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18005365e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1800536b0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800536aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800536aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a12a4
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], r13
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.180042c50
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1800a0e00
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret