Function at 0x140022e80
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 ebp, dword [rsp + 0xa0]
mov r13d, edx
mov r14, qword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0xd0]
mov r15, r9
mov edi, dword [rsp + 0xa8]
mov r12, r8
mov esi, edx
mov r10d, ebp
mov word [r14], dx
mov byte [rax], dl
test ebp, ebp
je 0x140022f3c
sub r10d, 1
je 0x140022f33
sub r10d, 1
je 0x140022ef3
cmp r10d, 1
jne 0x140022f45
mov ecx, edi
call fcn.140016fd0
jmp 0x140022f43
test edi, edi
js 0x140022f2a
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.14002361c
mov ecx, edi
call fcn.1400232f0
jmp 0x140022f43
mov ecx, edi
call fcn.140023308
jmp 0x140022f43
mov ecx, edi
call fcn.1400232d8
mov esi, eax
mov rbx, qword [rsp + 0xe0]
mov dword [rbx + 4], edi
mov edi, 1
mov eax, edi
mov dword [rbx], ebp
lock xadd dword [0x140054528], eax
add eax, edi
xor ecx, ecx
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x140022f7a
cmp word [rax], cx
jne 0x140022f7d
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 rax, qword [rsp + 0x90]
xor edx, edx
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x80], rax
lea r8d, [rsi + 0x30]
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x40], rsi
call sub.msvcrt.dll_memset
mov rax, qword [0x140039920]
test rax, rax
je 0x140022fe9
call qword [0x14002fd18]
jmp 0x140022fec
mov rax, rsi
mov qword [rbx + 0x78], rax
mov rax, qword [0x140039910]
test rax, rax
je 0x140023013
mov rdx, qword [rsp + 0xd0]
mov r8d, 0x400
mov rcx, rbx
call qword [0x14002fd18]
mov rax, qword [0x1400546d0]
test rax, rax
je 0x140023028
mov rcx, rbx
call qword [0x14002fd18]
mov rax, qword [0x1400546e0]
test rax, rax
je 0x14002303d
mov rcx, rbx
call qword [0x14002fd18]
cmp dword [rbx + 4], esi
jl 0x140023052
cmp ebp, 3
jne 0x14002313e
mov dword [rbx + 4], 0x8000ffff
cmp byte [0x1400546b0], sil
jne 0x140023086
mov rax, qword [0x1400546a8]
test rax, rax
je 0x140023072
call qword [0x14002fd18]
movzx ecx, al
jmp 0x14002307f
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 0x140023086
mov dil, sil
cmp byte [rsp + 0xb8], sil
jne 0x1400230ba
test dil, dil
jne 0x1400230ba
mov rax, qword [0x1400546b8]
test rax, rax
je 0x140023105
cmp byte [0x1400546c1], sil
jne 0x140023105
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x14002fd18]
jmp 0x140023105
mov rax, qword [0x1400546b8]
mov ebp, 0x800
test rax, rax
je 0x1400230e3
cmp byte [0x1400546c1], sil
jne 0x1400230e3
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [0x14002fd18]
cmp word [r14], si
jne 0x1400230f7
mov r8, rbx
mov rdx, rbp
mov rcx, r14
call fcn.14002279c
test dil, dil
je 0x140023105
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x1400546c0], sil
je 0x140023120
mov rax, qword [0x140039918]
test rax, rax
je 0x140023120
call qword [0x14002fd18]
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
call fcn.1400185e0
int3