Function at 0x140022954
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 0x140022a2a
sub ecx, 1
je 0x140022a21
sub ecx, 1
je 0x1400229d9
cmp ecx, 1
jne 0x140022a33
mov ecx, edi
call fcn.14001e850
jmp 0x140022a31
test edi, edi
js 0x140022a18
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.140021300
mov ecx, edi
mov dword [rbx + 8], edi
call fcn.14002262c
mov dword [rbx + 0xc], eax
mov ecx, edi
call fcn.14002aee0
jmp 0x140022a31
mov ecx, edi
call fcn.14002af00
jmp 0x140022a31
mov ecx, edi
call fcn.14002aec0
mov esi, eax
xor edi, edi
mov dword [rbx], ebp
mov dword [rbx + 4], edi
cmp byte [r15 + 8], dil
je 0x140022a47
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x140050da0], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140022a6b
cmp word [rax], di
jne 0x140022a6e
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 [0x14005bc88]
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 0x140022af1
movabs r10, 0xc52927145ed9c370
call qword [0x1400374c8]
jmp 0x140022af4
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x14005bc60]
test rax, rax
je 0x140022b1a
movabs r10, 0xd8113e055e56ba70
mov rcx, rbx
call qword [0x1400374c8]
mov rax, qword [0x140040908]
test rax, rax
je 0x140022b47
movabs r10, 0xea190e0a58da1a70
mov rdx, qword [rsp + 0xe0]
mov r8d, 0x400
mov rcx, rbx
call qword [0x1400374c8]
mov rax, qword [0x14005bcf0]
test rax, rax
je 0x140022b66
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400374c8]
mov rax, qword [0x14005bd00]
test rax, rax
je 0x140022b8b
test byte [rbx + 4], 2
jne 0x140022b8b
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400374c8]
cmp dword [rbx + 8], edi
jl 0x140022ba9
cmp ebp, 3
jne 0x140022cb2
mov ecx, 0x8000ffff
mov dword [rbx + 8], ecx
call fcn.14002262c
mov dword [rbx + 0xc], eax
cmp byte [0x14005bcd0], dil
jne 0x140022be3
mov rax, qword [0x14005bcc8]
test rax, rax
je 0x140022bd3
movabs r10, 0xdf949ec45c5ca270
call qword [0x1400374c8]
movzx eax, al
jmp 0x140022bdf
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140022be9
test byte [rbx + 4], 2
je 0x140022c18
mov rax, qword [0x14005bcd8]
test rax, rax
je 0x140022c6e
cmp byte [0x14005bce1], dil
jne 0x140022c6e
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x1400374c8]
jmp 0x140022c6e
mov rax, qword [0x14005bcd8]
mov esi, 0x800
test rax, rax
je 0x140022c4b
cmp byte [0x14005bce1], dil
jne 0x140022c4b
movabs r10, 0xf990b6e67ede8170
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [0x1400374c8]
cmp word [r14], di
jne 0x140022c5f
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.14002a404
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 0x140022c7d
cmp byte [0x14005bce0], dil
je 0x140022c99
mov rax, qword [0x14005bc78]
test rax, rax
je 0x140022c99
movabs r10, 0x85f13e9656da4870
call qword [0x1400374c8]
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.140024414
int3