Function at 0x14005f240
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.1400c9920
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rbp + 0x1740], rax
cmp dword [0x140162d94], 0
je 0x14005f56b
cmp dword [0x140162d90], 0
jne 0x14005f2b5
mov rax, qword [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x14005f56b
lea rcx, [0x140162d98]
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.1400c71e0
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 [0x14015c1e0]
test byte [rax + 0x1c], 1
je 0x14005f414
cmp dword [0x140164f58], ebx
jne 0x14005f406
mov dword [0x140164f58], 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.14005f650
lea rcx, [rbp + 0xf70]
call fcn.1400c0740
lea rcx, [rbp + 0x7a0]
call fcn.1400c0740
jmp 0x14005f41a
mov dword [0x140164f58], ebx
cmp dword [0x140162d90], 0
je 0x14005f55e
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.14005f650
cmp dword [0x14015b3c8], 1
jne 0x14005f50c
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14005f58e
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 0x14005f4db
lea rcx, [rbp - 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005f4c0
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, [0x1401648b8]
call fcn.140010000
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14005f55e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14005f55e
cmp dword [0x140162dc0], 0
je 0x14005f55e
cmp dword [0x14015b13c], 0
je 0x14005f554
mov rdx, qword [0x140162dc8]
test rdx, rdx
jne 0x14005f53b
call fcn.14005e880
mov rdx, qword [0x140162dc8]
test rdx, rdx
je 0x14005f55e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140162dc8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14005f55e
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140162d98]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1740]
xor rcx, rsp
call fcn.1400c0920
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