Function at 0x1400ea670
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r15, r8
mov edi, edx
mov rsi, rcx
mov r12, qword [rbp + 0x268]
mov rcx, qword [rcx + 0xd8]
test rcx, rcx
je 0x1400ea700
mov qword [rbp - 0x80], r12
mov eax, dword [rbp + 0x260]
mov dword [rbp - 0x70], eax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x70], r8
mov dword [rbp - 0x78], edx
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x78]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test al, al
je 0x1400ea92c
cmp dword [rsi + 0x98], edi
jl 0x1400ea92c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx r10d, word [rsp + 0x60]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
lea r14, [0x140000000]
movzx r9d, word [rsp + 0x64]
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 + 0x348760]
mov qword [rsp + 0x20], rax
mov r9, qword [r14 + r9*8 + 0x3487d0]
lea r8, str._s__s__02d__04d__02d:_02d:_02d._03d
mov edx, 0x40
lea rcx, [rbp - 0x60]
call fcn.1400c2f30
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r14d, eax
mov dword [rbp - 0x78], 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 - 0x60]
lea rcx, str.__4d____s__t_4d_t_s_t_s_t_s_n
call fcn.1400c2e60
lea edi, [rax + 1]
movsxd rcx, edi
cmp rcx, 0x200
jae 0x1400ea7f3
mov edi, 0x200
lea r14, [rbp - 0x20]
jmp 0x1400ea7fe
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 [rbp - 0x78]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.__4d____s__t_4d_t_s_t_s_t_s_n
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rcx, r14
call fcn.1400c2ec0
nop dword [rax + rax]
lea rdi, [rdi + 1]
cmp byte [r14 + rdi], bl
jne 0x1400ea850
cmp byte [rdi + r14 - 1], 0xa
jne 0x1400ea86f
cmp byte [rdi + r14 - 2], 0xa
jne 0x1400ea86f
mov byte [rdi + r14 - 1], bl
xor r15b, r15b
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
setne dil
mov byte [rsp + 0x78], dil
test eax, eax
jne 0x1400ea8d7
cmp ebx, 0x1e
jbe 0x1400ea899
lea ecx, [rax + 0xa]
jmp 0x1400ea8ac
cmp ebx, 0x14
jbe 0x1400ea8a5
mov ecx, 1
jmp 0x1400ea8ac
cmp ebx, 0xa
jbe 0x1400ea8b2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x28
jb 0x1400ea877
test dil, dil
jne 0x1400ea8d7
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 0x1400ea924
cmp dword [rsi + 0x98], 0
je 0x1400ea8f1
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.1400eb010
mov r15b, 1
cmp byte [rsi + 0xe1], 0
je 0x1400ea904
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
test dil, dil
je 0x1400ea912
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15b, r15b
je 0x1400ea924
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r13
call fcn.1400e6a28
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400e6b50
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret