Function at 0x1400811d0
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 - 0x49d0]
mov eax, 0x4ad0
call fcn.1400a3420
sub rsp, rax
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x49c0], rax
mov qword [rsp + 0x50], r9
mov rbx, r8
mov r12d, edx
mov r14, rcx
mov r13, qword [rbp + 0x4a38]
mov rax, qword [rbp + 0x4a40]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400a5270
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 + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
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 - 0x50]
call fcn.140080e70
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp - 0x50]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400812c0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004fe0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [r14 + 0x28]
call fcn.140008370
nop
lea rcx, [rsp + 0x60]
call fcn.1400053f0
cmp r12d, 3
jne 0x140081315
lea r15, str.DEBUG
xor eax, eax
jmp 0x14008134b
cmp r12d, 4
jne 0x140081326
lea r15, str.INFO
xor eax, eax
jmp 0x14008134b
cmp r12d, 2
jne 0x140081337
lea r15, str.WARN
xor eax, eax
jmp 0x14008134b
lea r15, str.ERROR
cmp r12d, 1
mov eax, 0
cmovne r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140081360
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140004fe0
nop
lea r8, [rbp - 0x78]
mov r11, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x60]
cmp rbx, 8
cmovae r8, r11
mov r10, qword [rbp - 0x68]
test r10, r10
je 0x1400813c7
lea rcx, [r10 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea rdx, [r8 + rax*2]
cmp word [rdx], 0x5c
je 0x1400813bf
nop dword [rax]
cmp rdx, r8
je 0x1400813c7
sub rdx, 2
cmp word [rdx], 0x5c
jne 0x1400813b0
sub rdx, r8
sar rdx, 1
jmp 0x1400813ca
mov rdx, rdi
lea r9, [rbp - 0x78]
cmp rbx, 8
cmovae r9, r11
test r10, r10
je 0x14008140c
lea rcx, [r10 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea r8, [r9 + rax*2]
cmp word [r8], 0x2e
je 0x140081404
cmp r8, r9
je 0x14008140c
sub r8, 2
cmp word [r8], 0x2e
jne 0x1400813f4
sub r8, r9
sar r8, 1
jmp 0x14008140f
mov r8, rdi
lea rcx, [rdx + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
cmp r10, rcx
jb 0x1400816cf
sub r8, rdx
dec r8
sub r10, rcx
cmp r10, r8
cmovb r8, r10
lea rax, [rbp - 0x78]
cmp rbx, 8
cmovae rax, r11
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x60]
call fcn.140004fe0
nop
lea rcx, [rbp - 0x78]
call fcn.1400053f0
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rbp + 0x4a30]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
mov r9d, eax
lea r8, str._TID:_5d___5s____s___s:_d_
mov edx, 0x400
lea rcx, [rbp + 0x1c0]
call fcn.140080e70
lea rcx, [rsp + 0x60]
call fcn.1400053f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x1c0]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400814e0
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x60]
call fcn.140004fe0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [r14 + 0x28]
call fcn.140008370
nop
lea rcx, [rsp + 0x60]
call fcn.1400053f0
xor edx, edx
mov r8d, 0x4000
lea rcx, [rbp + 0x9c0]
call fcn.1400a5270
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r9, r13
mov edx, 0x2000
mov r8d, edx
lea rcx, [rbp + 0x9c0]
call fcn.1400820b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x9c0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140081574
mov r8, rdi
lea rdx, [rbp + 0x9c0]
lea rcx, [rsp + 0x60]
call fcn.140004fe0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [r14 + 0x28]
call fcn.140008370
nop
lea rcx, [rsp + 0x60]
call fcn.1400053f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 1
lea rdx, [0x140114834]
lea rcx, [rsp + 0x60]
call fcn.140004fe0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [r14 + 0x28]
call fcn.140008370
nop
lea rcx, [rsp + 0x60]
call fcn.1400053f0
test byte [r14 + 0x4c], 0x10
je 0x140081666
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ebx, ebx
mov dword [rbp - 0x80], ebx
mov r8d, dword [r14 + 0x38]
add r8d, r8d
lea rdx, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x140081647
mov rdx, qword [r14 + 0x28]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x140081668
xor ebx, ebx
test byte [r14 + 0x4c], 1
je 0x140081684
lea rcx, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x14008167e
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [r14 + 0x28]
cmp qword [r14 + 0x40], 8
jb 0x140081693
mov rax, qword [r14 + 0x28]
mov qword [r14 + 0x38], rbx
mov word [rax], bx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rbp + 0x49c0]
xor rcx, rsp
call fcn.1400a24f0
mov rbx, qword [rsp + 0x4b18]
add rsp, 0x4ad0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007f900
nop
int3