Function at 0x480b50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x480b9a
mov ecx, dword [esi + 4]
push ecx
push eax
call fcn.00437400
mov edx, dword [esi]
push edx
call fcn.004eb17a
add esp, 0xc
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
movzx edi, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
neg edi
sbb edi, edi
and edi, 0x100
add edi, 0x20119
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], edi
call fcn.0041dc50
cmp eax, ebx
je 0x480bf1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x480ec6
push eax
jmp 0x480ebd
mov esi, dword [ebp - 0x34]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x480eb1
inc dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
jbe 0x480eb1
lea esp, [esp]
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
cmp esi, ebx
jl 0x480edd
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x480c77
push esi
lea ecx, [ebp + 0x10]
call fcn.00406d20
mov ecx, dword [ebp + 0x10]
mov eax, ecx
cmp esi, dword [ecx - 8]
jg 0x480edd
push ebx
push ebx
mov dword [ecx - 0xc], esi
mov edx, dword [ebp + 0x10]
push ebx
xor ecx, ecx
push ebx
mov word [edx + esi*2], cx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov eax, dword [ebp - 0x34]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ebabf
add esp, 8
cmp eax, ebx
jl 0x480edd
mov ecx, dword [ebp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x480edd
mov dword [ecx - 0xc], eax
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp esi, ebx
je 0x480d06
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480e9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x480e9e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
push edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041dc50
test eax, eax
je 0x480d42
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x480d3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
jmp 0x480cdb
mov edi, dword [ebp - 0x40]
push ebx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x480d91
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x480d73
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x480e8f
mov eax, dword [ebp - 0x18]
mov edx, dword [0x587944]
inc eax
mov esi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
mov dword [ebp - 0x28], esi
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
push esi
lea ecx, [ebp + 8]
call fcn.004071b0
push eax
push str.UninstallString
lea ecx, [ebp - 0x40]
call fcn.0041dd00
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ebabf
add esp, 8
cmp eax, ebx
jl 0x480edd
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jg 0x480edd
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov word [ecx + eax*2], dx
cmp esi, ebx
jne 0x480e41
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], ebx
je 0x480e41
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.00406ef0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004378c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0041b080
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00406ef0
jmp 0x480e9b
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480e64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x480e76
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480e9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jb 0x480c30
mov esi, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x480ec6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00406170
int3