Function at 0x100077a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x100215e0]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x14], eax
push edi
mov eax, 0xf
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
mov eax, dword [ebp + 8]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x10007a5e
cmp byte [eax], 0x5b
jne 0x10007a5e
push eax
mov byte [ebp - 4], 2
call fcn.1000fbe2
add esp, 4
mov ebx, eax
xor edi, edi
cmp edi, 5
jae 0x1000789c
mov ecx, dword [edi*8 + 0x100213d0]
cmp ecx, esi
je 0x100078ad
mov eax, 0x7fffffff
xor edx, edx
mov esi, eax
test eax, eax
je 0x100078ad
cmp byte [ecx], 0
je 0x10007844
inc ecx
dec eax
jmp 0x10007837
test edx, edx
jl 0x100078ad
mov ecx, dword [edi*8 + 0x100213d0]
sub esi, eax
lea eax, [esi - 1]
push eax
push ecx
push ebx
call fcn.1000f89b
add esp, 0xc
test eax, eax
jne 0x100078b7
mov eax, dword [edi*8 + 0x100213d4]
add ebx, esi
mov dword [ebp - 0x58], eax
cmp byte [ebx], 0x5c
jne 0x1000787f
push ebx
call fcn.1000fbe2
add esp, 4
mov ebx, eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007884
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.10006e40
xor esi, esi
cmp edi, 5
mov edi, 0x10
jne 0x100078bf
mov esi, 0xd
jmp 0x10007a13
mov esi, 0xd
jmp 0x10007a0e
inc edi
xor esi, esi
jmp 0x10007816
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x100078ca
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x5d
je 0x100078de
mov esi, 0xd
jmp 0x10007a13
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x100078f2
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x30]
call fcn.10006230
jmp 0x100078fe
sub eax, ecx
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10006b20
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x50], 0x5c
call fcn.100057c0
mov ecx, dword [ebp - 0x1c]
mov esi, eax
lea eax, [ecx - 1]
cmp esi, eax
jne 0x10007936
cmp eax, ecx
ja 0x1000792f
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x30]
call fcn.10006230
jmp 0x1000798f
push 0
sub eax, ecx
push eax
jmp 0x10007987
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call fcn.100076a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10006d30
cmp dword [ebp - 0x60], edi
mov byte [ebp - 4], 2
jb 0x1000796e
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.1000f975
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp esi, eax
ja 0x10007982
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x30]
call fcn.10006230
jmp 0x1000798f
push 0
sub esi, eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10006b20
mov eax, dword [ebp - 0x1c]
test eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
je 0x100079c0
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x100079a7
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10007a13
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x100079cb
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x5c]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10007a13
mov eax, dword [ebp - 0x5c]
cmp eax, 1
je 0x10007a13
cmp eax, 2
je 0x10007a13
mov esi, 0x65e
jmp 0x10007a13
mov edi, 0x10
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10007a26
cmp dword [ebp - 0x58], eax
je 0x10007a26
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], edi
jb 0x10007a37
mov eax, dword [ebp - 0x48]
push eax
call fcn.1000f975
add esp, 4
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x10007a5a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1000f975
add esp, 4
mov eax, esi
jmp 0x10007a63
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.1000e24e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8