Function at 0x10004307
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x290
mov eax, 0x1004b282
call fcn.10026b04
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x270], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
mov esi, 0x20019
mov dword [ebp - 0x218], ecx
mov eax, vtable.CArray_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__.0
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x258], 0xff
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x290], ecx
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.10004917
pop ecx
pop ecx
lea ecx, [ebp - 0x21c]
call fcn.100014de
mov edi, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x27c], ebx
jle 0x10004877
xor al, al
mov dword [ebp - 0x238], eax
cmp ebx, 0xffffffff
jne 0x1000441d
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x250]
call fcn.10004dd1
mov ebx, eax
jmp 0x10004479
lea ecx, [ebp - 0x254]
call fcn.100014de
push ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 7
call fcn.10002b90
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push dword [eax]
lea eax, [ebp - 0x254]
push str._s_s
push eax
call fcn.10002dbd
add esp, 0x10
lea ecx, [ebp - 0x250]
push esi
mov esi, dword [ebp - 0x254]
push esi
push reloc.WS2_32.dll_closesocket
call fcn.10004dd1
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 6
mov ebx, eax
call fcn.10005120
test ebx, ebx
jne 0x10004858
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x240]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10004858
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x1000484d
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x234]
call fcn.100027c9
xor eax, eax
mov dword [ebp - 0x258], 0xff
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000482d
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov ecx, dword [ebp - 0x238]
test eax, eax
push 1
pop eax
movzx ecx, cl
cmovne ecx, eax
lea eax, [ebp - 0x210]
push 0x20019
push eax
push dword [ebp - 0x250]
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x234]
call fcn.10004dd1
test eax, eax
jne 0x1000482d
cmp byte [ebp - 0x238], al
jne 0x100045dd
lea eax, [ebp - 0x218]
mov esi, str.DisplayName
push eax
push 0
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
test eax, eax
jne 0x1000482d
lea ecx, [ebp - 0x23c]
call fcn.100014de
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x218]
lea ecx, [ebp - 0x23c]
call fcn.10004f08
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
push 0xffffffffffffffff
lea ecx, [ebp - 0x23c]
call fcn.10005138
push dword [ebp + 8]
mov esi, dword [ebp - 0x23c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
test eax, eax
jne 0x100045d8
call fcn.10005120
jmp 0x1000482d
call fcn.10005120
lea eax, [ebp - 0x218]
mov esi, str.DisplayVersion
push eax
push 0
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
test eax, eax
jne 0x1000478a
lea ecx, [ebp - 0x224]
call fcn.100014de
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x218]
lea ecx, [ebp - 0x224]
call fcn.10004f08
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.10005138
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x1000476c
push 0x1004e8b4
push 0x1004ea50
lea ecx, [ebp + 0xc]
call fcn.10005347
push 0x1004e8b4
push 0x1004ea54
lea ecx, [ebp + 0xc]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
mov dword [ebp - 0x268], ebx
call fcn.10005347
dec eax
lea ecx, [ebp + 0xc]
neg eax
push 0x1004e8b4
sbb al, al
inc al
push 0x1004ea58
mov dword [ebp - 0x25c], eax
call fcn.10005347
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x100046c1
test bl, bl
jne 0x100046b8
cmp byte [ebp - 0x25c], bl
je 0x100046c1
mov byte [ebp - 0x211], 0
jmp 0x100046c7
mov byte [ebp - 0x211], cl
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x29c], esp
mov ebx, esp
push eax
mov dword [ebp - 0x228], ebx
call fcn.1000276c
add eax, 0x10
mov dword [ebx], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xa
mov ebx, esp
mov dword [ebp - 0x228], ebx
push eax
mov dword [ebp - 0x228], eax
call fcn.1000276c
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 9
call fcn.100027e3
xor dl, dl
pop ecx
pop ecx
cmp byte [ebp - 0x211], dl
je 0x1000472a
push 1
test eax, eax
movzx edx, dl
pop ecx
cmove edx, ecx
jmp 0x1000472d
xor ecx, ecx
inc ecx
cmp byte [ebp - 0x268], 0
je 0x1000473b
cmp eax, 0xffffffff
je 0x10004766
cmp byte [ebp - 0x25c], 0
je 0x10004748
cmp eax, ecx
je 0x10004766
test dl, dl
jne 0x10004766
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.10005120
mov ebx, dword [ebp - 0x220]
jmp 0x1000482d
mov ebx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x224]
push eax
call fcn.100015cc
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 6
call fcn.10005120
lea eax, [ebp - 0x218]
mov esi, 0x1004ea5c
push eax
push 0
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
test eax, eax
jne 0x1000482d
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.10004f08
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.10004fea
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.10005138
mov edi, dword [ebp - 0x21c]
lea eax, [edi - 0x10]
push eax
call fcn.1000276c
add eax, 0x10
pop ecx
mov dword [ebp - 0x260], eax
push 0
push str..exe
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
call fcn.10004c60
mov ecx, eax
call fcn.10002cad
mov ecx, dword [ebp - 0x260]
mov esi, eax
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10005120
cmp esi, 0xffffffff
jne 0x10004842
inc ebx
mov dword [ebp - 0x220], ebx
cmp ebx, dword [ebp - 0x240]
jb 0x100044ba
jmp 0x1000484d
lea ecx, [ebp - 0x234]
call fcn.100027c9
lea ecx, [ebp - 0x250]
call fcn.100027c9
mov ebx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x244]
inc ebx
mov dword [ebp - 0x264], ebx
cmp ebx, dword [ebp - 0x27c]
jl 0x100043f6
cmp dword [edi - 0xc], 0
jne 0x100048a6
call fcn.100041a4
test eax, eax
je 0x100048b8
cmp esi, 0x20019
jne 0x100048b8
mov esi, 0x20119
lea ecx, [edi - 0x10]
mov dword [ebp - 0x244], esi
call fcn.10005120
jmp 0x100043cc
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x21c]
push eax
call fcn.100015cc
lea eax, [ebp - 0x298]
push eax
call fcn.10005cf5
pop ecx
lea ecx, [edi - 0x10]
call fcn.10005120
lea ecx, [ebp - 0x298]
call fcn.10001552
lea ecx, [ebp - 0x284]
call fcn.10001552
lea ecx, [ebp - 0x234]
call fcn.100027c9
lea ecx, [ebp - 0x250]
call fcn.100027c9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10005120
xor eax, eax
call fcn.10026ab3
ret