Function at 0x1400220ac
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 0x140022182
sub ecx, 1
je 0x140022179
sub ecx, 1
je 0x140022131
cmp ecx, 1
jne 0x14002218b
mov ecx, edi
call fcn.14000c2e0
jmp 0x140022189
test edi, edi
js 0x140022170
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.14001f948
mov ecx, edi
mov dword [rbx + 8], edi
call fcn.140021c4c
mov dword [rbx + 0xc], eax
mov ecx, edi
call fcn.140022fc0
jmp 0x140022189
mov ecx, edi
call fcn.140022fe0
jmp 0x140022189
mov ecx, edi
call fcn.140022df4
mov esi, eax
xor edi, edi
mov dword [rbx], ebp
mov dword [rbx + 4], edi
cmp byte [r15 + 8], dil
je 0x14002219f
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x1400c9efc], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x1400221c3
cmp word [rax], di
jne 0x1400221c6
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 [0x1400ca0b0]
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 0x140022249
movabs r10, 0xc52927145ed9c370
call qword [0x1400a9400]
jmp 0x14002224c
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x1400ca088]
test rax, rax
je 0x140022272
movabs r10, 0xd8113e055e56ba70
mov rcx, rbx
call qword [0x1400a9400]
mov rax, qword [0x1400c94b0]
test rax, rax
je 0x14002229f
movabs r10, 0xea190e0a58da1a70
mov rdx, qword [rsp + 0xe0]
mov r8d, 0x400
mov rcx, rbx
call qword [0x1400a9400]
mov rax, qword [0x1400ca5e0]
test rax, rax
je 0x1400222be
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400a9400]
mov rax, qword [0x1400ca5f0]
test rax, rax
je 0x1400222e3
test byte [rbx + 4], 2
jne 0x1400222e3
movabs r10, 0xb398bf8a3cd18a70
mov rcx, rbx
call qword [0x1400a9400]
cmp dword [rbx + 8], edi
jl 0x140022301
cmp ebp, 3
jne 0x14002240a
mov ecx, 0x8000ffff
mov dword [rbx + 8], ecx
call fcn.140021c4c
mov dword [rbx + 0xc], eax
cmp byte [0x1400ca5c8], dil
jne 0x14002233b
mov rax, qword [0x1400ca5c0]
test rax, rax
je 0x14002232b
movabs r10, 0xdf949ec45c5ca270
call qword [0x1400a9400]
movzx eax, al
jmp 0x140022337
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140022341
test byte [rbx + 4], 2
je 0x140022370
mov rax, qword [0x1400ca5d0]
test rax, rax
je 0x1400223c6
cmp byte [0x1400ca5d9], dil
jne 0x1400223c6
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x1400a9400]
jmp 0x1400223c6
mov rax, qword [0x1400ca5d0]
mov esi, 0x800
test rax, rax
je 0x1400223a3
cmp byte [0x1400ca5d9], dil
jne 0x1400223a3
movabs r10, 0xf990b6e67ede8170
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [0x1400a9400]
cmp word [r14], di
jne 0x1400223b7
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1400213c4
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 0x1400223d5
cmp byte [0x1400ca5d8], dil
je 0x1400223f1
mov rax, qword [0x1400ca0a0]
test rax, rax
je 0x1400223f1
movabs r10, 0x85f13e9656da4870
call qword [0x1400a9400]
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.140024be4
int3