Function at 0x102a377
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x294
mov eax, 0x103f68a
call fcn.01002a3a
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 0x1019794
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], eax
call fcn.0100883d
xor ebx, ebx
push 0x102a98c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.0100883d
push 0x102a970
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.0100883d
push 0x10223bc
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.0100883d
mov byte [ebp - 4], 3
cmp dword [ebp - 0x238], ebx
je 0x102a910
cmp dword [ebp - 0x23c], ebx
je 0x102a910
cmp edi, ebx
je 0x102a910
cmp dword [ebp - 0x234], ebx
je 0x102a910
mov dword [esi], 2
mov edi, 0x80000000
cmp dword [0x104a3ac], ebx
je 0x102a4a4
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102a459
cmp al, bl
jne 0x102a4a4
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x102a4a4
mov eax, dword [0x104a3a0]
mov esi, dword [0x104a3a4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x102a4a4
cmp edx, esi
jne 0x102a4a4
push 2
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
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.010269c5
mov esi, eax
cmp esi, ebx
jl 0x102a560
xor eax, eax
cmp dword [ebp - 0x21c], ebx
sete al
mov dword [ebp - 0x254], eax
cmp esi, ebx
mov dword [ebp - 0x21c], ebx
jl 0x102a915
lea eax, [ebp - 0x298]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x21c], 4
jae 0x102a5d7
cmp dword [eax + 8], ebx
je 0x102a58c
mov dword [eax], ebx
jmp 0x102a5c4
push dword [ebp - 0x228]
push dword [eax - 8]
push dword [ebp - 0x22c]
call fcn.0102754d
mov ecx, dword [ebp - 0x220]
mov esi, eax
xor eax, eax
cmp esi, ebx
setge al
cmp esi, ebx
mov dword [ecx], eax
jge 0x102a5be
mov eax, ecx
cmp dword [eax - 4], ebx
je 0x102a5be
xor esi, esi
mov eax, dword [ebp - 0x220]
inc dword [ebp - 0x21c]
add eax, 0x14
cmp esi, ebx
mov dword [ebp - 0x220], eax
jge 0x102a57a
cmp esi, ebx
jl 0x102a915
mov eax, dword [ebp - 0x224]
mov dword [eax], 3
cmp dword [0x104a3ac], ebx
je 0x102a64b
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102a600
cmp al, bl
jne 0x102a64b
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x102a64b
mov eax, dword [0x104a3a0]
mov esi, dword [0x104a3a4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x102a64b
cmp edx, esi
jne 0x102a64b
push 3
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
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.0100a7a1
mov esi, eax
cmp esi, ebx
jl 0x102a8b2
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x102a948
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.0100a7a1
mov esi, eax
cmp esi, ebx
jl 0x102a85f
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0100883d
mov esi, dword [ebp - 0x21c]
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, 0x8007000e
mov byte [ebp - 4], 4
js 0x102a851
mov eax, dword [ebp - 0x224]
mov dword [eax], 4
cmp dword [0x104a3ac], ebx
je 0x102a769
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102a71e
cmp al, bl
jne 0x102a769
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x102a769
mov eax, dword [0x104a3a0]
mov esi, dword [0x104a3a4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x102a769
cmp edx, esi
jne 0x102a769
push 4
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
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.0102766d
mov esi, eax
cmp esi, ebx
jl 0x102a851
mov eax, dword [ebp - 0x224]
mov dword [eax], 5
cmp dword [0x104a3ac], ebx
je 0x102a803
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102a7b6
cmp al, bl
jne 0x102a803
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edx, 0x200
and eax, edx
and ecx, edi
or eax, ecx
je 0x102a803
mov eax, dword [0x104a3a0]
mov ecx, eax
and ecx, edx
mov edx, dword [0x104a3a4]
and edx, edi
cmp ecx, eax
jne 0x102a803
cmp edx, dword [0x104a3a4]
jne 0x102a803
push 5
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x2a0]
cmp dword [ebp - 0x224], 4
jae 0x102a851
cmp dword [edi + 8], ebx
je 0x102a844
push dword [ebp - 0x228]
push dword [edi]
push dword [ebp - 0x240]
push dword [ebp - 0x22c]
cmp dword [edi + 0xc], ebx
je 0x102a83d
call fcn.01027bb5
jmp 0x102a842
call fcn.01027a91
mov esi, eax
inc dword [ebp - 0x224]
add edi, 0x14
cmp esi, ebx
jge 0x102a80f
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x102a8a4
push ebx
lea ecx, [ebp - 0x244]
call fcn.01026f3f
mov edi, dword [ebp - 0x228]
push 0x7d5
lea eax, [ebp - 0x244]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0102629d
mov eax, dword [edi]
push 0xffffffffffffffff
push dword [edi + 0xc]
mov ecx, edi
push 0x102a948
call dword [eax + 0x10]
lea ecx, [ebp - 0x244]
call fcn.010261ea
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102a8f5
push ebx
lea ecx, [ebp - 0x24c]
call fcn.01026f3f
mov ecx, dword [ebp - 0x228]
push 0x7d7
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 6
call fcn.0102629d
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x228]
call fcn.01026c01
lea ecx, [ebp - 0x24c]
call fcn.010261ea
cmp esi, ebx
jl 0x102a915
cmp dword [ebp - 0x254], ebx
jne 0x102a915
cmp dword [ebp - 0x25c], ebx
jne 0x102a915
call fcn.010266dd
jmp 0x102a915
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.01002a77
ret 0x18