Function at 0x14002b0ec
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [rsp + 0xa0]
mov r13d, edx
mov rsi, qword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0xd0]
mov r15, r9
mov edi, dword [rsp + 0xa8]
mov r12, r8
mov ebp, edx
mov r10d, r14d
mov word [rsi], dx
mov byte [rax], dl
test r14d, r14d
je 0x140040759
sub r10d, 1
je 0x14004074c
sub r10d, 1
jne 0x1400406fc
test edi, edi
jns 0x140040713
mov ecx, edi
call fcn.140026b70
mov ebp, eax
mov rbx, qword [rsp + 0xe0]
mov eax, 1
mov dword [rbx], r14d
mov dword [rbx + 4], edi
lock xadd dword [0x1400c7670], eax
inc eax
xor edi, edi
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140040766
mov rax, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
xor edx, edx
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x18], eax
lea rcx, [rbx + 0x48]
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x98]
lea r8d, [rdx + 0x30]
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x88], rax
mov dword [rbx + 0x38], r13d
mov dword [rbx + 0x3c], ebp
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x40], rdi
call sub.msvcrt.dll_memset
mov rax, qword [0x1400c7710]
test rax, rax
je 0x140040774
call qword [case.0x140002c98.0]
mov qword [rbx + 0x78], rax
mov rax, qword [0x1400c5c58]
test rax, rax
je 0x14002b237
mov rdx, qword [rsp + 0xd0]
mov r8d, 0x400
mov rcx, rbx
call qword [case.0x140002c98.0]
mov rax, qword [0x1400c7770]
test rax, rax
jne 0x14004077c
mov rax, qword [0x1400c7780]
test rax, rax
jne 0x14004078b
cmp dword [rbx + 4], edi
jge 0x14004079a
cmp byte [0x1400c7748], dil
jne 0x1400407e1
mov rax, qword [0x1400c7740]
test rax, rax
jne 0x1400407b2
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400407e1
mov eax, edi
test eax, eax
jne 0x1400407e1
mov rax, qword [0x1400c7750]
test rax, rax
jne 0x1400407c0
cmp byte [0x1400c7758], dil
jne 0x14004082c
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp r10d, 1
jne 0x14002b16e
mov ecx, edi
call fcn.1400275b0
nop
jmp 0x14002b16c
mov rax, qword [rsp + 0x98]
mov edi, 0x8007029c
mov dword [rsp + 0x38], edi
mov edx, r13d
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.14002afc0
nop
jmp 0x14002b165
mov ecx, edi
call fcn.140042f2c
nop
jmp 0x14002b16c
mov ecx, edi
call fcn.140042f10
nop
jmp 0x14002b16c
cmp word [rax], di
jne 0x14002b1a4
jmp 0x14002b1a1
mov rax, rdi
jmp 0x14002b210
mov rcx, rbx
call qword [case.0x140002c98.0]
nop
jmp 0x14002b247
mov rcx, rbx
call qword [case.0x140002c98.0]
nop
jmp 0x14002b257
cmp r14d, 3
je 0x1400407a6
call fcn.140043b8c
int3
mov dword [rbx + 4], 0x8000ffff
jmp 0x14002b260
call qword [case.0x140002c98.0]
movzx eax, al
jmp 0x14002b28d
cmp byte [0x1400c7768], dil
jne 0x14002b2a5
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x140002c98.0]
nop
jmp 0x14002b2a5
mov rax, qword [0x1400c7750]
mov ebp, 0x800
test rax, rax
je 0x14004080a
cmp byte [0x1400c7768], dil
jne 0x14004080a
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call qword [case.0x140002c98.0]
cmp word [rsi], di
jne 0x14004081d
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14004219c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop
jmp 0x14002b2a5
mov rax, qword [0x1400c7708]
test rax, rax
je 0x14002b2b2
call qword [case.0x140002c98.0]
nop
jmp 0x14002b2b2