Function at 0x140033040
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
lea rbp, [rsp - 0xf28]
mov eax, 0x1028
call fcn.140082ff0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400d8010]
xor rax, rsp
mov qword [rbp + 0xf10], rax
cmp dword [0x1400dc724], 0
je 0x1400332a3
cmp dword [0x1400dc758], 0
jne 0x1400330ae
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x1400332a3
lea rcx, [0x1400dc730]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rbp + 0x740]
call fcn.1400825c0
lea rbx, [rbp + 0xf58]
mov qword [rsp + 0x48], rbx
call fcn.140005860
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf50]
mov r8d, 0x3e6
lea rdx, [rbp + 0x740]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x1400d83b8]
test byte [rax + 0x1c], 1
je 0x140033124
lea rcx, [rbp + 0x740]
call fcn.140079ca0
cmp dword [0x1400dc758], 0
je 0x140033296
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
lea r10, [rbp + 0x740]
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, [rsp + 0x70]
call fcn.1400333d0
cmp dword [0x1400d813c], 1
jne 0x140033242
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x1400331a6
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x70]
lea rax, [rsp + 0x70]
or rdi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x1400331ec
movzx esi, cx
mov ecx, esi
call fcn.140005710
test rax, rax
je 0x140033215
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400053d0
jmp 0x140033210
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400331f4
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003d30
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1400dd6f8]
call fcn.14000d4f0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140033296
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140033296
cmp dword [0x1400dc720], 0
je 0x140033296
cmp dword [0x1400d8290], 0
je 0x14003328b
mov rdx, qword [0x1400dc728]
test rdx, rdx
jne 0x140033271
call fcn.140032980
mov rdx, qword [0x1400dc728]
test rdx, rdx
je 0x140033296
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1400dc728]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x140033296
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x1400dc730]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0xf10]
xor rcx, rsp
call fcn.140079e30
add rsp, 0x1028
pop rdi
pop rsi
pop rbx
pop rbp
ret