Function at 0x889fd4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca8
push ebx
push esi
push edi
lea esi, [ebp - 0x4c]
mov eax, 0x90a718
call fcn.008e306c
mov eax, dword [ebp + 0x10]
mov edx, 0x9077c5
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x88a011
test cl, cl
je 0x88a023
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x88a011
add eax, 2
add edx, 2
test cl, cl
jne 0x889ff5
je 0x88a023
xor eax, eax
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x88a3ed
mov word [esi + 0x10], 0x14
mov edx, dword [ebp + 8]
mov edi, 0x9077cb
lea eax, [ebp - 4]
call fcn.008ecd30
inc dword [esi + 0x1c]
xor ecx, ecx
mov word [esi + 0x10], 8
mov word [esi + 0x10], 0x20
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [esi + 0x1c]
lea eax, [ebp - 4]
call fcn.008ed0c8
lea ecx, [ebp - 8]
push ecx
mov edx, 0x9077dd
lea eax, [ebp - 0xc]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
pop eax
call fcn.008ecf74
test al, al
jne 0x88a0de
xor ecx, ecx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 4]
inc dword [esi + 0x1c]
call fcn.008ed0c8
lea ecx, [ebp - 0x10]
push ecx
mov edx, 0x9077e1
lea eax, [ebp - 0x14]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 0x14]
pop eax
call fcn.008ecf74
test al, al
lea eax, [ebp - 0x14]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [esi + 0x1c]
call fcn.008ece90
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.008ece90
pop ecx
test ecx, ecx
jne 0x88a0de
xor eax, eax
jmp 0x88a0e3
mov eax, 1
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.008ece90
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.008ece90
pop ecx
test cl, cl
je 0x88a13f
mov word [esi + 0x10], 0x2c
mov edx, 0x9077ec
lea eax, [ebp - 0x18]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.008ecec0
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.008ece90
jmp 0x88a1f0
mov word [esi + 0x10], 0x38
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 4]
inc dword [esi + 0x1c]
call fcn.008ed0c8
lea ecx, [ebp - 0x1c]
push ecx
mov edx, 0x9077f7
lea eax, [ebp - 0x20]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 0x20]
pop eax
call fcn.008ecf74
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.008ece90
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.008ece90
pop ecx
test cl, cl
je 0x88a1ce
mov word [esi + 0x10], 0x44
mov edx, 0x9077fe
lea eax, [ebp - 0x24]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.008ecec0
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.008ece90
jmp 0x88a1f0
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [esi + 0x1c]
call fcn.008ece90
pop eax
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x88a3ed
mov word [esi + 0x10], 8
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push 0x20019
push 0
push edi
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x88a243
mov edx, dword [ebp + 0xc]
push esi
mov edi, edx
mov esi, 0x907805
mov eax, edi
mov edx, 2
movsb byte es:[edi], byte [esi]
pop esi
mov eax, ebx
push eax
lea eax, [ebp - 4]
dec dword [esi + 0x1c]
call fcn.008ece90
pop eax
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x88a3ed
mov dword [ebp - 0x54], 0x100
xor edi, edi
jmp 0x88a39f
mov word [esi + 0x10], 0x50
lea edx, [ebp - 0x158]
lea eax, [ebp - 0x28]
call fcn.008ecd30
inc dword [esi + 0x1c]
lea edx, [ebp - 4]
call fcn.008ecf74
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.008ece90
pop eax
test al, al
je 0x88a398
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x158]
push ecx
push 0x20019
push 0
push eax
mov edx, dword [ebp - 0x50]
push edx
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x88a38f
mov word [esi + 0x10], 8
push 0xff
lea eax, [ebp - 0x358]
push 0
push eax
xor ebx, ebx
call fcn.008e2d24
mov dword [ebp - 0x54], 0x100
add esp, 0xc
jmp 0x88a339
cmp ebx, 1
jne 0x88a308
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x158]
or ecx, 0xffffffff
lea esi, [ebp - 0x358]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x88a332
push 0x907806
lea eax, [ebp - 0x358]
push eax
call fcn.008e2dc8
add esp, 8
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x358]
push ecx
call fcn.008e2dc8
add esp, 8
mov dword [ebp - 0x54], 0x100
push 0
push 0
push 0
lea eax, [ebp - 0x54]
push 0
push eax
lea edx, [ebp - 0x158]
mov ecx, ebx
push edx
push ecx
mov eax, dword [ebp - 0x58]
inc ebx
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x88a2d4
mov edx, dword [ebp + 0xc]
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x358]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
mov bl, 1
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x58]
push eax
call sub.advapi32.dll_RegCloseKey
mov dword [ebp - 0x54], 0x100
push 0
push 0
push 0
lea edx, [ebp - 0x54]
push 0
push edx
lea ecx, [ebp - 0x158]
mov eax, edi
push ecx
push eax
mov edx, dword [ebp - 0x50]
inc edi
push edx
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x88a251
mov ecx, dword [ebp - 0x50]
push ecx
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [esi + 0x1c]
call fcn.008ece90
pop eax
mov edx, dword [esi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc