Function at 0x140013ee0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rsi
push rdi
push r14
push r15
mov eax, 0x10e0
call fcn.140016e40
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140024018]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
mov r15, r9
mov rsi, r8
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov r14, qword [rsp + 0x1130]
mov qword [rsp + 0x58], r14
mov eax, dword [rcx + 0xc8]
test eax, eax
je 0x1400143bf
cmp edx, eax
ja 0x1400143bf
lea rdx, [rsp + 0x1118]
lea rcx, [0x140024618]
call fcn.140006370
test rax, rax
je 0x1400143bf
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0xd0]
call sub.VCRUNTIME140.dll_memset
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov rbx, rdx
sar rbx, 0xb
mov rax, rbx
shr rax, 0x3f
add rbx, rax
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3e8
sub rbx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x40], rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x88]
call fcn.140015f50
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140015f50
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea r9, [rsp + 0xa8]
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x200
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_wcsftime]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xd0]
lea r8, str._s._03d_
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call fcn.140016050
mov rdx, qword [0x140024618]
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400140a4
mov ecx, dword [rsp + 0x1118]
cmp dword [rax + 0x20], ecx
jae 0x14001408e
mov rax, qword [rax + 0x10]
jmp 0x140014094
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140014083
cmp rbx, rdx
je 0x1400140a4
cmp ecx, dword [rbx + 0x20]
jae 0x1400140f0
lea rax, [rsp + 0x1118]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x140019820]
lea rcx, [0x140024618]
call fcn.140011700
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [0x140024618]
call fcn.140011e80
mov rbx, qword [rsp + 0x30]
lea r8, [rbx + 0x28]
cmp qword [r8 + 0x18], 8
jb 0x1400140fe
mov r8, qword [r8]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140019e2c]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rsi
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140019e2c]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae r8, qword [rsp + 0x88]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140019e2c]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r8, qword [rsp + 0x68]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140019e34]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov qword [rsp + 0x48], rax
mov r8, r15
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140019e3c]
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
nop
call fcn.1400072e0
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], r14
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xd0]
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
mov dword [rsp + 0x30], eax
jmp 0x14001427f
movsxd r15, eax
mov eax, 2
mul r15
cmovo rax, rcx
mov rcx, rax
call fcn.14001670c
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140014319
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
call fcn.1400072e0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xd0]
mov r8, r15
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf_s]
mov rcx, rdi
call fcn.140002490
lea rcx, [rdi + 0x108]
lea rdx, [rsp + 0x30]
call fcn.140015e80
cmp dword [rdi + 0xcc], 0
je 0x140014303
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rdi + 0xf0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rdi
call fcn.140002600
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140014361
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001435c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001435c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016704
movdqa xmm0, xmmword [0x14001cd30]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x1400143bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400143ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400143ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016704
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1400163f0
add rsp, 0x10e0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret