Function at 0x180002e5c
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.180023cb0
sub rsp, rax
mov rax, qword [0x180036040]
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.180002644
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 [0x180039620], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x180002f0a
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x180002f0f
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 [0x1800395b8]
test rax, rax
je 0x180002f6b
call rax
mov qword [rbp - 0x60], rax
jmp 0x180002f6f
mov qword [rbp - 0x60], r12
mov rax, qword [0x1800395c0]
test rax, rax
je 0x180002f82
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395c8]
test rax, rax
je 0x180002f9f
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d0]
test rax, rax
je 0x180002fb2
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1800395d8]
test rax, rax
je 0x180002fcc
test byte [rsp + 0x24], 2
jne 0x180002fcc
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r12d
jge 0x1800030d7
cmp byte [0x1800395e0], r12b
jne 0x180003005
mov rax, qword [0x1800395e8]
test rax, rax
je 0x180002ff3
call rax
movzx ecx, al
jmp 0x180003001
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x18000300c
test byte [rsp + 0x24], 2
je 0x18000302f
mov rax, qword [0x180039608]
test rax, rax
je 0x180003085
cmp byte [0x180039600], r12b
jne 0x180003085
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x180003085
mov ebx, 0x800
mov rax, qword [0x180039608]
test rax, rax
je 0x18000305a
cmp byte [0x180039600], r12b
jne 0x18000305a
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], r12w
jne 0x180003078
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.180002ae8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x180003095
cmp byte [0x180039610], r12b
je 0x1800030a4
mov rax, qword [0x180039618]
test rax, rax
je 0x1800030a4
call rax
nop
test byte [rsp + 0x24], 1
jne 0x1800030cc
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.180023360
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.180002db8
nop
call fcn.1800029e8
nop
int3
jmp 0x180002e5c