Function at 0x14005b9a0
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 - 0x1748]
mov eax, 0x1868
call fcn.1400ca8f0
sub rsp, rax
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp + 0x1730], rax
cmp dword [0x140143c1c], 0
je 0x14005bcd5
cmp dword [0x140143c18], 0
jne 0x14005ba0d
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x14005bcd5
lea rcx, [0x140143c20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rbp + 0x790]
call fcn.1400c7980
lea rbx, [rbp + 0x1798]
mov qword [rbp - 0x80], rbx
call fcn.1400067e0
mov qword [rsp + 0x28], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x1790]
mov r8d, 0x3e6
lea rdx, [rbp + 0x790]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x14005bb6c
cmp dword [0x140145540], ebx
jne 0x14005bb5e
mov dword [0x140145540], 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
movzx eax, word [rbp - 0x62]
movzx ecx, word [rbp - 0x64]
movzx edx, word [rbp - 0x66]
movzx r8d, word [rbp - 0x68]
movzx r9d, word [rbp - 0x6a]
movzx r10d, word [rbp - 0x6e]
movzx r11d, word [rbp - 0x70]
movzx ebx, word [rbp - 0x52]
movzx edi, word [rbp - 0x54]
movzx esi, word [rbp - 0x56]
movzx r14d, word [rbp - 0x58]
movzx r15d, word [rbp - 0x5a]
movzx r12d, word [rbp - 0x5e]
movzx r13d, word [rbp - 0x60]
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 + 0xf60]
call fcn.14005bd10
lea rcx, [rbp + 0xf60]
call fcn.1400c14d0
lea rcx, [rbp + 0x790]
call fcn.1400c14d0
jmp 0x14005bb72
mov dword [0x140145540], ebx
cmp dword [0x140143c18], 0
je 0x14005bcc8
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rbp - 0x42]
movzx ecx, word [rbp - 0x44]
movzx r8d, word [rbp - 0x46]
movzx r9d, word [rbp - 0x48]
lea r10, [rbp + 0x790]
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 - 0x40]
call fcn.14005bd10
cmp dword [0x14013c378], 1
jne 0x14005bc76
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14005bcf8
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.140003e50
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14005bc3b
lea rcx, [rbp - 0x40]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005bc20
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.1400040e0
nop
mov rbx, qword [rbp - 0x78]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x140144f78]
call fcn.140010240
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14005bcc8
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
jmp 0x14005bcc8
cmp dword [0x140143c14], 0
je 0x14005bcc8
cmp dword [0x14013c0ec], 0
je 0x14005bcbe
mov rdx, qword [0x140143c48]
test rdx, rdx
jne 0x14005bca5
call fcn.14005afe0
mov rdx, qword [0x140143c48]
test rdx, rdx
je 0x14005bcc8
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x140143c48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x14005bcc8
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x140143c20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1730]
xor rcx, rsp
call fcn.1400c17f0
add rsp, 0x1868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
int3