Function at 0x102a9bd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x250
mov eax, 0x103f74b
call fcn.01003649
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and dword [eax], 0
cmp dword [0x104a3ac], 0
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], ecx
je 0x102aa49
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102a9f7
test al, al
jne 0x102aa49
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edi, 0x200
mov esi, 0x80000000
and eax, edi
and ecx, esi
or eax, ecx
je 0x102aa53
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102aa53
cmp edx, ebx
jne 0x102aa53
push 0
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
jmp 0x102aa53
mov esi, 0x80000000
mov edi, 0x200
push 0
call fcn.01026d91
mov ebx, eax
test ebx, ebx
jl 0x102b0f8
lea eax, [ebp - 0x248]
push eax
push 0x20019
push 0
push 0x100a758
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov ebx, eax
test ebx, ebx
jl 0x102b0f8
push dword [ebp - 0x220]
call fcn.0103d48c
push eax
call fcn.01027cd9
mov ebx, eax
xor eax, eax
mov word [ebp - 0x16], ax
mov dword [ebp - 0x258], 0x206
mov dword [ebp - 0x254], 2
test ebx, ebx
jl 0x102aaf7
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x254]
push eax
push 0x100c218
push 0
push dword [ebp - 0x248]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
call fcn.0100a7a1
mov ebx, eax
test ebx, ebx
jge 0x102ab4b
push 0
lea ecx, [ebp - 0x244]
call fcn.01026f3f
mov ecx, dword [ebp - 0x220]
and dword [ebp - 4], 0
push 0x7d5
lea eax, [ebp - 0x244]
push eax
call fcn.0102629d
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
push 0xffffffffffffffff
push dword [ecx + 0xc]
push 0x100c218
call dword [eax + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.010261ea
test ebx, ebx
jl 0x102b0ec
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0100883d
push 0x10025d0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 1
call fcn.0100883d
push 0x100b908
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0100883d
push 0x102b120
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0100883d
push 0x102b104
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0100883d
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.01026177
cmp dword [ebp - 0x238], 0
je 0x102abfe
xor eax, eax
cmp dword [ebp - 0x22c], eax
je 0x102abfe
cmp dword [ebp - 0x230], eax
je 0x102abfe
cmp dword [ebp - 0x23c], eax
je 0x102abfe
cmp dword [ebp - 0x234], eax
jne 0x102ac05
mov ebx, 0x8007000e
xor eax, eax
cmp ebx, eax
jl 0x102b0be
mov ecx, dword [ebp - 0x228]
mov dword [ecx], 1
cmp dword [0x104a3ac], eax
je 0x102ac74
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102ac2e
test al, al
jne 0x102ac74
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102ac74
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102ac74
cmp edx, ebx
jne 0x102ac74
push 1
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.01026efd
push 0x1022490
lea ecx, [ebp - 0x224]
call fcn.01026b36
push dword [ebp - 0x220]
push dword [ebp - 0x23c]
push dword [ebp - 0x224]
push dword [ebp - 0x22c]
call fcn.01027189
mov ebx, eax
mov dword [ebp - 4], 6
jmp 0x102acf4
push dword [ebp - 0x224]
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
jl 0x102b0be
lea eax, [ebp - 0x240]
push eax
push 2
push 0
push 0x10223fc
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov ebx, eax
test ebx, ebx
jge 0x102ad7e
push 0
lea ecx, [ebp - 0x250]
call fcn.01026f3f
mov ecx, dword [ebp - 0x220]
push 0x7d7
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 9
call fcn.0102629d
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
push 0xffffffffffffffff
push dword [ecx + 0xc]
push 0x10223fc
call dword [eax + 0x10]
lea ecx, [ebp - 0x250]
call fcn.010261ea
jmp 0x102adb5
push dword [ebp - 0x220]
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x22c]
push dword [ebp - 0x240]
call fcn.0102a377
push dword [ebp - 0x240]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x224], 0
mov byte [ebp - 4], 0xa
test ebx, ebx
jl 0x102afe7
mov eax, dword [ebp - 0x228]
mov dword [eax], 7
cmp dword [0x104a3ac], 0
je 0x102ae30
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102adea
test al, al
jne 0x102ae30
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102ae30
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102ae30
cmp edx, ebx
jne 0x102ae30
push 7
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push eax
call fcn.0100ad0c
mov ebx, eax
test ebx, ebx
jl 0x102afe7
mov eax, dword [ebp - 0x228]
mov dword [eax], 8
cmp dword [0x104a3ac], 0
je 0x102aeb4
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102ae6e
test al, al
jne 0x102aeb4
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102aeb4
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102aeb4
cmp edx, ebx
jne 0x102aeb4
push 8
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x238]
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
call fcn.01028e7d
mov ebx, eax
test ebx, ebx
jl 0x102afe7
mov eax, dword [ebp - 0x228]
mov dword [eax], 9
cmp dword [0x104a3ac], 0
je 0x102af49
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102af03
test al, al
jne 0x102af49
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102af49
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102af49
cmp edx, ebx
jne 0x102af49
push 9
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
call fcn.01029a8d
mov ebx, eax
test ebx, ebx
jl 0x102afe7
mov eax, dword [ebp - 0x228]
mov dword [eax], 0xa
cmp dword [0x104a3ac], 0
je 0x102afd4
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102af8e
test al, al
jne 0x102afd4
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102afd4
mov eax, dword [0x104a3a0]
mov ebx, dword [0x104a3a4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x102afd4
cmp edx, ebx
jne 0x102afd4
push 0xa
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call fcn.01027ed1
mov ebx, eax
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 5
test eax, eax
je 0x102affb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jl 0x102b0be
mov eax, dword [ebp - 0x228]
mov dword [eax], 0xb
cmp dword [0x104a3ac], 0
je 0x102b06b
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102b025
test al, al
jne 0x102b06b
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
and eax, edi
and ecx, esi
or eax, ecx
je 0x102b06b
mov eax, dword [0x104a3a0]
mov ecx, eax
and ecx, edi
mov edi, dword [0x104a3a4]
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x102b06b
cmp edx, edi
jne 0x102b06b
push 0xb
push 0x1022300
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
push 1
call fcn.01026d91
mov ebx, eax
test ebx, ebx
jge 0x102b0be
push 0
lea ecx, [ebp - 0x250]
call fcn.01026f3f
mov esi, dword [ebp - 0x220]
push 0x7d6
lea eax, [ebp - 0x250]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0102629d
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, esi
push 0x1004c88
call dword [eax + 0x10]
lea ecx, [ebp - 0x250]
call fcn.010261ea
push dword [ebp - 0x234]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x23c]
call esi
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x22c]
call esi
push dword [ebp - 0x238]
call esi
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.01002fbc
ret 8