Function at 0x14001f1f0
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 rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea r12, [0x14003d488]
mov qword [rsp + 0x40], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r13, [rsp + 0xa8]
call fcn.14001e9c0
mov r15, rax
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0xa0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rcx, 0xffffffffffffffff
test eax, eax
cmovs eax, ecx
inc eax
movsxd r14, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x14001f310
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14001f44e
lea rdi, [r14 + r14]
cmp rdi, 0x1000
jb 0x14001f2d3
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14001f448
call fcn.14002bce8
test rax, rax
je 0x14001f41f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14001f2e7
test rdi, rdi
je 0x14001f2e5
mov rcx, rdi
call fcn.14002bce8
mov rbx, rax
jmp 0x14001f2e7
xor ebx, ebx
mov qword [rsp + 0x48], rbx
lea rsi, [rdi + rbx]
mov qword [rsp + 0x58], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14002dc50
mov qword [rsp + 0x50], rsi
mov rcx, 0xffffffffffffffff
jmp 0x14001f315
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, r14
mov rdx, rbx
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
mov r14d, 8
mov rax, qword gs:[0x58]
add r14, qword [rax]
mov rax, qword [r14]
test rax, rax
jne 0x14001f38c
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
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 0x14001f395
mov rcx, rbx
call qword [0x140032428]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x14003d538], 0
je 0x14001f3ef
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, qword [0x14003d4b0]
cmp rdi, rax
jne 0x14001f3c4
cmp qword [r14], 0
je 0x14001f3ef
mov qword [rsp + 0x20], r13
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
test rbx, rbx
je 0x14001f42f
sub rsi, rbx
sar rsi, 1
lea rdx, [rsi + rsi]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f426
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002bce0
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140019410
nop
call fcn.14001f530
int3