Function at 0x1028e6f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x294
mov eax, 0x103f1fe
call fcn.01002325
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x1c]
push 0x1019a1c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], eax
call fcn.01008ac0
xor ebx, ebx
push 0x1029484
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.01008ac0
push 0x1029468
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.01008ac0
push 0x1020d4c
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.01008ac0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x238], ebx
je 0x1029408
cmp dword [ebp - 0x23c], ebx
je 0x1029408
cmp edi, ebx
je 0x1029408
cmp dword [ebp - 0x234], ebx
je 0x1029408
mov dword [esi], 2
mov edi, 0x80000000
cmp dword [0x104a36c], ebx
je 0x1028f9c
mov al, byte [0x104a370]
cmp al, 4
jae 0x1028f51
cmp al, bl
jne 0x1028f9c
mov eax, dword [0x104a358]
mov ecx, dword [0x104a35c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x1028f9c
mov eax, dword [0x104a360]
mov esi, dword [0x104a364]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x1028f9c
cmp edx, esi
jne 0x1028f9c
push 2
push 0x1020c90
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01036d4b
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x278], eax
xor eax, eax
inc eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0102548d
mov esi, eax
cmp esi, ebx
jl 0x1029058
xor eax, eax
cmp dword [ebp - 0x21c], ebx
sete al
mov dword [ebp - 0x254], eax
cmp esi, ebx
mov dword [ebp - 0x21c], ebx
jl 0x102940d
lea eax, [ebp - 0x298]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x21c], 4
jae 0x10290cf
cmp dword [eax + 8], ebx
je 0x1029084
mov dword [eax], ebx
jmp 0x10290bc
push dword [ebp - 0x228]
push dword [eax - 8]
push dword [ebp - 0x22c]
call fcn.01026045
mov ecx, dword [ebp - 0x220]
mov esi, eax
xor eax, eax
cmp esi, ebx
setge al
cmp esi, ebx
mov dword [ecx], eax
jge 0x10290b6
mov eax, ecx
cmp dword [eax - 4], ebx
je 0x10290b6
xor esi, esi
mov eax, dword [ebp - 0x220]
inc dword [ebp - 0x21c]
add eax, 0x14
cmp esi, ebx
mov dword [ebp - 0x220], eax
jge 0x1029072
cmp esi, ebx
jl 0x102940d
mov eax, dword [ebp - 0x224]
mov dword [eax], 3
cmp dword [0x104a36c], ebx
je 0x1029143
mov al, byte [0x104a370]
cmp al, 4
jae 0x10290f8
cmp al, bl
jne 0x1029143
mov eax, dword [0x104a358]
mov ecx, dword [0x104a35c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x1029143
mov eax, dword [0x104a360]
mov esi, dword [0x104a364]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x1029143
cmp edx, esi
jne 0x1029143
push 3
push 0x1020c90
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01036d4b
lea eax, [ebp - 0x220]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a2af
mov esi, eax
cmp esi, ebx
jl 0x10293aa
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x1029440
push ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x248], 0x104
mov dword [ebp - 0x230], 2
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
call fcn.0100a2af
mov esi, eax
cmp esi, ebx
jl 0x1029357
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01008ac0
mov esi, dword [ebp - 0x21c]
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, 0x8007000e
mov byte [ebp - 4], 4
js 0x1029349
mov eax, dword [ebp - 0x224]
mov dword [eax], 4
cmp dword [0x104a36c], ebx
je 0x1029261
mov al, byte [0x104a370]
cmp al, 4
jae 0x1029216
cmp al, bl
jne 0x1029261
mov eax, dword [0x104a358]
mov ecx, dword [0x104a35c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x1029261
mov eax, dword [0x104a360]
mov esi, dword [0x104a364]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x1029261
cmp edx, esi
jne 0x1029261
push 4
push 0x1020c90
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01036d4b
push dword [ebp - 0x228]
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x21c]
push dword [ebp - 0x240]
push dword [ebp - 0x22c]
call fcn.01026165
mov esi, eax
cmp esi, ebx
jl 0x1029349
mov eax, dword [ebp - 0x224]
mov dword [eax], 5
cmp dword [0x104a36c], ebx
je 0x10292fb
mov al, byte [0x104a370]
cmp al, 4
jae 0x10292ae
cmp al, bl
jne 0x10292fb
mov eax, dword [0x104a358]
mov ecx, dword [0x104a35c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x10292fb
mov eax, dword [0x104a360]
mov ecx, eax
and ecx, edx
mov edx, dword [0x104a364]
and edx, edi
cmp ecx, eax
jne 0x10292fb
cmp edx, dword [0x104a364]
jne 0x10292fb
push 5
push 0x1020c90
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01036d4b
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x2a0]
cmp dword [ebp - 0x224], 4
jae 0x1029349
cmp dword [edi + 8], ebx
je 0x102933c
push dword [ebp - 0x228]
push dword [edi]
push dword [ebp - 0x240]
push dword [ebp - 0x22c]
cmp dword [edi + 0xc], ebx
je 0x1029335
call fcn.010266ad
jmp 0x102933a
call fcn.01026589
mov esi, eax
inc dword [ebp - 0x224]
add edi, 0x14
cmp esi, ebx
jge 0x1029307
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x102939c
push ebx
lea ecx, [ebp - 0x244]
call fcn.01025a37
mov edi, dword [ebp - 0x228]
push 0x7d5
lea eax, [ebp - 0x244]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.01024d65
mov eax, dword [edi]
push 0xffffffffffffffff
push dword [edi + 0xc]
mov ecx, edi
push 0x1029440
call dword [eax + 0x10]
lea ecx, [ebp - 0x244]
call fcn.01024cb0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10293ed
push ebx
lea ecx, [ebp - 0x24c]
call fcn.01025a37
mov ecx, dword [ebp - 0x228]
push 0x7d7
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 6
call fcn.01024d65
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x228]
call fcn.010256c9
lea ecx, [ebp - 0x24c]
call fcn.01024cb0
cmp esi, ebx
jl 0x102940d
cmp dword [ebp - 0x254], ebx
jne 0x102940d
cmp dword [ebp - 0x25c], ebx
jne 0x102940d
call fcn.010251a5
jmp 0x102940d
mov esi, 0x8007000e
push dword [ebp - 0x234]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x250]
call edi
push dword [ebp - 0x23c]
call edi
push dword [ebp - 0x238]
call edi
mov eax, esi
call fcn.01002362
ret 0x18