Function at 0x140002840
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.140007550
sub rsp, rax
mov r14d, edx
mov r15, rcx
mov rsi, qword [rbp + 0x1418]
xor r12d, r12d
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.140004d20
mov edi, eax
mov dword [rsp + 0x20], 3
mov ecx, r12d
lea eax, [r12 + 8]
cmp byte [rbx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x14000c7b4], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
lea rax, str.onecoreinternal_sdkincwilopensourcewil_resource.h
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], rsi
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 [0x14000c860]
test rax, rax
je 0x140002942
movabs r10, 0xc52927145ed9c370
call qword [vtable..0]
mov qword [rbp - 0x60], rax
jmp 0x140002946
mov qword [rbp - 0x60], r12
mov rax, qword [0x14000c7e0]
test rax, rax
je 0x140002967
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [vtable..0]
mov rax, qword [0x14000c818]
test rax, rax
je 0x140002992
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [vtable..0]
mov rax, qword [0x14000c808]
test rax, rax
je 0x1400029b3
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [vtable..0]
mov rax, qword [0x14000c838]
test rax, rax
je 0x1400029db
test byte [rsp + 0x24], 2
jne 0x1400029db
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [vtable..0]
cmp dword [rsp + 0x28], r12d
jl 0x1400029f4
mov ecx, 0x8000ffff
mov dword [rsp + 0x28], ecx
call fcn.14000430c
mov dword [rsp + 0x2c], eax
cmp byte [0x14000c7c8], r12b
jne 0x140002a2e
mov rax, qword [0x14000c7b8]
test rax, rax
je 0x140002a1e
movabs r10, 0xdf949ec45c5ca270
call qword [vtable..0]
movzx eax, al
jmp 0x140002a2a
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140002a35
test byte [rsp + 0x24], 2
je 0x140002a6e
mov rax, qword [0x14000c7d0]
test rax, rax
je 0x140002ad8
cmp byte [0x14000c7f0], r12b
jne 0x140002ad8
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [vtable..0]
jmp 0x140002ad8
mov ebx, 0x800
mov rax, qword [0x14000c7d0]
test rax, rax
je 0x140002aa7
cmp byte [0x14000c7f0], r12b
jne 0x140002aa7
movabs r10, 0xf990b6e67ede8170
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [vtable..0]
cmp word [rbp + 0x3c0], r12w
jne 0x140002ac5
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.140003ae4
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [rax + rax]
test byte [rsp + 0x24], 4
jne 0x140002ae8
cmp byte [0x14000c7d8], r12b
je 0x140002b05
mov rax, qword [0x14000c828]
test rax, rax
je 0x140002b05
movabs r10, 0x85f13e9656da4870
call qword [vtable..0]
nop
lea rcx, [rsp + 0x20]
call fcn.140005b88
int3