Function at 0x41de40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f889
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
xor edi, edi
push 0x18
mov dword [esi + 8], edi
call fcn.004051ca
add esp, 4
cmp eax, edi
je 0x41e097
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov bl, 1
mov byte [eax + 0x14], bl
mov ecx, dword [esi + 4]
mov byte [ecx + 0x15], bl
push 0x30
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
call fcn.004051ca
add esp, 4
cmp eax, edi
je 0x41e073
mov dword [esi + 0x14], eax
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x14]
mov byte [edx + 0x2c], bl
mov eax, dword [esi + 0x14]
mov byte [eax + 0x2d], bl
push 0x48
mov byte [ebp - 4], bl
mov dword [esi + 0x28], edi
call fcn.004051ca
add esp, 4
cmp eax, edi
je 0x41e04f
mov dword [esi + 0x24], eax
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x24]
mov byte [ecx + 0x44], bl
mov edx, dword [esi + 0x24]
mov byte [edx + 0x45], bl
push 0x18
mov byte [ebp - 4], 2
mov dword [esi + 0x38], edi
call fcn.004051ca
add esp, 4
cmp eax, edi
je 0x41e02b
mov dword [esi + 0x34], eax
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x34]
mov byte [eax + 0x14], bl
mov ecx, dword [esi + 0x34]
mov byte [ecx + 0x15], bl
push 0x18
mov byte [ebp - 4], 3
mov dword [esi + 0x48], edi
call fcn.004051ca
add esp, 4
cmp eax, edi
je 0x41e007
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x44]
mov byte [edx + 0x14], bl
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x54]
mov byte [eax + 0x15], bl
push ecx
mov byte [esi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edx, [ebp - 0x10]
push edx
push 0x20019
push edi
push str.SoftwarePoliciesAdobeAcrobat_Reader11.0FeatureLockDown
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dff3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push edi
push 0x5177a4
mov ebx, 4
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41dfe9
cmp dword [ebp - 0x14], ebx
jne 0x41dfe9
cmp dword [ebp - 0x18], ebx
jne 0x41dfe9
cmp dword [ebp - 0x1c], edi
setne cl
mov byte [esi + 0x50], cl
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
call fcn.004e3c5a
push 0x53fa68
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.004e3d99
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], edi
call fcn.004e3c5a
push 0x53fa68
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
call fcn.004e3d99
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
call fcn.004e3c5a
push 0x53fa68
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.004e3d99
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], edi
call fcn.004e3c5a
push 0x53fa68
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
call fcn.004e3d99
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], edi
call fcn.004e3c5a
push 0x53fa68
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.004e3d99
int3