Function at 0x1800baa80
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2438]
mov eax, 0x2538
call fcn.1800d2b50
sub rsp, rax
mov rax, qword [0x180144040]
xor rax, rsp
mov qword [rbp + 0x2420], rax
xor ebx, ebx
mov qword [rsp + 0x50], r8
mov r12, rdx
mov rdi, rcx
mov sil, 1
mov r14d, ebx
cmp dword [rcx + 0x1c], ebx
jne 0x1800baad1
call fcn.1800ba480
mov r8, qword [rsp + 0x50]
mov rax, qword [rdi + 8]
cmp qword [rax + 0x4e0], rbx
jne 0x1800baaf0
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800bb1f9
mov qword [0x180160dd0], rbx
mov qword [0x180160dc8], rbx
test r8, r8
jne 0x1800badd2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
jne 0x1800bad83
mov rax, qword [rdi + 8]
lea rcx, [rbp + 0x18c0]
cmp dword [rax + 0x40], r14d
je 0x1800bad5a
add rax, 0x10
mov edx, 9
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1800bab40
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
xor ebx, ebx
xor edx, edx
mov qword [rsp + 0x2530], r15
mov r8d, 0x108
lea rcx, [rbp + 0x17b0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x19b8]
mov ecx, 0x420
mov qword [rbp + 0x17b0], rax
mov rax, qword [rbp + 0x1958]
mov qword [rbp + 0x17d0], rax
mov qword [rbp + 0x17e0], rax
mov dword [rbp + 0x17bc], 3
mov dword [rbp + 0x17dc], 3
mov dword [rbp + 0x17ec], 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x1800bb1db
xor edx, edx
mov qword [rsp + 0x2588], r13
mov r8d, 0x420
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [r15], 0x20
xor eax, eax
mov dword [r15 + 0x18], 0x400
movups xmmword [rsp + 0x58], xmm0
xor edx, edx
mov dword [rsp + 0x58], 0x28
mov r8d, 0x684
mov qword [rsp + 0x78], rax
lea rcx, [rbp + 0x1d94]
movups xmmword [rsp + 0x68], xmm0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 8]
lea r9, [rbp + 0x17b0]
mov rdx, qword [rdi + 0x10]
mov r8, r12
mov dword [rbp + 0x1d90], 0x688
mov r13d, ebx
mov qword [rsp + 0x40], rbx
mov rax, qword [rcx + 0x508]
mov r10, qword [rcx + 0x540]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x4f8]
mov ecx, 0x8664
mov qword [rsp + 0x30], rax
lea rax, [0x1800bb270]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18c0]
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x1800bb199
mov rcx, qword [rbp + 0x17b0]
mov qword [rbp - 0x80], rcx
mov byte [rbp - 0x78], 0
mov byte [rbp + 0x388], 0
mov byte [rbp + 0x788], 0
mov qword [rbp + 0xb88], rbx
mov qword [rbp + 0xb90], 0
mov byte [rbp + 0xb98], 0
mov byte [rbp + 0x13b0], 0
mov byte [rbp + 0xfa8], 0
cmp rcx, qword [rbp + 0x17c0]
jne 0x1800bae5f
mov eax, dword [rdi + 0x2c]
test eax, eax
jle 0x1800bad52
cmp r14d, eax
jg 0x1800bb218
inc r14d
jmp 0x1800bae62
xor edx, edx
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x18c0]
mov dword [rbp + 0x18f0], 0x10000b
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1800babb9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rbp + 0x18c0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x18c0]
mov dword [rbp + 0x18f0], 0x10000b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1800babb9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x1800bb1f9
mov rcx, r8
lea rax, [rbp + 0x18c0]
mov edx, 9
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1800bade1
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
jmp 0x1800babbb
mov r14d, ebx
test rcx, rcx
je 0x1800bb112
mov rax, qword [rdi + 8]
lea r8, [rbp + 0xb88]
mov rdx, rcx
mov r9, r15
mov rcx, qword [rdi + 0x10]
mov r10, qword [rax + 0x520]
call r10
test eax, eax
je 0x1800baef0
mov r9, 0xffffffffffffffff
lea r8, [r15 + 0x1c]
mov edx, 0x400
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rax, qword [rdi + 8]
lea rdx, [rbp + 0x388]
mov r9d, 0x1000
mov byte [rbp + 0x387], 0
mov r8d, 0x400
lea rcx, [r15 + 0x1c]
call qword [rax + 0x548]
mov rax, qword [rdi + 8]
lea rdx, [rbp + 0x788]
xor r9d, r9d
lea rcx, [r15 + 0x1c]
mov r8d, 0x400
call qword [rax + 0x548]
jmp 0x1800baf13
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetSymFromAddr64
mov r8d, eax
mov rcx, rdi
call rbx
mov rax, qword [rdi + 8]
mov r10, qword [rax + 0x500]
test r10, r10
je 0x1800baf95
mov rdx, qword [rbp + 0x17b0]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
lea r8, [rbp + 0xb90]
call r10
test eax, eax
je 0x1800baf72
mov eax, dword [rsp + 0x68]
lea rcx, [rbp + 0xb98]
mov r8, qword [rsp + 0x70]
mov r9, 0xffffffffffffffff
mov edx, 0x400
mov dword [rbp + 0xb94], eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0xf97], 0
jmp 0x1800baf95
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetLineFromAddr64
mov r8d, eax
mov rcx, rdi
call rbx
mov r8, qword [rbp + 0x17b0]
lea r9, [rbp + 0x1d90]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.1800ba070
test eax, eax
je 0x1800bb0ed
movsxd rax, dword [rbp + 0x1db0]
cmp eax, 8
ja case.default.0x1800bafd9
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xbb24c]
add rcx, rdx
jmp rcx
lea rax, str._nosymbols_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, str.COFF
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, [0x1801253ec]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, [0x180125404]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, str._exported_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, str._deferred_
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, [0x180125734]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, [0x180125750]
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
lea rax, str.Virtual
xor ebx, ebx
mov qword [rbp + 0xfa0], rax
jmp 0x1800bb08f
xor ebx, ebx
mov qword [rbp + 0xfa0], rbx
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1db4]
mov edx, 0x400
lea rcx, [rbp + 0xfa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov rax, qword [rbp + 0x1d98]
lea r8, [rbp + 0x1ed4]
mov r9, 0xffffffffffffffff
mov qword [rbp + 0x13a8], rax
mov edx, 0x400
mov byte [rbp + 0x13a7], 0
lea rcx, [rbp + 0x13b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov byte [rbp + 0x17af], 0
jmp 0x1800bb112
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rbp + 0x17b0]
lea rdx, str.SymGetModuleInfo64
mov r8d, eax
mov rcx, rdi
call rbx
xor ebx, ebx
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, ebx
xor sil, sil
test r13d, r13d
mov rcx, rdi
setne dl
call qword [rax + 0x18]
cmp qword [rbp + 0x17c0], 0
je 0x1800bb224
mov rcx, qword [rdi + 8]
lea r9, [rbp + 0x17b0]
mov rdx, qword [rdi + 0x10]
mov r8, r12
mov qword [rsp + 0x40], rbx
inc r13d
mov rax, qword [rcx + 0x508]
mov r10, qword [rcx + 0x540]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x4f8]
mov ecx, 0x8664
mov qword [rsp + 0x30], rax
lea rax, [0x1800bb270]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18c0]
mov qword [rsp + 0x20], rax
call r10
test eax, eax
jne 0x1800bacf1
mov r9, qword [rbp + 0x17b0]
lea rdx, str.StackWalk64
mov rax, qword [rdi]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test sil, sil
jne 0x1800bb1d3
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, 2
mov rcx, rdi
call qword [rax + 0x18]
mov r13, qword [rsp + 0x2588]
cmp qword [rsp + 0x50], 0
mov r15, qword [rsp + 0x2530]
jne 0x1800bb1f4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rcx, qword [rbp + 0x2420]
xor rcx, rsp
call fcn.1800d0f80
add rsp, 0x2538
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9, rcx
lea rdx, str.StackWalk64_Endless_Callstack_
jmp 0x1800bb1a7
mov rax, qword [rdi]
lea r8, [rbp - 0x80]
mov edx, 2
mov rcx, rdi
call qword [rax + 0x18]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800bb1d3