Function at 0x1400029d0
Capabilities:
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
je 0x14000e046
lea rcx, [0x140041840]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1400416f0], 0
jne 0x140002a2e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x140015a60]
lea ecx, [r8 + 4]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1400416f0], rax
lea rcx, [0x140041840]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14000e050
mov rcx, rax
call fcn.1400016c4
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14000e07f
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140002a7a
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [0x1400291f8]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140008ad6.0]
mov edi, eax
test eax, eax
js 0x14000e089
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14000e0c1
lea r8, [rsp + 0x80]
lea rcx, [0x1400291f8]
call qword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
mov edi, eax
test eax, eax
js 0x14000e0fd
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000e132
lea rcx, [rbx + 0x40]
call fcn.1400022a8
mov edi, r14d
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140002b14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140002b2c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
mov rdx, rbp
mov rcx, rbx
call fcn.1400025a0
mov rbx, qword [rsi + 0x20]
mov r14, qword [rbx + 8]
lea r9, [rsp + 0x88]
mov r8, r14
mov rdx, rbx
call fcn.140005f04
mov rdx, rax
mov rax, qword [rsi + 0x28]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rax
cmp rcx, 1
jb 0x14000e165
inc rax
mov qword [rsi + 0x28], rax
mov qword [rbx + 8], rdx
mov qword [r14], rdx
mov eax, edi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edi, 0x80070057
jmp 0x140002b7e
mov qword [rsp + 0x38], rax
lea rax, str.bad_allocation
mov qword [rsp + 0x30], rax
lea rax, method.std::bad_cast.virtual_0
mov qword [rsp + 0x28], rax
lea rdx, [0x140031d88]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edi, 0x8007000e
jmp 0x14000e14f
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000e0a4
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140008ad6.0]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e0bc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
jmp 0x14000e14f
mov edi, 0x8000ffff
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000e0e5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14000e0fb
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
jmp 0x14000e14f
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000e118
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e130
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
jmp 0x14000e14f
mov edi, 0x80070057
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e14f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140008ad6.0]
nop
test rbx, rbx
je 0x140002b7e
mov rcx, rbx
call fcn.140015978
jmp 0x140002b7e
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3