Function at 0x18000a480
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x13d8]
mov eax, 0x14c0
call fcn.180023cb0
sub rsp, rax
mov rbx, rcx
mov rsi, qword [rbp + 0x1408]
xor r15d, r15d
cmp qword [0x180039940], r15
setne dil
mov word [rbp + 0x3c0], r15w
mov byte [rbp - 0x40], r15b
mov rdx, qword [rbp + 0x1410]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.18000262c
mov r14d, eax
mov dword [rsp + 0x20], r15d
mov ecx, r15d
lea eax, [r15 + 8]
cmp dword [rdx + 8], 1
cmove ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x180039620], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1418]
test rcx, rcx
je 0x18000a527
cmp word [rcx], r15w
mov qword [rsp + 0x38], rcx
jne 0x18000a52c
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rbx
mov qword [rsp + 0x68], r15
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 [0x1800395b8]
test rax, rax
je 0x18000a589
call rax
mov qword [rbp - 0x60], rax
jmp 0x18000a58d
mov qword [rbp - 0x60], r15
mov rax, qword [0x1800395c0]
test rax, rax
je 0x18000a5a0
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395c8]
test rax, rax
je 0x18000a5bd
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d0]
test rax, rax
je 0x18000a5d0
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d8]
test rax, rax
je 0x18000a5ef
test dil, dil
jne 0x18000a5ef
test byte [rsp + 0x24], 2
jne 0x18000a5ef
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r15d
jl 0x18000a5fc
call fcn.1800029e8
int3
cmp byte [0x1800395e0], r15b
jne 0x18000a62a
mov rax, qword [0x1800395e8]
test rax, rax
je 0x18000a618
call rax
movzx ecx, al
jmp 0x18000a626
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r15d
test eax, eax
setne cl
test ecx, ecx
je 0x18000a633
test byte [rsp + 0x24], 2
mov bl, 1
je 0x18000a636
mov bl, r15b
test dil, dil
jne 0x18000a662
test bl, bl
jne 0x18000a662
mov rax, qword [0x180039608]
test rax, rax
je 0x18000a6bc
cmp byte [0x180039600], r15b
jne 0x18000a6bc
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x18000a6bc
mov esi, 0x800
mov rax, qword [0x180039608]
test rax, rax
je 0x18000a68d
cmp byte [0x180039600], r15b
jne 0x18000a68d
mov r8d, esi
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], r15w
jne 0x18000a6ab
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rbp + 0x3c0]
call fcn.180002ae8
test bl, bl
je 0x18000a6bc
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x18000a6cc
cmp byte [0x180039610], r15b
je 0x18000a6db
mov rax, qword [0x180039618]
test rax, rax
je 0x18000a6db
call rax
nop
test byte [rsp + 0x24], 1
je 0x18000a6ed
lea rcx, [rsp + 0x20]
call fcn.180002db8
int3
test dil, dil
je 0x18000a704
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x180039940]
lea rcx, [rsp + 0x20]
call fcn.18000a468
lea rcx, [rsp + 0x20]
call fcn.180002db8
int3