Function at 0x140061d00
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.1400ce860
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x1740], rax
cmp dword [0x140169dd8], 0
je 0x14006202b
cmp dword [0x140169da4], 0
jne 0x140061d75
mov rax, qword [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x14006202b
lea rcx, [0x140169da8]
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.1400cc120
lea rbx, [rbp + 0x17a8]
mov qword [rbp - 0x78], rbx
call fcn.140006e00
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 [0x1401631e0]
test byte [rax + 0x1c], 1
je 0x140061ed4
cmp dword [0x14016c080], ebx
jne 0x140061ec6
mov dword [0x14016c080], 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.140062120
lea rcx, [rbp + 0xf70]
call fcn.1400c5680
lea rcx, [rbp + 0x7a0]
call fcn.1400c5680
jmp 0x140061eda
mov dword [0x14016c080], ebx
cmp dword [0x140169da4], 0
je 0x14006201e
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.140062120
cmp dword [0x14016213c], 1
jne 0x140061fcc
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14006204e
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.140004660
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140061f9b
lea rcx, [rbp - 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140061f80
mov r8d, eax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400048e0
nop
mov rbx, qword [rbp - 0x70]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x14016b958]
call fcn.14000ff20
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14006201e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14006201e
cmp dword [0x140169ddc], 0
je 0x14006201e
cmp dword [0x1401623c8], 0
je 0x140062014
mov rdx, qword [0x140169dd0]
test rdx, rdx
jne 0x140061ffb
call fcn.140061330
mov rdx, qword [0x140169dd0]
test rdx, rdx
je 0x14006201e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140169dd0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14006201e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140169da8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1740]
xor rcx, rsp
call fcn.1400c5860
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.140004fd0
int3