Function at 0x438250
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 0x4be8f7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x508
mov eax, dword [0x50c080]
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 0x4383cf
cmp esi, 0x3fffffff
ja 0x438e3f
shl esi, 2
cmp esi, 0x1000
jb 0x43837c
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x438e44
push eax
call fcn.00491196
add esp, 4
test eax, eax
je 0x438e4e
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43838f
test esi, esi
je 0x43838d
push esi
call fcn.00491196
add esp, 4
mov esi, eax
jmp 0x43838f
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.00492c90
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 0x43845c
sub edi, 1
je 0x438441
sub edi, 1
jne 0x438480
push 0xf
push str.Mozilla_Firefox
lea ecx, [ebp - 0x440]
call fcn.0040db20
push 0xb
push str.firefox.exe
jmp 0x438475
push 0xd
push str.Google_Chrome
lea ecx, [ebp - 0x440]
call fcn.0040db20
push 0xa
push str.chrome.exe
jmp 0x438475
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 0x438aae
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 0x438a9d
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 0x438a91
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00493220
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x4cc], eax
cmp dword [ebp - 0x41c], eax
jbe 0x438a91
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 0x438a6c
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x490]
add eax, eax
cmp eax, 0x200
jae 0x438e53
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 0x4385b0
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 0x43860c
mov esi, edi
lea edi, [edi + ecx*2]
jmp 0x438615
lea edi, [esi + ecx*2]
lea esi, [ebp - 0x458]
cmp esi, edi
je 0x438650
sub edx, esi
mov dword [ebp - 0x4b8], edx
movzx eax, word [esi]
push eax
call fcn.0049ad5d
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x438621
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 0x438680
mov esi, edx
lea eax, [edx + eax*2]
jmp 0x438689
lea eax, [esi + eax*2]
lea esi, [ebp - 0x440]
mov dword [ebp - 0x4b8], eax
cmp esi, eax
je 0x4386ca
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0049ad5d
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x4b8]
jne 0x438695
mov esi, dword [ebp - 0x458]
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x4bc], esi
jmp 0x4386d0
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 0x438a2e
sub ecx, eax
test eax, eax
je 0x4387cb
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 0x438761
movzx ecx, word [edx]
cmp cx, di
je 0x438759
cmp eax, 1
je 0x43875b
movzx ecx, word [edx + 2]
add edx, 2
dec eax
cmp cx, di
jne 0x438747
mov esi, edx
mov ecx, dword [ebp - 0x4b8]
mov edx, esi
test edx, edx
je 0x438a28
mov edi, dword [ebp - 0x430]
mov esi, ecx
test edi, edi
je 0x4387b4
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x4d4], eax
movzx ecx, word [esi + eax]
movzx eax, word [esi]
cmp cx, ax
jne 0x43879d
add esi, 2
sub edi, 1
je 0x4387b4
mov eax, dword [ebp - 0x4d4]
jmp 0x438781
mov edi, dword [ebp - 0x4d8]
add edx, 2
mov ecx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4dc]
jmp 0x438734
sub edx, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x4bc]
sar edx, 1
cmp edx, 0xffffffff
je 0x438a2e
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 0x438a20
push 0x200
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00493220
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 0x438a14
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 0x438867
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.0040df90
push 0x4f1c24
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 0x43890a
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.00492c90
mov eax, dword [ebp - 0x47c]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x43891e
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.0041bcf0
add esp, 4
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x504]
push eax
call fcn.0041cad0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0x4ec], xmm0
mov eax, dword [ebp - 0x4ec]
test eax, eax
je 0x43897c
cmp eax, 1
setne byte [ebp - 0x4b1]
jmp 0x438983
mov byte [ebp - 0x4b1], 0
mov ecx, dword [ebp - 0x4f0]
cmp ecx, 7
jbe 0x4389c3
mov edx, dword [ebp - 0x504]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4389b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
add esp, 8
cmp byte [ebp - 0x4b1], 0
jne 0x438be9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x460]
cmp ecx, 7
jbe 0x438a14
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438a0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
add esp, 8
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x458]
jmp 0x438a2e
mov esi, dword [ebp - 0x4bc]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x444]
cmp eax, 7
jbe 0x438a6c
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x438a62
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push esi
call fcn.00490f7d
add esp, 8
mov eax, dword [ebp - 0x4cc]
inc eax
mov dword [ebp - 0x4cc], eax
cmp eax, dword [ebp - 0x41c]
jb 0x438538
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 0x4384a0
mov eax, dword [ebp - 0x478]
mov esi, dword [ebp - 0x48c]
cmp eax, 7
jbe 0x438aee
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x438ae4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e49
push ecx
push esi
call fcn.00490f7d
add esp, 8
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x438b2e
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438b24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e49
push ecx
push edx
call fcn.00490f7d
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 0x438ba6
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x438b7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e49
push ecx
push edx
call fcn.00490f7d
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 0x438e1f
mov edx, dword [ebp - 0x4a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438e15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e49
jmp 0x438e15
mov ecx, dword [ebp - 0x4d0]
lea eax, [ebp - 0x474]
cmp ecx, eax
je 0x438c13
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 0x438c69
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
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 0x438cc6
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438cbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
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 0x438d1d
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x438d13
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push esi
call fcn.00490f7d
add esp, 8
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x438d5d
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438d53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
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 0x438dd5
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x438dad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
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 0x438e11
mov edx, dword [ebp - 0x4a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438e07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e4e
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov al, 1
jmp 0x438e21
push ecx
push edx
call fcn.00490f7d
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.00490c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004226d0
call fcn.0040df00
call fcn.004961af
call fcn.004961af
call fcn.004910bb
int3