Function at 0x1800127e8
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.180032080
sub rsp, rax
mov rax, qword [0x18004d040]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, 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.18000acdc
mov r15d, eax
mov dword [rsp + 0x20], 1
mov ecx, r12d
lea eax, [r12 + 8]
cmp dword [rdx + 8], 1
cmove ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x180053458], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x180012612
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x180012617
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], rbx
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 [0x1800533f0]
test rax, rax
je 0x180012673
call rax
mov qword [rbp - 0x60], rax
jmp 0x180012677
mov qword [rbp - 0x60], r12
mov rax, qword [0x1800533f8]
test rax, rax
je 0x18001268a
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x180053400]
test rax, rax
je 0x1800126a7
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x180053408]
test rax, rax
je 0x1800126ba
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x180053410]
test rax, rax
je 0x1800126d4
test byte [rsp + 0x24], 2
jne 0x1800126d4
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r12d
jge 0x1800127df
cmp byte [0x180053418], r12b
jne 0x18001270d
mov rax, qword [0x180053420]
test rax, rax
je 0x1800126fb
call rax
movzx ecx, al
jmp 0x180012709
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x180012714
test byte [rsp + 0x24], 2
je 0x180012737
mov rax, qword [0x180053440]
test rax, rax
je 0x18001278d
cmp byte [0x180053438], r12b
jne 0x18001278d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x18001278d
mov ebx, 0x800
mov rax, qword [0x180053440]
test rax, rax
je 0x180012762
cmp byte [0x180053438], r12b
jne 0x180012762
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], r12w
jne 0x180012780
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.18000ae78
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x18001279d
cmp byte [0x180053448], r12b
je 0x1800127ac
mov rax, qword [0x180053450]
test rax, rax
je 0x1800127ac
call rax
nop
test byte [rsp + 0x24], 1
jne 0x1800127d4
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.180031670
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.18000b148
nop
call fcn.18000ad78
nop
int3
jmp 0x180012564