Function at 0x1400c2070
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r8
mov edi, edx
mov rsi, rcx
mov r12, qword [rbp + 0x288]
mov rcx, qword [rcx + 0xb8]
test rcx, rcx
je 0x1400c2102
mov qword [rbp - 0x80], r12
mov eax, dword [rbp + 0x280]
mov dword [rsp + 0x68], eax
mov qword [rbp - 0x78], r9
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x60], edx
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test al, al
je 0x1400c2387
cmp dword [rsi + 0x78], edi
jl 0x1400c2387
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp - 0x6a]
movzx ecx, word [rbp - 0x6c]
movzx edx, word [rbp - 0x6e]
movzx r8d, word [rbp - 0x70]
movzx r10d, word [rbp - 0x78]
movzx r11d, word [rbp - 0x72]
movzx ebx, word [rbp - 0x76]
lea r14, [0x140000000]
movzx r9d, word [rbp - 0x74]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov rax, qword [r14 + rbx*8 + 0x3482d0]
mov qword [rsp + 0x20], rax
mov r9, qword [r14 + r9*8 + 0x348340]
lea r8, str._s__s__02d__04d__02d:_02d:_02d._03d
mov edx, 0x40
lea rcx, [rbp - 0x40]
call fcn.1400c2f30
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r14d, eax
mov dword [rsp + 0x60], eax
xor ebx, ebx
mov r13d, ebx
mov ecx, edi
call fcn.1400c1ff0
mov rdi, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov r9d, r14d
lea r8, [rbp - 0x40]
lea rcx, str.__4u____s__t_4d_t_s_t_s_t_s_n
call fcn.1400c2e60
lea edi, [rax + 1]
cmp edi, 0x200
jge 0x1400c21e6
mov edi, 0x200
lea r14, [rbp]
jmp 0x1400c21f4
movsxd rcx, edi
call fcn.1400e6a30
mov r13, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movsxd rdx, edi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.__4u____s__t_4d_t_s_t_s_t_s_n
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rcx, r14
call fcn.1400c2ec0
nop
lea rdi, [rdi + 1]
cmp byte [r14 + rdi], bl
jne 0x1400c2240
cmp byte [rdi + r14 - 1], 0xa
jne 0x1400c225f
cmp byte [rdi + r14 - 2], 0xa
jne 0x1400c225f
mov byte [rdi + r14 - 1], bl
movzx r15d, byte [rsi + 0xc1]
cmp byte [rsi + 0xc2], bl
jne 0x1400c2277
cmp dword [rsi + 0x78], 4
cmovg r15d, ebx
xor r12b, r12b
mov qword [rsp + 0x70], rsi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
setne dil
mov byte [rsp + 0x78], dil
test eax, eax
jne 0x1400c22e3
cmp ebx, 0x1e
jbe 0x1400c22a2
lea ecx, [rax + 0xa]
jmp 0x1400c22b5
cmp ebx, 0x14
jbe 0x1400c22ae
mov ecx, 1
jmp 0x1400c22b5
cmp ebx, 0xa
jbe 0x1400c22bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x28
jb 0x1400c2280
test dil, dil
jne 0x1400c22e3
lea rcx, str.LOST_LOG_MESSAGE:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
jmp 0x1400c237f
cmp dword [rsi + 0x78], 0
je 0x1400c22fa
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.1400c2a40
mov r12b, 1
test r15b, r15b
je 0x1400c2362
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.1400c4060
cmp qword [rax + 0x18], 8
jb 0x1400c2315
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400c2362
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c235c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c235c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
nop
test dil, dil
je 0x1400c2370
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12b, r12b
je 0x1400c237f
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r13
call fcn.1400e6a28
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400e6b50
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret