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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b180f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4d8
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3f
xorps xmm0, xmm0
mov dword [ebp - 0x428], 0
xor eax, eax
movq qword [ebp - 0x430], xmm0
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 7
mov word [ebp - 0x4b8], ax
call fcn.004078c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
push 0x33
xor eax, eax
mov dword [ebp - 0x490], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
call fcn.004078c0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x488]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x42c], 0
push eax
mov dword [ebp - 0x428], 0
call fcn.0043c340
push fcn.00404c50
push 2
push 0x18
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 3
push eax
call fcn.0046e5f3
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
movq qword [ebp - 0x448], xmm0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e8]
push 9
xor eax, eax
movq qword [ebp - 0x43c], xmm0
push str.ANTIVIRUS
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 7
mov word [ebp - 0x4e8], ax
call fcn.004078c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4d0]
push 0xa
xor eax, eax
mov dword [ebp - 0x4c0], 0
push str.ANTI_VIRUS
mov dword [ebp - 0x4bc], 7
mov word [ebp - 0x4d0], ax
call fcn.004078c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
push 0xa
xor eax, eax
mov dword [ebp - 0x4a8], 0
push str.PROTECTION
mov dword [ebp - 0x4a4], 7
mov word [ebp - 0x4b8], ax
call fcn.004078c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4a0]
push 8
xor eax, eax
mov dword [ebp - 0x490], 0
push str.SECURITY
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
call fcn.004078c0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x488]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0
push eax
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x438], 0
push eax
mov dword [ebp - 0x434], 0
call fcn.0043c340
push fcn.00404c50
push 4
push 0x18
lea eax, [ebp - 0x4e8]
mov byte [ebp - 4], 0xa
push eax
call fcn.0046e5f3
mov esi, dword [ebp - 0x42c]
mov edi, dword [ebp - 0x430]
mov dword [ebp - 0x484], esi
cmp edi, esi
je 0x431783
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x41c], 0
jb 0x4314ee
mov eax, dword [edi]
lea ecx, [ebp - 0x47c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431778
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43176c
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004864f0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x41c], esi
jbe 0x431766
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0xff
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x431759
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x424]
add eax, eax
cmp eax, 0x200
jae 0x4317b9
xor ecx, ecx
mov dword [ebp - 0x44c], 7
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x450], ecx
lea ecx, [ebp - 0x218]
mov word [ebp - 0x460], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4315e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.004078c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x480]
cmp dword [ebp - 0x44c], 8
lea eax, [ebp - 0x460]
push ecx
cmovae eax, dword [ebp - 0x460]
push 0x20019
push 0
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431719
push 0x200
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004864f0
add esp, 0xc
mov dword [ebp - 0x420], 0x1fe
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push str.DisplayName
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43170d
mov dword [ebp - 0x468], eax
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x464], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4316a7
sub eax, edx
lea ecx, [ebp - 0x478]
sar eax, 1
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004078c0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x464]
cmp edx, 8
jb 0x43170d
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317be
push edx
push ecx
call fcn.0046e3a3
add esp, 8
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x44c]
cmp edx, 8
jb 0x431759
mov ecx, dword [ebp - 0x460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43174f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317be
push edx
push ecx
call fcn.0046e3a3
add esp, 8
inc esi
cmp esi, dword [ebp - 0x41c]
jb 0x431560
mov esi, dword [ebp - 0x484]
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0x18
cmp edi, esi
jne 0x4314d0
lea ecx, [ebp - 0x43c]
call fcn.004398f0
lea ecx, [ebp - 0x430]
call fcn.004398f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046de82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0046e510
call fcn.004892fc
int3