Function at 0x14008406c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.1400319a0
sub rsp, rax
mov r14, r8
mov esi, edx
mov rbx, rcx
mov r15, qword [rbp + 0x1428]
xor r13d, r13d
cmp qword [0x140176730], r13
setne dil
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x20]
call fcn.140032e00
nop
mov word [rbp + 0x3c0], r13w
mov byte [rbp - 0x40], r13b
mov rdx, qword [rbp + 0x1430]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.14009b800
mov r12d, eax
mov dword [rsp + 0x20], r13d
mov ecx, r13d
lea eax, [r13 + 8]
cmp byte [rdx + 8], r13b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x140176694], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1438]
test rcx, rcx
je 0x140084128
cmp word [rcx], r13w
mov qword [rsp + 0x38], rcx
jne 0x14008412d
mov qword [rsp + 0x38], r13
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], r12d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rbx
mov qword [rsp + 0x68], r13
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 [0x140176770]
test rax, rax
je 0x14008418c
call fcn.140107c30
mov qword [rbp - 0x60], rax
jmp 0x140084190
mov qword [rbp - 0x60], r13
mov rax, qword [0x140176790]
test rax, rax
je 0x1400841a6
lea rcx, [rsp + 0x20]
call fcn.140107c30
mov rax, qword [0x140176778]
test rax, rax
je 0x1400841c6
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call fcn.140107c30
mov rax, qword [0x140176780]
test rax, rax
je 0x1400841dc
lea rcx, [rsp + 0x20]
call fcn.140107c30
mov rax, qword [0x140176710]
test rax, rax
je 0x1400841fe
test dil, dil
jne 0x1400841fe
test byte [rsp + 0x24], 2
jne 0x1400841fe
lea rcx, [rsp + 0x20]
call fcn.140107c30
cmp dword [rsp + 0x28], r13d
jl 0x14008420b
call fcn.1400a09fc
int3
cmp byte [0x1401767aa], r13b
jne 0x140084233
mov rax, qword [0x1401767b8]
test rax, rax
je 0x140084229
call fcn.140107c30
test al, al
jmp 0x140084231
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14008423c
test byte [rsp + 0x24], 2
mov bl, 1
je 0x14008423f
mov bl, r13b
test dil, dil
jne 0x14008426e
test bl, bl
jne 0x14008426e
mov rax, qword [0x1401767c0]
test rax, rax
je 0x1400842cb
cmp byte [0x1401767a8], r13b
jne 0x1400842cb
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140107c30
jmp 0x1400842cb
mov esi, 0x800
mov rax, qword [0x1401767c0]
test rax, rax
je 0x14008429c
cmp byte [0x1401767a8], r13b
jne 0x14008429c
mov r8d, esi
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call fcn.140107c30
cmp word [rbp + 0x3c0], r13w
jne 0x1400842ba
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rbp + 0x3c0]
call fcn.140095f20
test bl, bl
je 0x1400842cb
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x1400842db
cmp byte [0x1401767a9], r13b
je 0x1400842ed
mov rax, qword [0x140176760]
test rax, rax
je 0x1400842ed
call fcn.140107c30
nop
test byte [rsp + 0x24], 1
je 0x1400842ff
lea rcx, [rsp + 0x20]
call fcn.1400a05a8
int3
test dil, dil
je 0x14008431c
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
mov rax, qword [0x140176730]
call fcn.140107c30
lea rcx, [rsp + 0x20]
call fcn.14009dbd0
lea rcx, [rsp + 0x20]
call fcn.1400a05a8
int3