Function at 0x14005be10
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.1400c26e0
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14014f010]
xor rax, rsp
mov qword [rbp + 0x1740], rax
cmp dword [0x140156cb4], 0
je 0x14005c13b
cmp dword [0x140156cbc], 0
jne 0x14005be85
mov rax, qword [0x140150140]
test byte [rax + 0x1c], 1
je 0x14005c13b
lea rcx, [0x140156cc0]
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.1400bffa0
lea rbx, [rbp + 0x17a8]
mov qword [rbp - 0x78], rbx
call fcn.140006e60
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 [0x140150140]
test byte [rax + 0x1c], 1
je 0x14005bfe4
cmp dword [0x140158a80], ebx
jne 0x14005bfd6
mov dword [0x140158a80], 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], 0xec
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.14005c220
lea rcx, [rbp + 0xf70]
call fcn.1400b94f0
lea rcx, [rbp + 0x7a0]
call fcn.1400b94f0
jmp 0x14005bfea
mov dword [0x140158a80], ebx
cmp dword [0x140156cbc], 0
je 0x14005c12e
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.14005c220
cmp dword [0x14014f3c8], 1
jne 0x14005c0dc
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14005c15e
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.1400046a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14005c0ab
lea rcx, [rbp - 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005c090
mov r8d, eax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140004940
nop
mov rbx, qword [rbp - 0x70]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1401583e8]
call fcn.14000ff80
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14005c12e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14005c12e
cmp dword [0x140156cb8], 0
je 0x14005c12e
cmp dword [0x14014f13c], 0
je 0x14005c124
mov rdx, qword [0x140156ce8]
test rdx, rdx
jne 0x14005c10b
call fcn.14005b450
mov rdx, qword [0x140156ce8]
test rdx, rdx
je 0x14005c12e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140156ce8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14005c12e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140156cc0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1740]
xor rcx, rsp
call fcn.1400b96d0
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.140005030
int3