Function at 0x500ab875
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x144
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0x4c]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0x78]
mov dword [ebp + 0x60], ecx
push dword [ebp + 0x74]
call esi
cmp eax, ebx
je 0x500ab8ab
push eax
jmp 0x500abc20
lea eax, [ebp + 0x50]
push eax
push edi
push ebx
push 0x5000b410
push dword [ebp + 0x4c]
call esi
test eax, eax
jne 0x500ab9fa
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x64]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x500ab9f1
cmp dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
jbe 0x500ab9f1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x68]
mov dword [ebp + 0x54], 0x80
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x500ab9dd
mov esi, 0x50001f20
lea edi, [ebp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x28]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x58]
push eax
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
lea eax, [ebp + 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x500ab9dd
push dword [0x50297d50]
push 0x4c
call fcn.50040c9c
cmp eax, ebx
pop ecx
pop ecx
je 0x500ab96e
push 1
mov ecx, eax
call fcn.500a983f
mov dword [ebp + 0x78], eax
jmp 0x500ab971
mov dword [ebp + 0x78], ebx
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
je 0x500ab9d4
push dword [ebp + 0x7c]
lea esi, [ebp + 0x28]
push dword [ebp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp + 0x74]
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
test eax, eax
jge 0x500ab9a4
mov ecx, dword [ebp + 0x78]
mov eax, dword [ecx]
push 1
call dword [eax + 0x24]
jmp 0x500ab9d4
mov esi, dword [ebp + 0x60]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
jmp 0x500ab9c6
mov edx, dword [eax + 0x40]
mov ecx, dword [ebp + 0x78]
cmp edx, dword [ecx + 0x40]
mov edx, dword [eax]
jge 0x500abb3b
mov ecx, eax
call dword [edx + 0x10]
cmp eax, ebx
jne 0x500ab9b0
push dword [ebp + 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x64]
jb 0x500ab8ee
mov edi, 0x20019
push dword [ebp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x58]
push eax
push edi
push ebx
push 0x5000b400
push dword [ebp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [ebp + 0x44], eax
jne 0x500abc14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x54]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x500abc0b
cmp dword [ebp + 0x54], ebx
mov dword [ebp + 0x64], ebx
jbe 0x500abc0b
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x64]
mov dword [ebp + 0x40], 0x80
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x500abbfc
mov esi, 0x50001f20
lea edi, [ebp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x28]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x58]
push eax
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
lea eax, [ebp + 0x5c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x500abbfc
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x48]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x500abbf3
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x68], ebx
jbe 0x500abbf3
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0x68]
mov dword [ebp + 0x38], 0x80
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x500abbe4
lea eax, [ebp + 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x500abbe4
push dword [0x50297d50]
push 0x4c
call fcn.50040c9c
cmp eax, ebx
pop ecx
pop ecx
je 0x500abb46
push 1
mov ecx, eax
call fcn.500a983f
mov dword [ebp + 0x78], eax
jmp 0x500abb49
push ecx
mov ecx, eax
call dword [edx + 0x30]
jmp 0x500ab9d4
mov dword [ebp + 0x78], ebx
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
je 0x500abbdb
push dword [ebp + 0x7c]
lea esi, [ebp + 0x28]
push dword [ebp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp + 0x74]
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
test eax, eax
jge 0x500abb7f
mov ecx, dword [ebp + 0x78]
mov eax, dword [ecx]
push 1
call dword [eax + 0x24]
jmp 0x500abbdb
mov ecx, dword [ebp + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [ebp + 0x78]
mov edi, 0x50001f20
add eax, 0x20
push edi
push eax
call fcn.5002e451
test eax, eax
je 0x500abca9
jmp 0x500abbcc
cmp dword [esi + 0x1c], ebx
jne 0x500abbb8
push edi
lea eax, [esi + 0x20]
push eax
call fcn.5002e451
test eax, eax
je 0x500abbc3
mov ecx, dword [esi + 0x40]
mov eax, dword [ebp + 0x78]
cmp ecx, dword [eax + 0x40]
jge 0x500abc2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x500abba5
mov ecx, dword [ebp + 0x60]
push dword [ebp + 0x78]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x48]
jb 0x500abace
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x54]
jb 0x500aba44
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x44]
call fcn.5006846c
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
jmp 0x500abbdb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp dword [esi + 0x1c], ebx
mov dword [ebp + 0x3c], eax
jne 0x500abc74
mov eax, dword [ebp + 0x78]
add eax, 0x20
push eax
lea eax, [esi + 0x20]
push eax
call fcn.5002e451
test eax, eax
je 0x500abc74
mov eax, dword [esi + 0x40]
mov edi, dword [ebp + 0x78]
cmp eax, dword [edi + 0x40]
jl 0x500abc77
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
jmp 0x500abbdb
mov edi, dword [ebp + 0x78]
lea eax, [edi + 0x20]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.5003f10b
test eax, eax
je 0x500abca0
mov ecx, dword [ebp + 0x3c]
cmp ecx, ebx
je 0x500abca0
lea eax, [edi + 0x20]
push eax
add ecx, 0x20
push ecx
call fcn.5002e451
test eax, eax
jne 0x500abc67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x500abc39
jmp 0x500abbd0