Function at 0x7e7e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x7e7e59
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7e86a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00423774
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.0040abb8
mov esi, dword [ebp - 4]
mov ebx, esi
test ebx, ebx
je 0x7e7ead
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040bc34
mov eax, dword [ebp - 0x40]
mov edx, 0x7e86c0
call fcn.0040bbfc
je 0x7e7f09
mov ebx, esi
test ebx, ebx
je 0x7e7eda
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040bc34
mov eax, dword [ebp - 0x44]
mov edx, 0x7e86d0
call fcn.0040bbfc
je 0x7e7f09
lea eax, [ebp - 4]
mov edx, 0x7e86c0
call fcn.0040ba0c
mov dl, 1
mov eax, dword [0x60799c]
call fcn.00608b7c
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x47e80c]
call fcn.004a2178
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0x7e866f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00608c44
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
call fcn.00608f2c
test al, al
je 0x7e8647
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x7e7f69
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x7e86e0
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
call fcn.005fbb18
push dword [ebp - 0x4c]
push 0x7e86c0
push dword [ebp - 4]
push 0x7e86f0
lea eax, [ebp - 0x48]
mov edx, 5
call fcn.0040baec
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.006094c0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7e85e6
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x10], 0
je 0x7e8006
push 0x7e8700
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x50]
push 0x7e8700
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040baec
jmp 0x7e8013
lea eax, [ebp - 0x10]
mov edx, 0x7e8710
call fcn.0040abb8
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.00609884
and eax, 0x7f
cmp eax, 5
ja case.default.0x7e8038
jmp dword [eax*4 + 0x7e803f]
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.00609928
movzx eax, byte [0x7e8714]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x7e8724
mov edx, 0x7e86c0
mov eax, dword [ebp - 8]
call fcn.0042c58c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 8]
call fcn.0040abb8
movzx eax, byte [0x7e8714]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x7e8738
mov edx, 0x7e874c
mov eax, dword [ebp - 8]
call fcn.0042c58c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 8]
call fcn.0040abb8
movzx eax, byte [0x7e8714]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x7e875c
mov edx, 0x7e8700
mov eax, dword [ebp - 8]
call fcn.0042c58c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
call fcn.0040abb8
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x68], 0
jne 0x7e8112
mov ecx, 0x7e8710
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x20]
push dword [ebp - 0x10]
push 0x7e8770
push dword [ebp - 8]
push 0x7e8700
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.0040baec
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp case.default.0x7e8038
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x24]
call fcn.00609abc
lea ecx, [ebp - 0x70]
mov edx, 8
call fcn.00424354
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 8]
mov edx, 0x7e8784
call fcn.0040ba64
push dword [ebp - 0x10]
push 0x7e87a0
push dword [ebp - 8]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp case.default.0x7e8038
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x24]
call fcn.00609858
mov edx, eax
add edx, 0x10
lea eax, [ebp - 0xc]
call fcn.0040b98c
xor edx, edx
push ebp
push 0x7e8371
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x7e81eb
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0xc]
call fcn.0040ad48
mov edx, 1
dec edx
test eax, eax
je 0x7e8203
cmp edx, dword [eax - 4]
jb 0x7e8208
call fcn.004089ac
inc edx
lea ecx, [eax + edx*2 - 2]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00609b00
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.0040b98c
lea eax, [ebp - 8]
call fcn.0040a790
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x7e8238
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e82cf
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e828c
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e8262
cmp ebx, dword [eax - 4]
jb 0x7e8267
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0x80]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 8]
mov ecx, 0x7e87b0
call fcn.0060a768
jmp 0x7e82c7
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e8299
cmp ebx, dword [eax - 4]
jb 0x7e829e
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0x84]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 8]
mov ecx, 0x7e87c8
call fcn.0060a768
inc ebx
dec esi
jne 0x7e8247
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x88]
call fcn.0040b7f8
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x7e8364
mov eax, dword [ebp - 0x30]
sub eax, 0xb
jne 0x7e833b
push dword [ebp - 0x10]
push 0x7e87d8
push dword [ebp - 8]
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x7e8364
push dword [ebp - 0x10]
push 0x7e87f8
push dword [ebp - 8]
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x7e8038
xor edx, edx
push ebp
push 0x7e8497
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0060a4d8
lea eax, [ebp - 8]
call fcn.0040a790
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x7e83c4
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e8461
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e841e
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e83ee
cmp ebx, dword [eax - 4]
jb 0x7e83f3
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0x98]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 8]
mov ecx, 0x7e87b0
call fcn.0060a768
jmp 0x7e8459
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e842b
cmp ebx, dword [eax - 4]
jb 0x7e8430
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0x9c]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 8]
mov ecx, 0x7e87c8
call fcn.0060a768
inc ebx
dec esi
jne 0x7e83d3
push dword [ebp - 0x10]
push 0x7e8810
push dword [ebp - 8]
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x7e8038
xor edx, edx
push ebp
push 0x7e85d0
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x24]
call fcn.00609928
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xc]
mov ecx, 0x7e8830
call fcn.0040ba64
lea eax, [ebp - 8]
call fcn.0040a790
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x7e8500
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e859d
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e855a
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e852a
cmp ebx, dword [eax - 4]
jb 0x7e852f
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0xac]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 8]
mov ecx, 0x7e87b0
call fcn.0060a768
jmp 0x7e8595
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e8567
cmp ebx, dword [eax - 4]
jb 0x7e856c
call fcn.004089ac
inc ebx
movzx eax, byte [eax + ebx*2 - 2]
lea ecx, [ebp - 0xb0]
mov edx, 2
call fcn.00424354
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 8]
mov ecx, 0x7e87c8
call fcn.0060a768
inc ebx
dec esi
jne 0x7e850f
push dword [ebp - 0x10]
push 0x7e8840
push dword [ebp - 8]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x7e8038
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x7e7fc8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.006093f8
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x7e8647
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.007e7e50
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x7e8609
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e8676
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x24], edx
call fcn.00408ac4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x28], edx
call fcn.00408ac4
ret