Function at 0x1800020c4
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.1800221b0
sub rsp, rax
mov rax, qword [0x180034040]
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.1800021dc
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 [0x180037350], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x180001eee
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x180001ef3
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 [0x1800372e8]
test rax, rax
je 0x180001f4f
call rax
mov qword [rbp - 0x60], rax
jmp 0x180001f53
mov qword [rbp - 0x60], r12
mov rax, qword [0x1800372f0]
test rax, rax
je 0x180001f66
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800372f8]
test rax, rax
je 0x180001f83
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x180037300]
test rax, rax
je 0x180001f96
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x180037308]
test rax, rax
je 0x180001fb0
test byte [rsp + 0x24], 2
jne 0x180001fb0
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r12d
jge 0x1800020bb
cmp byte [0x180037310], r12b
jne 0x180001fe9
mov rax, qword [0x180037318]
test rax, rax
je 0x180001fd7
call rax
movzx ecx, al
jmp 0x180001fe5
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x180001ff0
test byte [rsp + 0x24], 2
je 0x180002013
mov rax, qword [0x180037338]
test rax, rax
je 0x180002069
cmp byte [0x180037330], r12b
jne 0x180002069
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x180002069
mov ebx, 0x800
mov rax, qword [0x180037338]
test rax, rax
je 0x18000203e
cmp byte [0x180037330], r12b
jne 0x18000203e
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], r12w
jne 0x18000205c
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.180002378
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x180002079
cmp byte [0x180037340], r12b
je 0x180002088
mov rax, qword [0x180037348]
test rax, rax
je 0x180002088
call rax
nop
test byte [rsp + 0x24], 1
jne 0x1800020b0
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.180021870
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.180002648
nop
call fcn.180002278
nop
int3
jmp 0x180001e40