Function at 0x415410
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb88]
sub rsp, 0xc50
mov r13, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, r15d
mov ecx, 4
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x4157ca
mov rcx, qword [0x004e30d8]
lea r8, str.Threads_____:
mov edx, 0x100000
call fcn.0042e7e4
and qword [rsp + 0x64], 0
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x1c
mov rcx, rdi
mov sil, 1
movdqu xmmword [rsp + 0x54], xmm0
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4157c1
cmp dword [rsp + 0x5c], r15d
jne 0x415793
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x100
call fcn.00424830
mov ebx, dword [rsp + 0x58]
test ebx, ebx
jne 0x4154df
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
lea rcx, [0x004ee610]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [0x004ee638]
jmp 0x415501
cmp dword [r8], ebx
je 0x415508
mov r8, qword [r8 + 0x118]
test r8, r8
jne 0x4154f5
jmp 0x41551a
add r8, 4
lea rcx, [rbp]
mov edx, 0x7f
call fcn.0042e77c
lea rcx, [0x004ee610]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [rsp + 0x58]
cmp ebx, r12d
je 0x415667
xor edx, edx
lea rcx, [rbp + 0x300]
mov r8d, 0x4d0
call fcn.00424830
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 0x48]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x415593
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rbp + 0x300]
mov dword [rbp + 0x330], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
jne 0x4155b2
mov rcx, qword [0x004e30d8]
lea r8, str.____________:
mov edx, 0x100000
call fcn.0042e7e4
jmp 0x4155b5
xor sil, sil
mov ecx, dword [rsp + 0x58]
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea r9, str.__.3d__.16I64X_EIP:__.16I64X_ESP:__.16I64X__s_r_n
mov rax, qword [rbp + 0x398]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov edx, 0xfe
mov rax, qword [rbp + 0x3f8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x20], r14d
call fcn.004020a8
mov rcx, qword [0x004e30d8]
lea r8, [rbp + 0x100]
mov edx, 0x100000
call fcn.0042e7e4
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x88
call fcn.00424830
mov rax, qword [0x004ee748]
lea r9, [rbp + 0x300]
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0xb90], rax
call fcn.00414e30
xor r9d, r9d
lea r8, [rbp + 0xb90]
lea rdx, [rsp + 0x70]
call fcn.00415268
jmp 0x415790
test sil, sil
jne 0x41568a
mov rcx, qword [0x004e30d8]
lea r8, str.______crash_:
mov edx, 0x100000
call fcn.0042e7e4
mov ebx, dword [rsp + 0x58]
jmp 0x41568d
xor sil, sil
lea rax, [rbp]
mov ecx, ebx
mov qword [rsp + 0x40], rax
lea r9, str.__.3d__.16I64X_EIP:__.16I64X_ESP:__.16I64X__s_r_n
mov rax, qword [0x004ee6e8]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov edx, 0xfe
mov rax, qword [0x004ee748]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x20], r14d
call fcn.004020a8
mov rcx, qword [0x004e30d8]
lea r8, [rbp + 0x100]
mov edx, 0x100000
call fcn.0042e7e4
mov rax, qword [0x004ee748]
lea r8, [rbp + 0xb90]
mov rdx, qword [rbp + 0xb98]
mov r9, r13
mov qword [rbp + 0xb90], rax
call fcn.00415268
mov rax, qword [0x004ee748]
lea rcx, [rbp + 0x7d0]
mov rbx, qword [rbp + 0xb90]
sub rax, rbx
cmp rax, 0x1000
cmova rbx, qword [0x004ee748]
xor r9d, r9d
xor r8d, r8d
call fcn.004485f0
lea r9, [0x004e1aa0]
mov r8d, 1
lea rcx, [rbp + 0x7d0]
call fcn.004485f0
mov rcx, qword [0x004ee748]
mov r9, rbx
mov rax, qword [0x004e30d8]
mov r8, rcx
sub r8, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
add r8, 0x40
mov rdx, rbx
lea rcx, [rbp + 0x7d0]
call fcn.004482a0
inc r14d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4154b3
mov rcx, qword [0x004e30d8]
lea r8, str.____________:_end_of_list_r_n
mov edx, 0x100000
call fcn.0042e7e4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xca0]
add rsp, 0xc50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret