Function at 0x18000b300
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.18002e5e0
sub rsp, rax
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov r12, r9
mov r15, r8
mov r14d, edx
mov rsi, rcx
mov r13, qword [rbp + 0x1470]
mov rcx, qword [rbp + 0x1478]
mov qword [rsp + 0x40], rcx
xor edx, edx
mov word [rbp + 0x3f0], dx
mov byte [rbp - 0x10], dl
mov rdi, qword [rbp + 0x1480]
mov ebx, dword [rdi]
mov dword [rsp + 0x58], ebx
mov eax, dword [rdi + 4]
mov dword [rsp + 0x5c], eax
test ebx, ebx
js 0x18000b3a5
mov ebx, 0x8007029c
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
mov edx, r14d
mov rcx, rsi
call fcn.18000ae08
mov dword [rsp + 0x58], ebx
mov ecx, ebx
call fcn.18000b608
mov dword [rsp + 0x5c], eax
xor edx, edx
mov ecx, ebx
call fcn.18000ae68
mov ebx, eax
mov dword [rsp + 0x50], 2
mov ecx, edx
mov eax, 8
cmp dword [rdi + 8], 1
cmove ecx, eax
mov dword [rsp + 0x54], ecx
lea ecx, [rax - 7]
lock xadd dword [0x18004df38], ecx
inc ecx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
xor edi, edi
test rcx, rcx
je 0x18000b3f1
cmp word [rcx], di
mov qword [rsp + 0x68], rcx
jne 0x18000b3f6
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x6c], ebx
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x68], rdi
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 [0x18004ded0]
test rax, rax
je 0x18000b451
call rax
mov qword [rbp - 0x30], rax
jmp 0x18000b455
mov qword [rbp - 0x30], rdi
mov rax, qword [0x18004ded8]
test rax, rax
je 0x18000b468
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18004dee0]
test rax, rax
je 0x18000b485
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18004dee8]
test rax, rax
je 0x18000b498
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18004def0]
test rax, rax
je 0x18000b4b2
test byte [rsp + 0x54], 2
jne 0x18000b4b2
lea rcx, [rsp + 0x50]
call rax
cmp dword [rsp + 0x58], edi
jge 0x18000b5bc
cmp byte [0x18004def8], dil
jne 0x18000b4e9
mov rax, qword [0x18004df00]
test rax, rax
je 0x18000b4d8
call rax
movzx ecx, al
jmp 0x18000b4e5
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, edi
test eax, eax
setne cl
test ecx, ecx
je 0x18000b4f0
test byte [rsp + 0x54], 2
je 0x18000b513
mov rax, qword [0x18004df20]
test rax, rax
je 0x18000b568
cmp byte [0x18004df18], dil
jne 0x18000b568
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call rax
jmp 0x18000b568
mov ebx, 0x800
mov rax, qword [0x18004df20]
test rax, rax
je 0x18000b53e
cmp byte [0x18004df18], dil
jne 0x18000b53e
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call rax
cmp word [rbp + 0x3f0], di
jne 0x18000b55b
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.18000af8c
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x54], 4
jne 0x18000b578
cmp byte [0x18004df28], dil
je 0x18000b587
mov rax, qword [0x18004df30]
test rax, rax
je 0x18000b587
call rax
nop
test byte [rsp + 0x54], 1
jne 0x18000b5b1
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.18002dc90
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.18000b25c
nop
call fcn.18000ae8c
nop
int3