Function at 0x140087ca0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
sub rsp, 0x28
cmp dword [rcx + 0x130], 0
mov rbp, rcx
mov ebx, edx
je 0x140087ea1
mov qword [rsp + 0x20], rdi
lea rdi, [rcx + 0xe8]
mov r8, qword [rdi]
test r8, r8
je 0x140087cf2
xor edx, edx
mov eax, ebx
div dword [rdi + 0x10]
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x140087cf2
nop dword [rax]
cmp dword [rax + 0x18], ebx
jne 0x140087ce9
cmp dword [rax], ebx
je 0x140087cfe
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140087ce0
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], rsi
mov rsi, qword [rax + 8]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CancelWaitableTimer]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140087d28
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsi + 0x10], 0
movsxd rax, dword [rsi + 0x18]
mov edx, 0x20
mov rcx, rsi
mov qword [rbp + rax*8 + 0x140], 0
call fcn.140091f5c
mov r11, qword [rdi]
test r11, r11
je 0x140087d9f
mov esi, dword [rdi + 0x10]
xor edx, edx
mov eax, ebx
xor r9d, r9d
div esi
mov r8, qword [r11 + rdx*8]
test r8, r8
je 0x140087d9f
mov eax, dword [r8 + 0x18]
cmp eax, ebx
jne 0x140087d6f
cmp dword [r8], ebx
je 0x140087d7d
mov r9, r8
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140087d62
jmp 0x140087d9f
mov r10, qword [r8 + 0x10]
test r9, r9
jne 0x140087d90
xor edx, edx
div esi
mov qword [r11 + rdx*8], r10
jmp 0x140087d94
mov qword [r9 + 0x10], r10
mov rdx, r8
mov rcx, rdi
call fcn.14000afa0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rsi, qword [rsp + 0x50]
mov dword [rbp + 0x138], 1
cmp qword [rdi + 8], 0
je 0x140087e5c
mov r8d, dword [rdi + 0x10]
xor edx, edx
test r8d, r8d
je 0x140087de4
mov r9, qword [rdi]
mov rcx, qword [r9 + rdx*8]
test rcx, rcx
jne 0x140087df0
inc edx
cmp edx, r8d
jb 0x140087dd4
xor ecx, ecx
test rcx, rcx
je 0x140087e5c
nop dword [rax + rax]
mov r11, rcx
test rcx, rcx
je 0x140087e2d
mov r9, qword [rcx + 0x10]
test r9, r9
jne 0x140087e2a
mov eax, dword [rcx + 0x18]
xor edx, edx
mov r10d, dword [rdi + 0x10]
div r10d
inc edx
nop
cmp edx, r10d
jae 0x140087e2a
mov rax, qword [rdi]
mov r8, qword [rax + rdx*8]
test r8, r8
cmovne r9, r8
inc edx
test r9, r9
je 0x140087e10
mov rcx, r9
mov r9, qword [r11 + 8]
test r9, r9
je 0x140087e57
movsxd r8, dword [rbp + 0x138]
lea eax, [r8 + 1]
mov dword [rbp + 0x138], eax
mov rax, qword [r9 + 0x10]
mov qword [rbp + r8*8 + 0x140], rax
mov dword [r9 + 0x18], r8d
test rcx, rcx
jne 0x140087df0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov r9d, dword [rbp + 0x138]
lea rdx, str.CTimerEventNotify::KillTimer
mov r8d, 0x9c
lea rcx, str._s__d_m_nhWaitHandlesCount_d
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
jmp fcn.1400430e0
mov rcx, qword [0x1401049e0]
mov rdx, rbx
add rsp, 0x28
pop rbp
pop rbx
jmp qword [sym.imp.USER32.dll_KillTimer]
movabs eax, dword [0x8642f9ead5c3f9ab]
fsubr dword [0xc62244f1]
imul esi, eax, 0x996f726a
invalid
je 0x1401a13cc
invalid
fidiv word [rdi + 0x7e]
sbb byte [rdx - 0xbf5a31], 0x80
loopne 0x1401a1412
jp 0x1401a14aa
pop rdi
invalid
and ebp, dword [rsi]
adc eax, 0x9eb77313
adc byte es:[rcx - 0xd], 0xdb
mov edx, 0x7362ee51
adc eax, 0xda995b0a
or bh, byte [rax - 0x653d21a9]
sti
or edx, dword [rax]
invalid