Function at 0x14001adb4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebp, dword [rsp + 0xb0]
mov r13, r8
mov r14, qword [rsp + 0xd0]
xor r8d, r8d
mov r15, qword [rsp + 0xe0]
mov r12, r9
mov edi, dword [rsp + 0xb8]
mov esi, r8d
mov r10d, ebp
mov word [r14], r8w
mov byte [r15], r8b
test ebp, ebp
je 0x14001afb0
sub r10d, 1
jne 0x14001afbc
mov ecx, edi
call fcn.14001b61c
mov esi, eax
mov rbx, qword [rsp + 0xf0]
mov dword [rbx + 4], edi
mov edi, 1
mov eax, edi
mov dword [rbx], ebp
lock xadd dword [0x1400c9c28], eax
add eax, edi
xor ecx, ecx
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
jne 0x140040aaa
mov rax, rcx
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rbx + 0x3c], esi
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x18], eax
xor esi, esi
mov eax, dword [rsp + 0x88]
xor edx, edx
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x20], rax
lea r8d, [rsi + 0x30]
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x40], rsi
call sub.msvcrt.dll_memset
mov rax, qword [0x1400ca018]
test rax, rax
je 0x140040ac4
lea rcx, [fcn.14001b050]
cmp rax, rcx
jne 0x140040ab8
call fcn.14001b050
mov qword [rbx + 0x78], rax
mov rax, qword [0x1400c9bf0]
test rax, rax
je 0x14001af0e
lea rcx, [fcn.14001afe0]
mov r8d, 0x400
cmp rax, rcx
mov rdx, r15
mov rcx, rbx
jne 0x140040acc
call fcn.14001afe0
mov rax, qword [0x1400cb730]
test rax, rax
jne 0x140040ad8
mov rax, qword [0x1400cb740]
test rax, rax
jne 0x140040ae7
cmp dword [rbx + 4], esi
jge 0x140040af6
cmp byte [0x1400cb708], sil
jne 0x14001af64
mov rax, qword [0x1400cb700]
test rax, rax
jne 0x140040b0d
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
mov ecx, esi
setne cl
test ecx, ecx
jne 0x14001af64
mov dil, sil
cmp byte [rsp + 0xc8], sil
jne 0x140040b3c
test dil, dil
jne 0x140040b3c
mov rax, qword [0x1400cb710]
test rax, rax
jne 0x140040b1b
cmp byte [0x1400cb718], sil
jne 0x140040b91
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, edi
call fcn.14001b634
jmp 0x14001ae1e
sub r10d, 1
jne 0x140040a5a
test edi, edi
jns 0x140040a71
mov ecx, edi
call fcn.14001b64c
jmp 0x14001ae1e
cmp r10d, 1
jne 0x14001ae20
mov ecx, edi
call fcn.14001b8b0
nop
jmp 0x14001ae1e
mov rax, qword [rsp + 0xa8]
mov edi, 0x8007029c
mov dword [rsp + 0x38], edi
mov r8, r13
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.14001ac2c
nop
jmp 0x14001afce
cmp word [rax], cx
jne 0x14001ae57
jmp 0x14001ae54
call qword [case.0x14000702c.0]
nop
jmp 0x14001aedd
mov rax, rsi
jmp 0x14001aedd
call qword [case.0x14000702c.0]
nop
jmp 0x14001af0e
mov rcx, rbx
call qword [case.0x14000702c.0]
nop
jmp 0x14001af1e
mov rcx, rbx
call qword [case.0x14000702c.0]
nop
jmp 0x14001af2e
cmp ebp, 3
je 0x140040b01
call fcn.140048d08
int3
mov dword [rbx + 4], 0x8000ffff
jmp 0x14001af37
call qword [case.0x14000702c.0]
movzx ecx, al
jmp 0x14001af5d
cmp byte [0x1400cb728], sil
jne 0x14001af8b
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14000702c.0]
nop
jmp 0x14001af8b
mov rax, qword [0x1400cb710]
mov ebp, 0x800
test rax, rax
je 0x140040b65
cmp byte [0x1400cb728], sil
jne 0x140040b65
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [case.0x14000702c.0]
cmp word [r14], si
jne 0x140040b79
mov r8, rbx
mov rdx, rbp
mov rcx, r14
call fcn.1400478a8
test dil, dil
je 0x14001af8b
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop
jmp 0x14001af8b
mov rax, qword [0x1400ca010]
test rax, rax
je 0x14001af98
call qword [case.0x14000702c.0]
nop
jmp 0x14001af98