Function at 0x4536e0
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531112
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x284], eax
cmp eax, edi
je 0x453b9e
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x453724
sub eax, edx
sar eax, 1
je 0x453b9e
mov eax, reloc.OLEAUT32.dll_SysReAllocString
xor ecx, ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0x5612c8
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], cx
mov dword [ebp - 4], edi
xor ebx, ebx
jmp 0x453790
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
mov esi, eax
mov dword [ebp - 0x270], edi
lea edx, [ebp - 0x27c]
push edx
push 0xf003f
mov byte [ebp - 4], 1
mov ecx, dword [ebp + ecx - 0x230]
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x453845
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x250]
push ecx
mov edx, str.DisplayName
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], edi
call fcn.0045dca0
test eax, eax
je 0x45383f
mov eax, dword [ebp - 0x250]
mov esi, 8
cmp dword [ebp - 0x23c], esi
jae 0x45380c
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 0x284]
push edx
push eax
call fcn.004c076d
add esp, 8
test eax, eax
jne 0x453c53
lea eax, [ebp - 0x250]
push eax
mov edx, str.DisplayName
lea ecx, [ebp - 0x278]
call fcn.0045dca0
test eax, eax
jne 0x4537f3
mov esi, dword [ebp - 0x274]
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
cmp esi, edi
je 0x453860
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x274], edi
inc ebx
lea ecx, [ebx*8]
mov eax, dword [ebp + ecx - 0x234]
cmp eax, edi
jne 0x453790
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
mov dword [ebp - 0x274], SysReAllocStringLen
mov dword [ebp - 0x270], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x27c]
push ecx
push 0xf003f
push edi
push str.SoftwareMicrosoftProtected_Storage_System_Provider
push SysReAllocStringLen
call ebx
cmp eax, edi
jne 0x453aae
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], 3
jmp 0x4538f0
push edi
mov eax, 0x560238
lea esi, [ebp - 0x26c]
mov dword [ebp - 0x288], 0x104
call fcn.00422da0
mov eax, dword [ebp - 0x270]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x288]
push ecx
mov ecx, dword [ebp - 0x27c]
lea edx, [ebp - 0x21c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x453a8c
inc dword [ebp - 0x270]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
jmp 0x453950
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x453950
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x26c]
call fcn.00422da0
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
mov esi, reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x45399f
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x28c]
push edx
push 0xf003f
push edi
push eax
push reloc.WS2_32.dll_closesocket
call ebx
cmp eax, edi
jne 0x453a64
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x280]
push eax
push 0xf003f
push edi
push 0x5612c8
push esi
mov dword [ebp - 0x220], edi
call ebx
cmp eax, edi
jne 0x453a64
mov ecx, dword [ebp - 0x280]
lea edx, [ebp - 0x250]
mov dword [ebp - 0x224], ecx
push edx
mov edx, str.DisplayName
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], edi
call fcn.0045dca0
test eax, eax
je 0x453a5e
mov eax, dword [ebp - 0x250]
mov esi, 8
cmp dword [ebp - 0x23c], esi
jae 0x453a2b
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x284]
push ecx
push eax
call fcn.004c076d
add esp, 8
test eax, eax
jne 0x453bbc
lea edx, [ebp - 0x250]
push edx
mov edx, str.DisplayName
lea ecx, [ebp - 0x228]
call fcn.0045dca0
test eax, eax
jne 0x453a12
mov esi, dword [ebp - 0x224]
mov byte [ebp - 4], 3
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
cmp esi, edi
je 0x4538f0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], edi
jmp 0x4538f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x258], 8
mov dword [ebp - 0x270], edi
jb 0x453aae
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004bf135
add esp, 4
mov dword [ebp - method.CRegistry.virtual_0], vtable.CRegistry.0
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x280]
push ecx
push 0xf003f
push edi
push str.SYSTEMCurrentControlSetControlKeyboard_Layouts
push esi
mov byte [ebp - 4], 5
call ebx
cmp eax, edi
jne 0x453b67
mov edx, dword [ebp - 0x280]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x224], edx
push eax
mov edx, str.Layout_Text
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], edi
call fcn.0045dca0
test eax, eax
je 0x453b5d
mov eax, dword [ebp - 0x250]
mov esi, 8
cmp dword [ebp - 0x23c], esi
jae 0x453b2a
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x284]
push ecx
push eax
call fcn.004c076d
add esp, 8
test eax, eax
jne 0x453c09
lea edx, [ebp - 0x250]
push edx
mov edx, str.Layout_Text
lea ecx, [ebp - 0x228]
call fcn.0045dca0
test eax, eax
jne 0x453b11
mov esi, dword [ebp - 0x224]
cmp esi, edi
je 0x453b6e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x274]
cmp eax, edi
je 0x453b7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], 8
jb 0x453b9e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004bf135
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x453bcd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x258], esi
jb 0x453be8
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004bf135
add esp, 4
mov eax, dword [ebp - 0x27c]
xor ecx, ecx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], cx
jmp 0x453c59
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x453c1a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x274]
cmp eax, edi
je 0x453c2b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], esi
jb 0x453c82
mov eax, dword [ebp - 0x250]
push eax
call fcn.004bf135
add esp, 4
mov eax, 1
jmp 0x453ba0
mov eax, dword [ebp - 0x274]
cmp eax, edi
je 0x453c64
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], esi
jb 0x453c82
mov edx, dword [ebp - 0x250]
push edx
call fcn.004bf135
add esp, 4
mov eax, 1
jmp 0x453ba0