Function at 0x140021460
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 rax, qword [rsp + 0xe0]
mov r13, r8
mov r15, qword [rsp + 0xb8]
xor r8d, r8d
mov rbx, qword [rsp + 0xf0]
mov r10, rcx
mov ebp, dword [rsp + 0xb0]
mov r12, r9
mov r14, qword [rsp + 0xd0]
mov esi, r8d
mov ecx, ebp
mov word [r14], r8w
mov byte [rax], r8b
mov edi, dword [r15]
mov dword [rbx + 8], edi
mov eax, dword [r15 + 4]
mov dword [rbx + 0xc], eax
test ebp, ebp
je 0x140021536
sub ecx, 1
je 0x14002152d
sub ecx, 1
je 0x1400214e5
cmp ecx, 1
jne 0x14002153f
mov ecx, edi
call fcn.14000b8d0
jmp 0x14002153d
test edi, edi
js 0x140021524
mov rax, qword [rsp + 0xa8]
mov edi, 0x8007029c
mov dword [rsp + 0x30], edi
mov r8, r13
mov qword [rsp + 0x28], rax
mov rcx, r10
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.14001efc4
mov ecx, edi
mov dword [rbx + 8], edi
call fcn.14002114c
mov dword [rbx + 0xc], eax
mov ecx, edi
call fcn.140022274
jmp 0x14002153d
mov ecx, edi
call fcn.140022294
jmp 0x14002153d
mov ecx, edi
call fcn.1400220a8
mov esi, eax
xor edi, edi
mov dword [rbx], ebp
mov dword [rbx + 4], edi
cmp byte [r15 + 8], dil
je 0x140021553
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x1400c8e8c], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140021577
cmp word [rax], di
jne 0x14002157a
mov rax, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rbx + 0x38], r13
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x40], eax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x90], rax
mov rax, qword [0x1400c9030]
mov dword [rbx + 0x44], esi
mov qword [rbx + 0x30], r12
mov qword [rbx + 0x48], rdi
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
test rax, rax
je 0x1400215fd
movabs r10, 0xc52927145ed9c370
call qword [0x1400a8400]
jmp 0x140021600
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x1400c9008]
test rax, rax
je 0x140021626
movabs r10, 0xd8113e055e56ba70
mov rcx, rbx
call qword [0x1400a8400]
mov rax, qword [0x1400c84b0]
test rax, rax
je 0x140021653
movabs r10, 0xea190e0a58da1a70
mov rdx, qword [rsp + 0xe0]
mov r8d, 0x400
mov rcx, rbx
call qword [0x1400a8400]
mov rax, qword [0x1400c9558]
test rax, rax
je 0x140021672
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400a8400]
mov rax, qword [0x1400c9568]
test rax, rax
je 0x140021697
test byte [rbx + 4], 2
jne 0x140021697
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400a8400]
cmp dword [rbx + 8], edi
jl 0x1400216b5
cmp ebp, 3
jne 0x1400217be
mov ecx, 0x8000ffff
mov dword [rbx + 8], ecx
call fcn.14002114c
mov dword [rbx + 0xc], eax
cmp byte [0x1400c9540], dil
jne 0x1400216ef
mov rax, qword [0x1400c9538]
test rax, rax
je 0x1400216df
movabs r10, 0xdf949ec45c5ca270
call qword [0x1400a8400]
movzx eax, al
jmp 0x1400216eb
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x1400216f5
test byte [rbx + 4], 2
je 0x140021724
mov rax, qword [0x1400c9548]
test rax, rax
je 0x14002177a
cmp byte [0x1400c9551], dil
jne 0x14002177a
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x1400a8400]
jmp 0x14002177a
mov rax, qword [0x1400c9548]
mov esi, 0x800
test rax, rax
je 0x140021757
cmp byte [0x1400c9551], dil
jne 0x140021757
movabs r10, 0xf990b6e67ede8170
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [0x1400a8400]
cmp word [r14], di
jne 0x14002176b
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1400208c4
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
test byte [rbx + 4], 4
jne 0x140021789
cmp byte [0x1400c9550], dil
je 0x1400217a5
mov rax, qword [0x1400c9020]
test rax, rax
je 0x1400217a5
movabs r10, 0x85f13e9656da4870
call qword [0x1400a8400]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140023d44
int3