Function at 0x140006bd0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbx, rcx
lea r12, [rax + 0x10]
mov qword [rax - 0x68], r12
call fcn.140006480
mov r15, rax
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x28], r12
xor ebp, ebp
mov qword [rsp + 0x20], rbp
mov r9, rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
add eax, 1
movsxd r14, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
je 0x140006cc9
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140006e50
lea rsi, [r14 + r14]
cmp rsi, 0x1000
jb 0x140006c92
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140006e4a
call fcn.140013b08
test rax, rax
je 0x140006e2c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006ca7
test rsi, rsi
je 0x140006ca4
mov rcx, rsi
call fcn.140013b08
mov rdi, rax
jmp 0x140006ca7
mov rdi, rbp
mov qword [rsp + 0x40], rdi
lea rbx, [rsi + rdi]
mov qword [rsp + 0x50], rbx
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.140015af0
mov qword [rsp + 0x48], rbx
jmp 0x140006cce
mov rdi, qword [rsp + 0x40]
mov rcx, qword [r15]
or rcx, 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
mov r9, qword [rsp + 0xa0]
mov r8, r14
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [0x14002591c]
mov qword [rsp + 0x38], rax
mov ebx, ebp
mov eax, 1
xchg dword [0x14002591c], eax
test eax, eax
je 0x140006d3f
nop dword [rax]
mov eax, ebx
inc ebx
and eax, 0x3ff
jne 0x140006d30
call sub.KERNEL32.dll_SwitchToThread
mov eax, 1
xchg dword [0x14002591c], eax
test eax, eax
jne 0x140006d20
mov esi, 8
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov rax, qword [rsi]
test rax, rax
jne 0x140006d8d
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
jmp 0x140006d9b
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [0x14001a418]
cmp dword [0x140025918], 0
je 0x140006df1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, qword [0x140025920]
cmp rdi, rax
jne 0x140006dc1
cmp qword [rsi], 0
je 0x140006df1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0xa0]
mov rdx, rdi
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfwprintf]
mov ecx, 0xa
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
nop
nop
mov dword [0x14002591c], ebp
test rbx, rbx
je 0x140006e3b
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006e33
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006e33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140013b00
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400013c0
int3
call fcn.140007010
int3