Function at 0x140005b20
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 0x140005c04
sub ecx, 1
je 0x140005bfa
sub ecx, 1
je 0x140005bb2
cmp ecx, 1
jne 0x140005c0e
mov ecx, esi
call fcn.140004ca0
nop
jmp 0x140005c0c
test esi, esi
js 0x140005bf0
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.140009f00
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 0x140005c0c
mov ecx, esi
call fcn.140004c60
nop
jmp 0x140005c0c
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 0x140005c22
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x140070110], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x140005c46
cmp word [rax], di
jne 0x140005c49
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 [0x1400701c8]
test rax, rax
je 0x140005ccd
call rax
nop
jmp 0x140005cd0
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x1400701d8]
test rax, rax
je 0x140005cf7
mov r8d, 0x400
mov rdx, qword [rsp + 0xf0]
mov rcx, rbx
call rax
nop
mov rax, qword [0x1400701d0]
test rax, rax
je 0x140005d09
mov rcx, rbx
call rax
nop
mov rax, qword [0x140070190]
test rax, rax
je 0x140005d1b
mov rcx, rbx
call rax
nop
cmp dword [rbx + 8], edi
jl 0x140005d3f
cmp r15d, 3
jne 0x140005e08
mov dword [rbx + 8], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140004ee0
nop
mov dword [rbx + 0xc], eax
cmp byte [0x140070201], dil
jne 0x140005d71
mov rax, qword [0x140070208]
test rax, rax
je 0x140005d5c
call rax
nop
movzx edi, al
jmp 0x140005d69
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
nop
test eax, eax
setne dil
test edi, edi
jne 0x140005d71
xor al, al
jmp 0x140005d73
mov al, 1
test al, al
mov rax, qword [0x140070210]
jne 0x140005d99
test rax, rax
je 0x140005dd8
cmp byte [0x1400701f0], 0
jne 0x140005dd8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rax
nop
jmp 0x140005dd8
test rax, rax
je 0x140005db6
cmp byte [0x1400701f0], 0
jne 0x140005db6
mov r8d, 0x800
mov rdx, r14
mov rcx, rbx
call rax
nop
cmp word [r14], 0
jne 0x140005dce
mov r8, rbx
mov edx, 0x800
mov rcx, r14
call fcn.1400048d0
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp byte [0x140070200], 0
je 0x140005df0
mov rax, qword [0x1400701c0]
test rax, rax
je 0x140005df0
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.140006060
nop
int3