Function at 0x140005ad0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r13, r9
mov r10, rcx
xor edi, edi
mov r14, qword [rsp + 0xe0]
mov word [r14], di
mov rax, qword [rsp + 0xf0]
mov byte [rax], dil
mov rbx, qword [rsp + 0x100]
mov r12, qword [rsp + 0xc8]
mov esi, dword [r12]
mov dword [rbx + 8], esi
mov eax, dword [r12 + 4]
mov dword [rbx + 0xc], eax
mov ebp, edi
mov r15d, dword [rsp + 0xc0]
mov ecx, r15d
test r15d, r15d
je 0x140005bb4
sub ecx, 1
je 0x140005baa
sub ecx, 1
je 0x140005b62
cmp ecx, 1
jne 0x140005bbe
mov ecx, esi
call fcn.140004ca0
nop
jmp 0x140005bbc
test esi, esi
js 0x140005ba0
mov esi, 0x8007029c
mov dword [rsp + 0x30], esi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov rcx, r10
call fcn.14000a710
nop
mov dword [rbx + 8], esi
mov ecx, esi
call fcn.140004ee0
nop
mov dword [rbx + 0xc], eax
mov ecx, esi
call fcn.140004c80
nop
jmp 0x140005bbc
mov ecx, esi
call fcn.140004c60
nop
jmp 0x140005bbc
mov ecx, esi
call fcn.140004c40
nop
mov ebp, eax
mov dword [rbx], r15d
mov dword [rbx + 4], edi
cmp byte [r12 + 8], dil
je 0x140005bd2
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x140081218], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x140005bf6
cmp word [rax], di
jne 0x140005bf9
mov rax, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
mov dword [rbx + 0x20], eax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x38], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x40], eax
mov dword [rbx + 0x44], ebp
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], r13
mov rax, qword [rsp + 0xb8]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x48], rdi
xor eax, eax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rax
mov rax, qword [0x1400812c8]
test rax, rax
je 0x140005c7d
call rax
nop
jmp 0x140005c80
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x1400812d8]
test rax, rax
je 0x140005ca7
mov r8d, 0x400
mov rdx, qword [rsp + 0xf0]
mov rcx, rbx
call rax
nop
mov rax, qword [0x1400812d0]
test rax, rax
je 0x140005cb9
mov rcx, rbx
call rax
nop
mov rax, qword [0x140081290]
test rax, rax
je 0x140005ccb
mov rcx, rbx
call rax
nop
cmp dword [rbx + 8], edi
jl 0x140005cef
cmp r15d, 3
jne 0x140005db8
mov dword [rbx + 8], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140004ee0
nop
mov dword [rbx + 0xc], eax
cmp byte [0x140081301], dil
jne 0x140005d21
mov rax, qword [0x140081308]
test rax, rax
je 0x140005d0c
call rax
nop
movzx edi, al
jmp 0x140005d19
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
nop
test eax, eax
setne dil
test edi, edi
jne 0x140005d21
xor al, al
jmp 0x140005d23
mov al, 1
test al, al
mov rax, qword [0x140081310]
jne 0x140005d49
test rax, rax
je 0x140005d88
cmp byte [0x1400812f0], 0
jne 0x140005d88
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rax
nop
jmp 0x140005d88
test rax, rax
je 0x140005d66
cmp byte [0x1400812f0], 0
jne 0x140005d66
mov r8d, 0x800
mov rdx, r14
mov rcx, rbx
call rax
nop
cmp word [r14], 0
jne 0x140005d7e
mov r8, rbx
mov edx, 0x800
mov rcx, r14
call fcn.140004800
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp byte [0x140081300], 0
je 0x140005da0
mov rax, qword [0x1400812c0]
test rax, rax
je 0x140005da0
call rax
nop
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140006010
nop
int3