Function at 0x14000c960
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 rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
lea r13, [0x140025cb8]
mov qword [rsp + 0x30], r13
mov rcx, r13
call sub.KERNEL32.dll_EnterCriticalSection
nop
lea rbx, [rsp + 0x98]
call fcn.140008cf0
mov r15, rax
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
xor r8d, r8d
xor edx, edx
call sub.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
inc eax
movsxd r14, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor esi, esi
mov qword [rsp + 0x48], rsi
xor ebx, ebx
test eax, eax
je 0x14000ca71
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14000cbba
lea rdi, [r14 + r14]
cmp rdi, 0x1000
jb 0x14000ca3c
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000cbae
call fcn.140014314
test rax, rax
je 0x14000cbb4
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000ca4c
test rdi, rdi
je 0x14000ca4c
mov rcx, rdi
call fcn.140014314
mov rbx, rax
mov rbp, rbx
mov qword [rsp + 0x38], rbx
lea rsi, [rdi + rbx]
mov qword [rsp + 0x48], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x40], rsi
jmp 0x14000ca76
mov rbp, qword [rsp + 0x38]
mov rcx, qword [r15]
or rcx, 1
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
mov r8, r14
mov rdx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf
mov ecx, dword [0x140026110]
mov rax, qword gs:[0x58]
mov edx, 8
mov r14, qword [rax + rcx*8]
add r14, rdx
mov rax, qword [r14]
test rax, rax
jne 0x14000caf5
lea ecx, [rax + 2]
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
mov rcx, rbp
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputws
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputwc
jmp 0x14000cafe
mov rcx, rbp
call qword [0x14001a478]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x140025ce8], 0
je 0x14000cb5d
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdi, qword [0x140025ce0]
cmp rdi, rax
jne 0x14000cb2c
cmp qword [r14], 0
je 0x14000cb5d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov rdx, rdi
mov rcx, qword [r15]
call sub.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfwprintf
mov ecx, 0xa
mov rdx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputwc
nop
test rbx, rbx
je 0x14000cb96
sub rsi, rbx
sar rsi, 1
lea rdx, [rsi + rsi]
cmp rdx, 0x1000
jb 0x14000cb8d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14000cbb4
mov rbx, rcx
mov rcx, rbx
call fcn.140014350
nop
mov rcx, r13
call sub.KERNEL32.dll_LeaveCriticalSection
nop
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400053f0
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call fcn.14000c750
int3