Function at 0x40aa50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x428bd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x4346e4]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x18], esi
push 0xf003f
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorer
mov byte [esp + 0x178], 1
call fcn.0041efc1
mov ecx, ebx
call fcn.00407b70
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
push ecx
push 0xf003f
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x40ab65
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push ebp
push str.NoInternetIcon
push esi
mov dword [esp + 0x30], esi
xor edi, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x40af73
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov eax, dword [esp + 0x174]
jne 0x40ab2b
cmp eax, ebp
je 0x40ab38
jmp 0x40af80
cmp eax, ebp
jne 0x40af85
mov edi, 1
lea eax, [esp + 0x10]
push 4
mov dword [esp + 0x14], ebp
push eax
push 4
push ebp
push str.NoInternetIcon
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebp
je 0x40ab65
push ebp
push ebp
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x34]
push ecx
push 0xf003f
push ebp
push ebp
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x40af99
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x40ab9b
cmp eax, 0xea
jne 0x40af99
lea edx, [esp + 0x58]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
mov dword [esp + 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x1c]
push ecx
push 0x43297c
push edx
mov dword [esp + 0x34], eax
call fcn.0041e4fe
mov eax, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 0x10
jle 0x40af6a
cmp eax, 0x33
jge 0x40af6a
mov ecx, dword [0x4346e4]
mov dword [esp + 0x14], ecx
push str.cZviduhcPljuvzviclqkvzcJxuuhqYhuzlvqcH
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 2
call fcn.0041f0dc
push 5
push ebp
lea edx, [esp + 0x1c]
push 2
push edx
mov ecx, ebx
call fcn.0040b3c0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0041f182
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebp
push eax
push 0x80000003
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40ac78
xor eax, eax
cmp esi, ebp
je 0x40ac6e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x40]
call fcn.0041ef53
cmp edi, ebp
je 0x40acec
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0041f182
mov eax, dword [eax]
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push eax
push 0x80000003
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40acdb
xor eax, eax
cmp esi, ebp
je 0x40acd1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x2c]
call fcn.0041ef53
cmp edi, ebp
jne 0x40af59
cmp esi, ebp
je 0x40acfd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
push 0x433a98
lea ecx, [esp + 0x18]
call fcn.0041f0dc
push 5
push ebp
lea edx, [esp + 0x1c]
push 2
push edx
mov ecx, ebx
call fcn.0040b3c0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041f182
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebp
push eax
push 0x80000003
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40ad6a
xor eax, eax
cmp esi, ebp
je 0x40ad60
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x48]
call fcn.0041ef53
cmp edi, ebp
je 0x40adda
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0041f182
mov eax, dword [eax]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x10]
push edx
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push eax
push 0x80000003
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40adcd
xor eax, eax
cmp esi, ebp
je 0x40adc3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x44]
call fcn.0041ef53
cmp edi, ebp
jne 0x40ae2b
push 0x433a70
lea ecx, [esp + 0x18]
call fcn.0041f0dc
push 5
push ebp
lea edx, [esp + 0x1c]
push 2
push edx
mov ecx, ebx
call fcn.0040b3c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push ebp
push edx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, ebp
je 0x40ae2b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
push 0x433a1c
lea ecx, [esp + 0x18]
call fcn.0041f0dc
push 5
push ebp
lea eax, [esp + 0x1c]
push 2
push eax
mov ecx, ebx
call fcn.0040b3c0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.0041f182
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebp
push eax
push 0x80000003
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40ae98
xor eax, eax
cmp esi, ebp
je 0x40ae8e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x3c]
call fcn.0041ef53
cmp edi, ebp
je 0x40af08
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0041f182
mov eax, dword [eax]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push eax
push 0x80000003
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
cmp edi, ebp
jne 0x40aefb
xor eax, eax
cmp esi, ebp
je 0x40aef1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x30]
call fcn.0041ef53
cmp edi, ebp
jne 0x40af59
push 0x433a70
lea ecx, [esp + 0x18]
call fcn.0041f0dc
push 5
push ebp
lea edx, [esp + 0x1c]
push 2
push edx
mov ecx, ebx
call fcn.0040b3c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push ebp
push edx
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, ebp
je 0x40af59
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 1
call fcn.0041ef53
inc dword [esp + 0x20]
jmp 0x40ab88
cmp dword [esp + 0x174], ebp
je 0x40ab38
mov edi, 1
lea edx, [esp + 0x10]
push 4
mov dword [esp + 0x14], 1
push edx
jmp 0x40ab43
cmp esi, ebp
je 0x40afa4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0041ef53
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x160
ret 4