Function at 0x7e7ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x7e7ba9
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 0x7e83f1
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 0x7e7bfd
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, 0x7e8410
call fcn.0040bbfc
je 0x7e7c59
mov ebx, esi
test ebx, ebx
je 0x7e7c2a
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, 0x7e8420
call fcn.0040bbfc
je 0x7e7c59
lea eax, [ebp - 4]
mov edx, 0x7e8410
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 0x7e83bf
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 0x7e8397
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x7e7cb9
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x7e8430
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
call fcn.005fbb18
push dword [ebp - 0x4c]
push 0x7e8410
push dword [ebp - 4]
push 0x7e8440
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 0x7e8336
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 0x7e7d56
push 0x7e8450
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 0x7e8450
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040baec
jmp 0x7e7d63
lea eax, [ebp - 0x10]
mov edx, 0x7e8460
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.0x7e7d88
jmp dword [eax*4 + 0x7e7d8f]
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 [0x7e8464]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x7e8474
mov edx, 0x7e8410
mov eax, dword [ebp - 8]
call fcn.0042c58c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 8]
call fcn.0040abb8
movzx eax, byte [0x7e8464]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x7e8488
mov edx, 0x7e849c
mov eax, dword [ebp - 8]
call fcn.0042c58c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 8]
call fcn.0040abb8
movzx eax, byte [0x7e8464]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x7e84ac
mov edx, 0x7e8450
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 0x7e7e62
mov ecx, 0x7e8460
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x20]
push dword [ebp - 0x10]
push 0x7e84c0
push dword [ebp - 8]
push 0x7e8450
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.0x7e7d88
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, 0x7e84d4
call fcn.0040ba64
push dword [ebp - 0x10]
push 0x7e84f0
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.0x7e7d88
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 0x7e80c1
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 0x7e7f3b
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 0x7e7f53
cmp edx, dword [eax - 4]
jb 0x7e7f58
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 0x7e7f88
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e801f
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e7fdc
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e7fb2
cmp ebx, dword [eax - 4]
jb 0x7e7fb7
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, 0x7e8500
call fcn.0060a768
jmp 0x7e8017
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e7fe9
cmp ebx, dword [eax - 4]
jb 0x7e7fee
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, 0x7e8518
call fcn.0060a768
inc ebx
dec esi
jne 0x7e7f97
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 0x7e80b4
mov eax, dword [ebp - 0x30]
sub eax, 0xb
jne 0x7e808b
push dword [ebp - 0x10]
push 0x7e8528
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 0x7e80b4
push dword [ebp - 0x10]
push 0x7e8548
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.0x7e7d88
xor edx, edx
push ebp
push 0x7e81e7
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 0x7e8114
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e81b1
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e816e
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e813e
cmp ebx, dword [eax - 4]
jb 0x7e8143
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, 0x7e8500
call fcn.0060a768
jmp 0x7e81a9
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e817b
cmp ebx, dword [eax - 4]
jb 0x7e8180
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, 0x7e8518
call fcn.0060a768
inc ebx
dec esi
jne 0x7e8123
push dword [ebp - 0x10]
push 0x7e8560
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.0x7e7d88
xor edx, edx
push ebp
push 0x7e8320
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, 0x7e8580
call fcn.0040ba64
lea eax, [ebp - 8]
call fcn.0040a790
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x7e8250
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x7e82ed
mov ebx, 1
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x7e82aa
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e827a
cmp ebx, dword [eax - 4]
jb 0x7e827f
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, 0x7e8500
call fcn.0060a768
jmp 0x7e82e5
mov eax, dword [ebp - 0xc]
dec ebx
test eax, eax
je 0x7e82b7
cmp ebx, dword [eax - 4]
jb 0x7e82bc
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, 0x7e8518
call fcn.0060a768
inc ebx
dec esi
jne 0x7e825f
push dword [ebp - 0x10]
push 0x7e8590
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.0x7e7d88
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x7e7d18
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 0x7e8397
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.007e7ba0
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x7e8359
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e83c6
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