Function at 0x1800026ec
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.180022e50
sub rsp, rax
mov rax, qword [0x180034040]
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 0x180002791
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.1800021f4
mov dword [rsp + 0x58], ebx
mov ecx, ebx
call fcn.1800029f4
mov dword [rsp + 0x5c], eax
xor edx, edx
mov ecx, ebx
call fcn.180002254
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 [0x180037350], ecx
inc ecx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
xor edi, edi
test rcx, rcx
je 0x1800027dd
cmp word [rcx], di
mov qword [rsp + 0x68], rcx
jne 0x1800027e2
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 [0x1800372e8]
test rax, rax
je 0x18000283d
call rax
mov qword [rbp - 0x30], rax
jmp 0x180002841
mov qword [rbp - 0x30], rdi
mov rax, qword [0x1800372f0]
test rax, rax
je 0x180002854
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x1800372f8]
test rax, rax
je 0x180002871
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x180037300]
test rax, rax
je 0x180002884
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x180037308]
test rax, rax
je 0x18000289e
test byte [rsp + 0x54], 2
jne 0x18000289e
lea rcx, [rsp + 0x50]
call rax
cmp dword [rsp + 0x58], edi
jge 0x1800029a8
cmp byte [0x180037310], dil
jne 0x1800028d5
mov rax, qword [0x180037318]
test rax, rax
je 0x1800028c4
call rax
movzx ecx, al
jmp 0x1800028d1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, edi
test eax, eax
setne cl
test ecx, ecx
je 0x1800028dc
test byte [rsp + 0x54], 2
je 0x1800028ff
mov rax, qword [0x180037338]
test rax, rax
je 0x180002954
cmp byte [0x180037330], dil
jne 0x180002954
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call rax
jmp 0x180002954
mov ebx, 0x800
mov rax, qword [0x180037338]
test rax, rax
je 0x18000292a
cmp byte [0x180037330], dil
jne 0x18000292a
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call rax
cmp word [rbp + 0x3f0], di
jne 0x180002947
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.180002378
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x54], 4
jne 0x180002964
cmp byte [0x180037340], dil
je 0x180002973
mov rax, qword [0x180037348]
test rax, rax
je 0x180002973
call rax
nop
test byte [rsp + 0x54], 1
jne 0x18000299d
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.180022510
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.180002648
nop
call fcn.180002278
nop
int3