Function at 0x180052760
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 [0x1800f3040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov rcx, qword [0x1800f4588]
add rcx, rsi
call fcn.18009ec50
mov ebx, eax
test eax, eax
jne 0x1800528f0
add rsi, qword [0x1800f4588]
mov ebx, r14d
mov edi, 1
lock cmpxchg dword [0x1800f47c0], edi
je 0x1800527f1
nop dword [rax]
cmp rbx, 0x20
jae 0x1800527da
xor ecx, ecx
jmp 0x1800527dc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f47c0], edi
jne 0x1800527d0
cmp qword [0x1800f47c8], r14
je 0x1800528e4
test rsi, rsi
jne 0x180052816
mov ecx, edi
call fcn.18009eb4c
xchg dword [0x1800f47c0], r14d
jmp 0x180052e2f
mov ebx, r14d
mov ecx, dword [0x1800fa59c]
test ecx, ecx
je 0x1800528e4
mov r8, qword [0x1800fa590]
mov rax, r8
cmp rsi, qword [rax]
je 0x18005284c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180052831
xchg dword [0x1800f47c0], r14d
jmp 0x180052e2f
cmp ebx, 0xffffffff
je 0x1800528e4
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800528e4
mov r8d, edi
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.18009e690
test eax, eax
jne 0x1800528e4
mov edx, edi
mov ecx, ebx
call fcn.18009ea3c
mov r15, qword [rsp + 0x78]
test r15, r15
je 0x1800528e4
mov eax, dword [rbp - 0x7c]
test eax, eax
je 0x1800528d2
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 0x1800528c8
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 0x1800528a0
mov r8, r15
xor edx, edx
mov rcx, qword [0x1800f47c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x1800f47c0], r14d
jmp 0x180052e2f
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1800b4070]
mov qword [rbp + 0x10], rax
lea rax, [0x1800b3ef8]
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, [0x180032200]
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 0x1800529f0
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 0x1800529c0
dec r9
mov byte [r9], 0x2d
jmp 0x180052a16
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 0x1800529f0
lea r8, [rbp + 0x125]
mov rdx, r9
lea rcx, [rbp - 0x18]
call fcn.1800450c0
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 0x180052a80
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
test rbx, rbx
je 0x180052a80
mov rax, qword [rbp + 0x48]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x90]
cmovb rbx, qword [rbp + 0x90]
jmp 0x180052aa2
test dl, 4
jne 0x180052adb
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
test rdx, rdx
je 0x180052adb
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 0x180052adb
cmp rbx, rcx
lea rcx, [rsp + 0x38]
ja 0x180052ace
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x180052ad6
mov rdx, rbx
call fcn.180044a60
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 0x180052b74
lea rax, [r8 + 0x23]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x38]
lea rax, [0x1800d3473]
cmp rax, rbx
jbe 0x180052b37
lea rax, [rbx + r8]
cmp r15, rax
ja 0x180052b37
cmp rbx, r15
ja 0x180052b2f
mov rsi, r14
jmp 0x180052b3a
mov rsi, rbx
sub rsi, r15
jmp 0x180052b3a
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 0x180052b8b
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.180045c80
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.180043110
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.180055310
nop
mov r8, rdi
lea rdx, [0x1800b3a60]
lea rcx, [rbp - 0x78]
call fcn.180043110
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.18009e3f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x180052c7d
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052c77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052c77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180052cbb
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052cb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052cb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
movdqa xmm0, xmmword [0x1800da3a0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x180052d0b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052d05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180052d4b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052d46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052d46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
movdqa xmm0, xmmword [0x1800da3a0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180052d9e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052d99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052d99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x180052df0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052dea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052dea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a0984
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.1800424b0
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.1800a04e0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret