Function at 0x140065460
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1758]
mov eax, 0x1878
call fcn.1400f9a10
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rbp + 0x1740], rax
cmp dword [0x1401ad8a8], 0
je 0x14006578b
cmp dword [0x1401ad8ac], 0
jne 0x1400654d5
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x14006578b
lea rcx, [0x1401ad8b0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rbp + 0x7a0]
call fcn.1400daa40
lea rbx, [rbp + 0x17a8]
mov qword [rbp - 0x78], rbx
call fcn.1400073e0
mov qword [rsp + 0x28], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x17a0]
mov r8d, 0x3e6
lea rdx, [rbp + 0x7a0]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x1401a5308]
test byte [rax + 0x1c], 1
je 0x140065634
cmp dword [0x1401afac0], ebx
jne 0x140065626
mov dword [0x1401afac0], 1
lea rcx, [rbp - 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
movzx eax, word [rbp - 0x5a]
movzx ecx, word [rbp - 0x5c]
movzx edx, word [rbp - 0x5e]
movzx r8d, word [rbp - 0x60]
movzx r9d, word [rbp - 0x62]
movzx r10d, word [rbp - 0x66]
movzx r11d, word [rbp - 0x68]
movzx ebx, word [rbp - 0x4a]
movzx edi, word [rbp - 0x4c]
movzx esi, word [rbp - 0x4e]
movzx r14d, word [rbp - 0x50]
movzx r15d, word [rbp - 0x52]
movzx r12d, word [rbp - 0x56]
movzx r13d, word [rbp - 0x58]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x70], r9d
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x60], r11d
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0xf4
lea r9, str.CDebugLog::Write
lea r8, str._s__d_LocalTime:_04d__02d__02d__02d:_02d:_02d:_03d_SystemTime:_04d__02d__02d__02d:_02d:_02d:_03d_n
mov edx, 0x3e6
lea rcx, [rbp + 0xf70]
call fcn.140065880
lea rcx, [rbp + 0xf70]
call fcn.1400d35c0
lea rcx, [rbp + 0x7a0]
call fcn.1400d35c0
jmp 0x14006563a
mov dword [0x1401afac0], ebx
cmp dword [0x1401ad8ac], 0
je 0x14006577e
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rbp - 0x3a]
movzx ecx, word [rbp - 0x3c]
movzx r8d, word [rbp - 0x3e]
movzx r9d, word [rbp - 0x40]
lea r10, [rbp + 0x7a0]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._02d:_02d:_02d:_03d___s_n
mov edx, 0x3e6
lea rcx, [rbp - 0x30]
call fcn.140065880
cmp dword [0x1401a44e8], 1
jne 0x14006572c
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400657ae
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140004bf0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400656fb
lea rcx, [rbp - 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400656e0
mov r8d, eax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140004e70
nop
mov rbx, qword [rbp - 0x70]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401af458]
call fcn.140010650
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14006577e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14006577e
cmp dword [0x1401ad8a4], 0
je 0x14006577e
cmp dword [0x1401a425c], 0
je 0x140065774
mov rdx, qword [0x1401ad8d8]
test rdx, rdx
jne 0x14006575b
call fcn.140064a90
mov rdx, qword [0x1401ad8d8]
test rdx, rdx
je 0x14006577e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1401ad8d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14006577e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x1401ad8b0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1740]
xor rcx, rsp
call fcn.1400d37a0
add rsp, 0x1878
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
int3