Function at 0x140005970
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14000b160
sub rsp, rax
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov r14, r8
mov esi, edx
mov r15, rcx
mov rdi, qword [rbp + 0x1438]
xor r12d, r12d
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rdx, qword [rbp + 0x1440]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.140005a70
mov ebx, eax
mov dword [rsp + 0x20], 1
mov ecx, r12d
lea eax, [r12 + 8]
cmp byte [rdx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x140011a80], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r15
mov qword [rsp + 0x68], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
mov rax, qword [0x1400119a8]
test rax, rax
je 0x1400057de
call qword [0x14000c3d8]
mov qword [rbp - 0x60], rax
jmp 0x1400057e2
mov qword [rbp - 0x60], r12
mov rax, qword [0x140011938]
test rax, rax
je 0x1400057f9
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
mov rax, qword [0x140011960]
test rax, rax
je 0x14000581a
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
mov rax, qword [0x140011958]
test rax, rax
je 0x140005831
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
mov rax, qword [0x140011980]
test rax, rax
je 0x14000584f
test byte [rsp + 0x24], 2
jne 0x14000584f
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
cmp dword [rsp + 0x28], r12d
jge 0x14000596a
cmp byte [0x140011920], r12b
jne 0x14000588c
mov rax, qword [0x140011918]
test rax, rax
je 0x14000587a
call qword [0x14000c3d8]
movzx ecx, al
jmp 0x140005888
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x140005893
test byte [rsp + 0x24], 2
je 0x1400058ba
mov rax, qword [0x140011928]
test rax, rax
je 0x140005914
cmp byte [0x140011940], r12b
jne 0x140005914
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
jmp 0x140005914
mov ebx, 0x800
mov rax, qword [0x140011928]
test rax, rax
je 0x1400058e9
cmp byte [0x140011940], r12b
jne 0x1400058e9
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14000c3d8]
cmp word [rbp + 0x3c0], r12w
jne 0x140005907
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400013bc
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x140005924
cmp byte [0x140011930], r12b
je 0x140005937
mov rax, qword [0x140011970]
test rax, rax
je 0x140005937
call qword [0x14000c3d8]
nop
test byte [rsp + 0x24], 1
jne 0x14000595f
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140006320
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140005f50
nop
call fcn.140005c1c
nop
jmp 0x1400056e4