Function at 0x4295c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
mov edx, str._dis_auc
push edi
mov edi, ecx
mov eax, esi
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x429600
test cl, cl
je 0x4295fc
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x429600
add eax, 2
add edx, 2
test cl, cl
jne 0x4295e0
xor eax, eax
jmp 0x429605
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4296ea
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4297ba
lea eax, [ebp - 0x20]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x429776
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 4
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4297ba
cmp dword [ebp - 0x28], 4
jne 0x4297ba
cmp dword [ebp - 0x18], 4
jne 0x4297ba
mov eax, dword [ebp - 0x1c]
push 4
mov dword [0x5a6aa4], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push str._en_auc
push esi
call fcn.00512a00
add esp, 8
test eax, eax
je 0x4297cc
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x10]
push 0xa
push eax
call fcn.0051736e
lea eax, [ebp - 0x10]
push eax
call fcn.0051e079
add esp, 0x10
mov byte [0x5a8d8c], 0
mov dword [0x5a6aa4], eax
cmp eax, 0x63
je 0x4297ba
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4297ba
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x429791
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 4
push 0x5a6aa4
push 4
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push str._dsmpluginhelper
push esi
call fcn.00512a00
add esp, 8
test eax, eax
jne 0x42989c
push str._dsmplugininstance
push esi
call fcn.00512a00
add esp, 8
test eax, eax
jne 0x42989c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x16ff
push eax
mov dword [ebp - 0x30], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push 0x429b50
push 0
push 0x65
push edi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429827
sub ecx, edx
mov edi, 0x5abd50
cmovne edi, esi
xor esi, esi
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429840
sub ecx, edx
je 0x429873
nop dword [eax + eax]
movsx eax, byte [edi + esi]
push eax
call fcn.00523cb7
mov ecx, edi
mov byte [edi + esi], al
add esp, 4
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429866
sub ecx, edx
cmp esi, ecx
jb 0x429850
push str.__run
push 0x400
push 0x5abd50
call fcn.005173c8
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00511339
mov esp, ebp
pop ebp
ret