Function at 0x140012390
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.1400271d0
sub rsp, rax
mov r14, rcx
mov r15, qword [rbp + 0x1418]
xor r12d, r12d
cmp qword [0x140035d48], r12
je 0x1400123d9
cmp byte [0x140035516], r12b
mov sil, 1
jne 0x1400123dc
mov sil, r12b
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rbx, qword [rbp + 0x1420]
mov ecx, dword [rbx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x2c], eax
call fcn.1400029c4
mov edi, eax
mov dword [rsp + 0x20], r12d
mov ecx, r12d
mov eax, 8
cmp byte [rbx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x140035dbc], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r12
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
lea rax, str.onecoreinternal_sdkincwilopensourcewil_result_macros.h
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x1817
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x140035d90]
test rax, rax
je 0x1400124a7
movabs r10, 0xc52927145ed9c370
call qword [0x14002acf0]
mov qword [rbp - 0x60], rax
jmp 0x1400124ab
mov qword [rbp - 0x60], r12
mov rax, qword [0x140035cf0]
test rax, rax
je 0x1400124cc
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
mov rax, qword [0x140035d30]
test rax, rax
je 0x1400124f7
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
mov rax, qword [0x140035d20]
test rax, rax
je 0x140012518
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
mov rax, qword [0x140035d58]
test rax, rax
je 0x140012545
test sil, sil
jne 0x140012545
test byte [rsp + 0x24], 2
jne 0x140012545
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
cmp dword [rsp + 0x28], r12d
jl 0x140012552
call fcn.140003fe8
int3
cmp byte [0x140035cc8], r12b
jne 0x140012594
mov rax, qword [0x140035cb8]
test rax, rax
je 0x14001257c
movabs r10, 0xdf949ec45c5ca270
call qword [0x14002acf0]
movzx ecx, al
jmp 0x140012590
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x1400125a6
cmp byte [0x140035514], r12b
je 0x1400125a6
test byte [rsp + 0x24], 2
mov bl, 1
je 0x1400125a9
mov bl, r12b
test sil, sil
jne 0x1400125eb
test bl, bl
jne 0x1400125eb
mov rax, qword [0x140035cd0]
test rax, rax
je 0x140012659
cmp byte [0x140035d00], r12b
jne 0x140012659
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
jmp 0x140012659
mov edi, 0x800
mov rax, qword [0x140035cd0]
test rax, rax
je 0x140012624
cmp byte [0x140035d00], r12b
jne 0x140012624
movabs r10, 0xf990b6e67ede8170
mov r8d, edi
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14002acf0]
cmp word [rbp + 0x3c0], r12w
jne 0x140012642
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x3c0]
call fcn.1400024f0
test bl, bl
je 0x140012659
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
test byte [rsp + 0x24], 4
jne 0x140012669
cmp byte [0x140035cd8], r12b
je 0x140012686
mov rax, qword [0x140035d40]
test rax, rax
je 0x140012686
movabs r10, 0x85f13e9656da4870
call qword [0x14002acf0]
nop
test byte [rsp + 0x24], 1
je 0x140012698
lea rcx, [rsp + 0x20]
call fcn.140003cf8
int3
test sil, sil
je 0x1400126c0
movabs r10, 0xc489a7527c55f970
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
mov rax, qword [0x140035d48]
call qword [0x14002acf0]
lea rcx, [rsp + 0x20]
call fcn.140003604
lea rcx, [rsp + 0x20]
call fcn.140003cf8
int3