Function at 0x140012054
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x13e8]
mov eax, 0x14c0
call fcn.140026990
sub rsp, rax
mov r15, rcx
mov r12, qword [rbp + 0x1418]
mov esi, 1
xor r13d, r13d
cmp qword [0x140034d48], r13
je 0x1400120a7
cmp byte [0x140034516], r13b
mov r14b, sil
jne 0x1400120aa
mov r14b, r13b
mov word [rbp + 0x3c0], r13w
mov byte [rbp - 0x40], r13b
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.1400029a4
mov edi, eax
mov dword [rsp + 0x20], r13d
mov ecx, r13d
mov eax, 8
cmp byte [rbx + 8], r13b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
mov ecx, esi
lock xadd dword [0x140034db8], ecx
add ecx, esi
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r13
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], 0x17fa
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r15
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 [0x140034d90]
test rax, rax
je 0x140012174
movabs r10, 0xc52927145ed9c370
call qword [0x140029ce8]
mov qword [rbp - 0x60], rax
jmp 0x140012178
mov qword [rbp - 0x60], r13
mov rax, qword [0x140034d30]
test rax, rax
je 0x1400121a3
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x140029ce8]
mov rax, qword [0x140034d20]
test rax, rax
je 0x1400121c4
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x140029ce8]
mov rax, qword [0x140034d58]
test rax, rax
je 0x1400121ea
test r14b, r14b
jne 0x1400121ea
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x140029ce8]
cmp dword [rsp + 0x28], r13d
jl 0x1400121f7
call fcn.140003f88
int3
cmp byte [0x140034cd0], r13b
jne 0x140012239
mov rax, qword [0x140034cc0]
test rax, rax
je 0x140012221
movabs r10, 0xdf949ec45c5ca270
call qword [0x140029ce8]
movzx ecx, al
jmp 0x140012235
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
mov ecx, r13d
test eax, eax
setne cl
test ecx, ecx
je 0x140012242
cmp byte [0x140034514], r13b
jne 0x140012245
mov sil, r13b
test r14b, r14b
jne 0x140012288
test sil, sil
jne 0x140012288
mov rax, qword [0x140034cd8]
test rax, rax
je 0x1400122f7
cmp byte [0x140034d00], r13b
jne 0x1400122f7
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x140029ce8]
jmp 0x1400122f7
mov ebx, 0x800
mov rax, qword [0x140034cd8]
test rax, rax
je 0x1400122c1
cmp byte [0x140034d00], r13b
jne 0x1400122c1
movabs r10, 0xf990b6e67ede8170
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x140029ce8]
cmp word [rbp + 0x3c0], r13w
jne 0x1400122df
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400024d0
test sil, sil
je 0x1400122f7
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
cmp byte [0x140034ce0], r13b
je 0x14001231d
mov rax, qword [0x140034d40]
test rax, rax
je 0x14001231d
movabs r10, 0x85f13e9656da4870
call qword [0x140029ce8]
nop
test r14b, r14b
je 0x140012345
movabs r10, 0xc489a7527c55f970
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
mov rax, qword [0x140034d48]
call qword [0x140029ce8]
lea rcx, [rsp + 0x20]
call fcn.1400035d4
lea rcx, [rsp + 0x20]
call fcn.140003c9c
int3