Function at 0x438550
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 0x4be067
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x508
mov eax, dword [0x50b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d0], edx
mov edi, ecx
push 0x33
xorps xmm0, xmm0
mov dword [ebp - 0x498], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 0x494], 0
movups xmmword [ebp - 0x4a8], xmm0
call fcn.0040df90
lea esi, [ebp - 0x4c8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x420], 0
sub eax, esi
mov dword [ebp - 0x4c8], 0x20119
mov esi, eax
mov dword [ebp - 0x4c4], 0x20219
sar esi, 2
xorps xmm0, xmm0
movq qword [ebp - 0x428], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x41c], esi
test esi, esi
je 0x4386cf
cmp esi, 0x3fffffff
ja 0x43913f
shl esi, 2
cmp esi, 0x1000
jb 0x43867c
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x439144
push eax
call fcn.004908e6
add esp, 4
test eax, eax
je 0x43914e
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43868f
test esi, esi
je 0x43868d
push esi
call fcn.004908e6
add esp, 4
mov esi, eax
jmp 0x43868f
xor esi, esi
mov eax, dword [ebp - 0x41c]
push dword [ebp - 0x4c0]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], esi
lea eax, [esi + eax*4]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x4c8]
push eax
push esi
call fcn.004923e0
mov eax, dword [ebp - 0x41c]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x424], eax
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
xor eax, eax
mov dword [ebp - 0x42c], 7
movups xmmword [ebp - 0x440], xmm0
mov word [ebp - 0x440], ax
movups xmmword [ebp - 0x48c], xmm0
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
mov byte [ebp - 4], 3
sub edi, eax
je 0x43875c
sub edi, 1
je 0x438741
sub edi, 1
jne 0x438780
push 0xf
push str.Mozilla_Firefox
lea ecx, [ebp - 0x440]
call fcn.0040db20
push 0xb
push str.firefox.exe
jmp 0x438775
push 0xd
push str.Google_Chrome
lea ecx, [ebp - 0x440]
call fcn.0040db20
push 0xa
push str.chrome.exe
jmp 0x438775
push 0xe
push str.Microsoft_Edge
lea ecx, [ebp - 0x440]
call fcn.0040db20
push 0xa
push str.msedge.exe
lea ecx, [ebp - 0x48c]
call fcn.0040db20
mov esi, dword [ebp - 0x428]
mov edi, dword [ebp - 0x424]
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x4c4], edi
cmp esi, edi
je 0x438dae
cmp dword [ebp - 0x494], 7
lea ecx, [ebp - 0x4ac]
push ecx
push dword [esi]
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4ac], 0
cmova eax, dword [ebp - 0x4a8]
push 0
push eax
push 0x80000002
mov dword [ebp - 0x41c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438d9d
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 - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x438d91
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00492970
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x4cc], eax
cmp dword [ebp - 0x41c], eax
jbe 0x438d91
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x490], 0xff
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [ebp - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x438d6c
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x490]
add eax, eax
cmp eax, 0x200
jae 0x439153
xor ecx, ecx
xorps xmm0, xmm0
mov word [ebp + eax - 0x218], cx
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x444], ecx
lea ecx, [ebp - 0x218]
movups xmmword [ebp - 0x458], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4388b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.0040df90
mov byte [ebp - 4], 4
lea edx, [ebp - 0x458]
cmp dword [ebp - 0x444], 7
lea esi, [ebp - 0x458]
mov edi, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x448]
seta al
cmova edx, edi
mov dword [ebp - 0x4bc], edi
test al, al
je 0x43890c
mov esi, edi
lea edi, [edi + ecx*2]
jmp 0x438915
lea edi, [esi + ecx*2]
lea esi, [ebp - 0x458]
cmp esi, edi
je 0x438950
sub edx, esi
mov dword [ebp - 0x4b8], edx
movzx eax, word [esi]
push eax
call fcn.0049a4ad
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x438921
mov edi, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x4bc], edi
cmp dword [ebp - 0x42c], 7
lea edi, [ebp - 0x440]
mov edx, dword [ebp - 0x440]
lea esi, [ebp - 0x440]
seta al
cmova edi, edx
test al, al
mov eax, dword [ebp - 0x430]
je 0x438980
mov esi, edx
lea eax, [edx + eax*2]
jmp 0x438989
lea eax, [esi + eax*2]
lea esi, [ebp - 0x440]
mov dword [ebp - 0x4b8], eax
cmp esi, eax
je 0x4389ca
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0049a4ad
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x4b8]
jne 0x438995
mov esi, dword [ebp - 0x458]
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x4bc], esi
jmp 0x4389d0
mov esi, dword [ebp - 0x4bc]
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
cmova eax, edx
cmp dword [ebp - 0x444], 7
lea edx, [ebp - 0x458]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x430]
cmova edx, esi
seta byte [ebp - 0x4b1]
mov dword [ebp - 0x45c], edx
cmp eax, ecx
ja 0x438d2e
sub ecx, eax
test eax, eax
je 0x438acb
inc ecx
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4dc], eax
movzx edi, word [ecx]
mov dword [ebp - 0x4d8], edi
sub eax, edx
mov esi, 0
sar eax, 1
je 0x438a61
movzx ecx, word [edx]
cmp cx, di
je 0x438a59
cmp eax, 1
je 0x438a5b
movzx ecx, word [edx + 2]
add edx, 2
dec eax
cmp cx, di
jne 0x438a47
mov esi, edx
mov ecx, dword [ebp - 0x4b8]
mov edx, esi
test edx, edx
je 0x438d28
mov edi, dword [ebp - 0x430]
mov esi, ecx
test edi, edi
je 0x438ab4
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x4d4], eax
movzx ecx, word [esi + eax]
movzx eax, word [esi]
cmp cx, ax
jne 0x438a9d
add esi, 2
sub edi, 1
je 0x438ab4
mov eax, dword [ebp - 0x4d4]
jmp 0x438a81
mov edi, dword [ebp - 0x4d8]
add edx, 2
mov ecx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4dc]
jmp 0x438a34
sub edx, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x4bc]
sar edx, 1
cmp edx, 0xffffffff
je 0x438d2e
cmp byte [ebp - 0x4b1], 0
lea ecx, [ebp - 0x4b0]
push ecx
push 0x20019
lea eax, [ebp - 0x458]
push 0
cmovne eax, esi
push eax
push dword [ebp - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438d20
push 0x200
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00492970
add esp, 0xc
mov dword [ebp - 0x45c], 0x1fe
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push str.InstallLocation
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438d14
xorps xmm0, xmm0
mov dword [ebp - 0x464], eax
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x460], eax
movups xmmword [ebp - 0x474], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438b67
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.0040df90
push 0x4f0d64
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 5
call fcn.0040d6d0
cmp dword [ebp - 0x478], 7
lea edx, [ebp - 0x48c]
mov ecx, dword [ebp - 0x460]
mov eax, ecx
cmova edx, dword [ebp - 0x48c]
mov edi, dword [ebp - 0x464]
sub eax, edi
mov esi, dword [ebp - 0x47c]
cmp esi, eax
ja 0x438c0a
lea eax, [edi + esi]
cmp ecx, 7
mov dword [ebp - 0x464], eax
lea esi, [ebp - 0x474]
cmova esi, dword [ebp - 0x474]
mov eax, dword [ebp - 0x47c]
add eax, eax
push eax
lea ecx, [esi + edi*2]
push edx
push ecx
call fcn.004923e0
mov eax, dword [ebp - 0x47c]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x438c1e
push esi
push edx
push dword [ebp - 0x4d0]
lea ecx, [ebp - 0x474]
push esi
call fcn.0040d970
mov esi, dword [ebp - 0x48c]
lea edx, [ebp - 0x474]
mov byte [ebp - 0x4e0], 0
lea ecx, [ebp - 0x504]
push dword [ebp - 0x4e0]
call fcn.0041bdd0
add esp, 4
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x504]
push eax
call fcn.0041cbb0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0x4ec], xmm0
mov eax, dword [ebp - 0x4ec]
test eax, eax
je 0x438c7c
cmp eax, 1
setne byte [ebp - 0x4b1]
jmp 0x438c83
mov byte [ebp - 0x4b1], 0
mov ecx, dword [ebp - 0x4f0]
cmp ecx, 7
jbe 0x438cc3
mov edx, dword [ebp - 0x504]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438cb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
cmp byte [ebp - 0x4b1], 0
jne 0x438ee9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x460]
cmp ecx, 7
jbe 0x438d14
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438d0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x458]
jmp 0x438d2e
mov esi, dword [ebp - 0x4bc]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x444]
cmp eax, 7
jbe 0x438d6c
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x438d62
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push esi
call fcn.004906cd
add esp, 8
mov eax, dword [ebp - 0x4cc]
inc eax
mov dword [ebp - 0x4cc], eax
cmp eax, dword [ebp - 0x41c]
jb 0x438838
mov esi, dword [ebp - 0x4c0]
mov edi, dword [ebp - 0x4c4]
push dword [ebp - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
mov dword [ebp - 0x4c0], esi
cmp esi, edi
jne 0x4387a0
mov eax, dword [ebp - 0x478]
mov esi, dword [ebp - 0x48c]
cmp eax, 7
jbe 0x438dee
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x438de4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439149
push ecx
push esi
call fcn.004906cd
add esp, 8
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x438e2e
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438e24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439149
push ecx
push edx
call fcn.004906cd
add esp, 8
mov edx, dword [ebp - 0x428]
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
test edx, edx
je 0x438ea6
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x438e7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439149
push ecx
push edx
call fcn.004906cd
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x494]
cmp ecx, 7
jbe 0x43911f
mov edx, dword [ebp - 0x4a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439115
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439149
jmp 0x439115
mov ecx, dword [ebp - 0x4d0]
lea eax, [ebp - 0x474]
cmp ecx, eax
je 0x438f13
cmp dword [ebp - 0x460], 7
push dword [ebp - 0x464]
cmova eax, dword [ebp - 0x474]
push eax
call fcn.0040db20
push dword [ebp - 0x4b0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x4ac]
call edi
mov ecx, dword [ebp - 0x460]
cmp ecx, 7
jbe 0x438f69
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438f5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
mov ecx, dword [ebp - 0x444]
xor eax, eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
cmp ecx, 7
jbe 0x438fc6
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438fbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x444], 7
cmp eax, 7
jbe 0x43901d
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x439013
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push esi
call fcn.004906cd
add esp, 8
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x43905d
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439053
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
mov edx, dword [ebp - 0x428]
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
test edx, edx
je 0x4390d5
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4390ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x494]
cmp ecx, 7
jbe 0x439111
mov edx, dword [ebp - 0x4a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439107
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43914e
push ecx
push edx
call fcn.004906cd
add esp, 8
mov al, 1
jmp 0x439121
push ecx
push edx
call fcn.004906cd
add esp, 8
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.00490396
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004227d0
call fcn.0040df00
call fcn.004958ff
call fcn.004958ff
call fcn.0049080b
int3