Function at 0x18000c480
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1408]
mov eax, 0x1508
call fcn.18003fab0
sub rsp, rax
mov rax, qword [0x18007f080]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov r13, r9
mov r12, r8
mov r15d, edx
mov r14, rcx
mov rcx, qword [rbp + 0x1470]
mov qword [rsp + 0x40], rcx
mov rdx, qword [rbp + 0x1478]
mov qword [rsp + 0x48], rdx
xor ebx, ebx
mov word [rbp + 0x3f0], bx
mov byte [rbp - 0x10], bl
mov rsi, qword [rbp + 0x1480]
mov edi, dword [rsi]
mov dword [rsp + 0x58], edi
mov eax, dword [rsi + 4]
mov dword [rsp + 0x5c], eax
test edi, edi
js 0x18000c258
mov edi, 0x8007029c
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov edx, r15d
mov rcx, r14
call fcn.18000bc20
mov dword [rsp + 0x58], edi
mov ecx, edi
call fcn.18000c490
mov dword [rsp + 0x5c], eax
mov ecx, edi
call fcn.18000bc90
mov edi, eax
mov dword [rsp + 0x50], 2
mov ecx, ebx
mov eax, 8
cmp dword [rsi + 8], 1
cmove ecx, eax
mov dword [rsp + 0x54], ecx
mov ecx, 1
lock xadd dword [0x180085540], ecx
inc ecx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
test rcx, rcx
je 0x18000c2a4
cmp word [rcx], bx
mov qword [rsp + 0x68], rcx
jne 0x18000c2a9
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r15d
mov dword [rbp - 0x6c], edi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r13
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x68], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], rax
mov rax, qword [0x1800854d8]
test rax, rax
je 0x18000c309
call rax
mov qword [rbp - 0x30], rax
jmp 0x18000c30d
mov qword [rbp - 0x30], rbx
mov rax, qword [0x1800854e0]
test rax, rax
je 0x18000c320
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x1800854e8]
test rax, rax
je 0x18000c33d
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x1800854f0]
test rax, rax
je 0x18000c350
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x1800854f8]
test rax, rax
je 0x18000c36a
test byte [rsp + 0x54], 2
jne 0x18000c36a
lea rcx, [rsp + 0x50]
call rax
cmp dword [rsp + 0x58], ebx
jge 0x18000c472
cmp byte [0x180085500], bl
jne 0x18000c39e
mov rax, qword [0x180085508]
test rax, rax
je 0x18000c38f
call rax
movzx ebx, al
jmp 0x18000c39a
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne bl
test ebx, ebx
je 0x18000c3a5
test byte [rsp + 0x54], 2
je 0x18000c3c8
mov rax, qword [0x180085528]
test rax, rax
je 0x18000c41e
cmp byte [0x180085520], 0
jne 0x18000c41e
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call rax
jmp 0x18000c41e
mov rax, qword [0x180085528]
test rax, rax
je 0x18000c3f1
cmp byte [0x180085520], 0
jne 0x18000c3f1
mov r8d, 0x800
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call rax
cmp word [rbp + 0x3f0], 0
jne 0x18000c411
lea r8, [rsp + 0x50]
mov edx, 0x800
lea rcx, [rbp + 0x3f0]
call fcn.18000bdf0
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x54], 4
jne 0x18000c42e
cmp byte [0x180085530], 0
je 0x18000c43d
mov rax, qword [0x180085538]
test rax, rax
je 0x18000c43d
call rax
nop
test byte [rsp + 0x54], 1
jne 0x18000c467
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.18003efb0
add rsp, 0x1508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x50]
call fcn.18000c0d0
nop
call fcn.18000bcc0
nop
int3
jmp 0x18000c1b0