Function at 0x18000b1ec
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.180032080
sub rsp, rax
mov rax, qword [0x18004d040]
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 0x18000b291
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.18000acf4
mov dword [rsp + 0x58], ebx
mov ecx, ebx
call fcn.18000b4f4
mov dword [rsp + 0x5c], eax
xor edx, edx
mov ecx, ebx
call fcn.18000ad54
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 [0x180053458], ecx
inc ecx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
xor edi, edi
test rcx, rcx
je 0x18000b2dd
cmp word [rcx], di
mov qword [rsp + 0x68], rcx
jne 0x18000b2e2
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 [0x1800533f0]
test rax, rax
je 0x18000b33d
call rax
mov qword [rbp - 0x30], rax
jmp 0x18000b341
mov qword [rbp - 0x30], rdi
mov rax, qword [0x1800533f8]
test rax, rax
je 0x18000b354
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x180053400]
test rax, rax
je 0x18000b371
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x180053408]
test rax, rax
je 0x18000b384
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x180053410]
test rax, rax
je 0x18000b39e
test byte [rsp + 0x54], 2
jne 0x18000b39e
lea rcx, [rsp + 0x50]
call rax
cmp dword [rsp + 0x58], edi
jge 0x18000b4a8
cmp byte [0x180053418], dil
jne 0x18000b3d5
mov rax, qword [0x180053420]
test rax, rax
je 0x18000b3c4
call rax
movzx ecx, al
jmp 0x18000b3d1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, edi
test eax, eax
setne cl
test ecx, ecx
je 0x18000b3dc
test byte [rsp + 0x54], 2
je 0x18000b3ff
mov rax, qword [0x180053440]
test rax, rax
je 0x18000b454
cmp byte [0x180053438], dil
jne 0x18000b454
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call rax
jmp 0x18000b454
mov ebx, 0x800
mov rax, qword [0x180053440]
test rax, rax
je 0x18000b42a
cmp byte [0x180053438], dil
jne 0x18000b42a
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call rax
cmp word [rbp + 0x3f0], di
jne 0x18000b447
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.18000ae78
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x54], 4
jne 0x18000b464
cmp byte [0x180053448], dil
je 0x18000b473
mov rax, qword [0x180053450]
test rax, rax
je 0x18000b473
call rax
nop
test byte [rsp + 0x54], 1
jne 0x18000b49d
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.180031670
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.18000b148
nop
call fcn.18000ad78
nop
int3