Function at 0x140082a20
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x29a0]
mov eax, 0x2aa0
call fcn.1400a3300
sub rsp, rax
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rbp + 0x2990], rax
mov r13, r9
mov r12, r8
mov r15d, edx
mov r14, rcx
mov rax, qword [rbp + 0x2a08]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x2a10]
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1400a5140
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x64]
movzx edx, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
movzx r10d, word [rsp + 0x5e]
movzx r11d, word [rsp + 0x5a]
movzx r9d, word [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str.__04d__02d__02d__02d:_02d:_02d._03d_
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400823d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140082b12
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400049c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [r14 + 0x28]
call fcn.140008c60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140082b8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082b89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f29
call fcn.1400a2410
xor eax, eax
cmp r15d, 3
jne 0x140082b9f
lea rsi, str.DEBUG
jmp 0x140082bcc
cmp r15d, 4
jne 0x140082bae
lea rsi, str.INFO
jmp 0x140082bcc
cmp r15d, 2
jne 0x140082bbd
lea rsi, str.WARN
jmp 0x140082bcc
lea rsi, str.ERROR
cmp r15d, 1
cmovne rsi, rax
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140082440
mov r15, rax
cmp qword [rax + 0x18], 8
jb 0x140082be6
mov r15, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rbp + 0x2a00]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov r9d, eax
lea r8, str._TID:_5d___5s____s___s:_d_
mov edx, 0x400
lea rcx, [rbp + 0x190]
call fcn.1400823d0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140082c62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082c5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f2f
call fcn.1400a2410
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x190]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140082c80
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x58]
call fcn.1400049c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [r14 + 0x28]
call fcn.140008c60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140082cff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082cfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f29
call fcn.1400a2410
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x990]
call fcn.1400a5140
call fcn.14000d960
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x1000
mov r8d, r9d
lea rdx, [rbp + 0x990]
mov rcx, qword [rax]
call fcn.1400aea90
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x990]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140082d63
mov r8, rbx
lea rdx, [rbp + 0x990]
lea rcx, [rsp + 0x58]
call fcn.1400049c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [r14 + 0x28]
call fcn.140008c60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140082de3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082dde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f29
call fcn.1400a2410
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 1
lea rdx, [0x140113214]
lea rcx, [rsp + 0x58]
call fcn.1400049c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [r14 + 0x28]
call fcn.140008c60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140082e6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082f29
call fcn.1400a2410
test byte [r14 + 0x4c], 0x10
je 0x140082ec2
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x78], esi
mov r8d, dword [r14 + 0x38]
add r8d, r8d
lea rdx, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x140082ea4
mov rdx, qword [r14 + 0x28]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test byte [r14 + 0x4c], 1
je 0x140082ede
lea rcx, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x140082ed8
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x140082eed
mov rax, qword [r14 + 0x28]
mov qword [r14 + 0x38], rsi
mov word [rax], si
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rbp + 0x2990]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x2ae8]
add rsp, 0x2aa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a92b0
int3
call fcn.1400a92b0
int3