Function at 0x1800aab10
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor edi, edi
lea r13d, [rdi + 1]
cmp qword [0x18011aae8], rdi
je 0x1800ab1b8
mov rsi, qword [0x18011aad8]
mov ebx, edi
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
je 0x1800aab93
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800aab7a
xor ecx, ecx
jmp 0x1800aab7d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
jne 0x1800aab70
cmp qword [0x18011a3d8], rdi
je 0x1800aac8d
test rsi, rsi
jne 0x1800aabb4
xor ecx, ecx
call fcn.1800adc8c
mov r15d, eax
jmp 0x1800aac93
mov ebx, edi
mov ecx, dword [0x18011f10c]
test ecx, ecx
je 0x1800aabdf
mov rdx, qword [0x18011f100]
mov rax, rdx
nop word [rax + rax]
cmp rsi, qword [rax]
je 0x1800aabea
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800aabd0
mov r15d, 4
jmp 0x1800aac93
cmp ebx, 0xffffffff
je 0x1800aabdf
mov eax, ebx
imul rcx, rax, 0x38
test byte [rcx + rdx + 0x20], 2
je 0x1800aac85
mov r8d, r13d
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.1800ad7d4
mov r15d, eax
test eax, eax
jne 0x1800aac93
xor edx, edx
mov ecx, ebx
call fcn.1800adb80
mov r15d, eax
mov r12, qword [rbp - 0x70]
test r12, r12
je 0x1800aac93
mov eax, dword [rbp - 0x64]
test eax, eax
je 0x1800aac71
mov rsi, r12
mov r14d, eax
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800aac68
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r14, r13
jne 0x1800aac40
mov r8, r12
xor edx, edx
mov rcx, qword [0x18011a3d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800aac93
mov r15d, 6
jmp 0x1800aac93
mov r15d, 2
mov eax, edi
xchg dword [0x18011a3d0], eax
test r15d, r15d
je 0x1800aae3e
mov edx, r15d
lea rcx, [rbp - 0x40]
call fcn.1800652c0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x21
jb 0x1800aad4b
lea rax, [r8 + 0x21]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 0x10
jb 0x1800aacdf
mov rsi, qword [rbx]
lea rax, [0x180103ac1]
mov r12d, 0x21
lea r14, str.Failed_to_disable_NGL_main_hook:
cmp rax, rsi
jbe 0x1800aad13
lea rax, [rsi + r8]
cmp r14, rax
ja 0x1800aad13
cmp rsi, r14
ja 0x1800aad0b
mov r15, rdi
jmp 0x1800aad16
mov r15, rsi
sub r15, r14
jmp 0x1800aad16
mov r15, r12
inc r8
lea rcx, [rsi + 0x21]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub r12, r15
lea rdx, [r14 + 0x21]
add rdx, r15
lea rcx, [rsi + r15]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800aad70
mov r12d, 0x21
mov qword [rsp + 0x28], r12
lea r14, str.Failed_to_disable_NGL_main_hook:
mov qword [rsp + 0x20], r14
mov edx, r12d
mov rcx, rbx
call fcn.180087a70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rsp + 0x50]
call fcn.18009ab10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800aaded
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aade8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aade8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800aae3e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aae39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aae39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
mov rsi, qword [0x18011aad8]
mov r12d, edi
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
je 0x1800aae7b
cmp rbx, 0x20
jae 0x1800aae62
xor ecx, ecx
jmp 0x1800aae65
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
jne 0x1800aae58
cmp qword [0x18011a3d8], r12
je 0x1800ab000
mov ebx, edi
mov ecx, dword [0x18011f10c]
test ecx, ecx
je 0x1800aaeaf
mov rdx, qword [0x18011f100]
mov rax, rdx
nop
cmp rsi, qword [rax]
je 0x1800aaeba
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800aaea0
mov r12d, 4
jmp 0x1800ab006
cmp ebx, 0xffffffff
je 0x1800aaeaf
mov eax, ebx
imul rsi, rax, 0x38
mov qword [rsp + 0x30], rsi
test byte [rsi + rdx + 0x20], 2
je 0x1800aaf69
xor r8d, r8d
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1800ad7d4
mov r12d, eax
test eax, eax
jne 0x1800ab006
xor edx, edx
mov ecx, ebx
call fcn.1800adb80
mov r12d, eax
mov r13, qword [rbp - 0x60]
test r13, r13
je 0x1800aaf59
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x1800aaf47
mov r14, r13
mov r15d, eax
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800aaf38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 4
sub r15, 1
jne 0x1800aaf10
mov rsi, qword [rsp + 0x30]
mov r8, r13
xor edx, edx
mov rcx, qword [0x18011a3d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r12d, r12d
jne 0x1800ab006
mov rdx, qword [0x18011f100]
mov rcx, qword [rsi + rdx + 0x10]
call fcn.1800ae4f0
mov edx, dword [0x18011f10c]
dec edx
cmp ebx, edx
jae 0x1800aafb4
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x18011f100]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rsi + rax], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rsi + rax + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rsi + rax + 0x30], xmm1
mov dword [0x18011f10c], edx
mov ecx, dword [0x18011f108]
mov eax, ecx
shr eax, 1
cmp eax, 0x20
jb 0x1800ab006
cmp eax, edx
jb 0x1800ab006
mov eax, ecx
shr rax, 1
imul r9, rax, 0x38
mov r8, qword [0x18011f100]
xor edx, edx
mov rcx, qword [0x18011a3d8]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1800ab006
shr dword [0x18011f108], 1
mov qword [0x18011f100], rax
jmp 0x1800ab006
mov r12d, 2
mov eax, edi
xchg dword [0x18011a3d0], eax
test r12d, r12d
je 0x1800ab1ab
mov edx, r12d
lea rcx, [rbp - 0x20]
call fcn.1800652c0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x20
jb 0x1800ab0be
lea rax, [r8 + 0x20]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 0x10
jb 0x1800ab052
mov rsi, qword [rbx]
lea rax, [0x180103b50]
mov r12d, 0x20
lea r14, str.Failed_to_remove_NGL_main_hook:
cmp rax, rsi
jbe 0x1800ab086
lea rax, [rsi + r8]
cmp r14, rax
ja 0x1800ab086
cmp rsi, r14
ja 0x1800ab07e
mov r15, rdi
jmp 0x1800ab089
mov r15, rsi
sub r15, r14
jmp 0x1800ab089
mov r15, r12
inc r8
lea rcx, [rsi + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub r12, r15
lea rdx, [r14 + 0x20]
add rdx, r15
lea rcx, [rsi + r15]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800ab0e3
mov r12d, 0x20
mov qword [rsp + 0x28], r12
lea r14, str.Failed_to_remove_NGL_main_hook:
mov qword [rsp + 0x20], r14
mov edx, r12d
mov rcx, rbx
call fcn.180087a70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rsp + 0x70]
call fcn.18009ab10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800ab15c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ab157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ab157
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1800ab1ab
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ab1a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ab1a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
mov qword [0x18011aae8], rdi
mov r13d, 1
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
je 0x1800ab1eb
cmp rbx, 0x20
jae 0x1800ab1d2
xor ecx, ecx
jmp 0x1800ab1d5
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
jne 0x1800ab1c8
cmp qword [0x18011a3d8], 0
je 0x1800ab1fc
xor ecx, ecx
call fcn.1800adc8c
mov eax, edi
xchg dword [0x18011a3d0], eax
call fcn.1800a3fd0
call fcn.1800a93a0
mov rbx, qword [0x18011ef38]
test rbx, rbx
je 0x1800ab22f
mov rcx, rbx
call fcn.18006cf80
mov edx, 0x128
mov rcx, rbx
call fcn.1800af594
call fcn.180067ae0
mov rcx, qword [0x18011abf0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp qword [0x18011ab38], 0
je 0x1800ab267
lea r8, [0x18011ab38]
lea rdx, [rbp]
call fcn.18007f000
mov rcx, qword [rax]
add rcx, 0x18
call fcn.18007bb40
mov rcx, qword [0x18011ab60]
test rcx, rcx
je 0x1800ab27f
mov rax, qword [rcx]
mov rdx, qword [rax + 0x3f0]
call rdx
call fcn.180073aa0
mov rcx, qword [0x18011aae0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x18011ab00]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x18011aaf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 0x10
call fcn.1800af60c
mov rcx, qword [0x18011abf8]
mov qword [rax], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rax + 8], rcx
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1800ab550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800ab424
cmp dword [rsp + 0x48], 0
jne 0x1800ab315
mov ecx, r13d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1800ab336
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
je 0x1800ab376
cmp rbx, 0x20
jae 0x1800ab35d
xor ecx, ecx
jmp 0x1800ab360
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011a3d0], r13d
jne 0x1800ab353
cmp qword [0x18011a3d8], 0
je 0x1800ab3f1
xor ecx, ecx
call fcn.1800adc8c
test eax, eax
jne 0x1800ab3f1
mov rcx, qword [0x18011f0f0]
mov qword [0x18011f0f0], rdi
test rcx, rcx
je 0x1800ab3b9
nop
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x1800ab3a0
mov r8, qword [0x18011f100]
xor edx, edx
mov rcx, qword [0x18011a3d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18011a3d8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x18011a3d8], rdi
mov qword [0x18011f100], rdi
mov qword [0x18011f108], rdi
xchg dword [0x18011a3d0], edi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800aed10
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3