Function at 0x140041310
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x70], rsi
mov qword [r11 - 0x68], rsi
mov qword [r11 - 0x68], 7
mov qword [r11 - 0x70], rsi
mov word [rsp + 0x78], si
lea r8d, [rsi + 0x43]
lea rdx, str.IntegrationManager::Startup_____Integration_manager_is_starting_up.
lea rcx, [r11 - 0x80]
call fcn.140007c60
nop
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rsi
mov word [rsp + 0x98], si
movzx eax, word [0x140143ed0]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140143ed0]
lea rcx, [rsp + 0x98]
call fcn.140007c60
nop
call fcn.1400391f0
mov rbx, rax
call fcn.1400391f0
test rax, rax
je 0x140041407
mov rcx, qword [rax + 8]
test byte [rcx], 4
jbe 0x140041407
lea r9, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae r9, qword [rsp + 0x78]
lea r8, [rsp + 0x98]
lea edx, [rsi + 4]
mov rcx, qword [rbx + 8]
call fcn.140085af0
nop
cmp qword [rsp + 0xb0], 8
jb 0x140041420
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rsi
mov word [rsp + 0x98], si
cmp qword [rsp + 0x90], 8
jb 0x140041452
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rsi
mov word [rsp + 0xb8], si
movzx eax, word [0x140143ed0]
neg ax
sbb r8, r8
and r8d, 0xb
lea rdx, [0x140143ed0]
lea rcx, [rsp + 0xb8]
call fcn.140007c60
nop
cmp qword [rsp + 0xc8], 0
jne 0x1400414cf
xor bl, bl
jmp 0x140041594
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftAppVSubsystemDisabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041525
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004151d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
xor bl, bl
jmp 0x140041594
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
cmovae rdx, qword [rsp + 0xb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041508
cmp dword [rsp + 0x60], eax
setne bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140041590
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
mov byte [rdi + 0x1a8], bl
cmp qword [rsp + 0xd0], 8
jb 0x1400415b3
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rsi
mov word [rsp + 0xb8], si
movabs rax, 0x8000000000
jmp 0x1400415e0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400f5ff0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret