Function at 0x483120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8668
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x4832c7
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov dword [ebp - 0x34], ebx
test ebx, ebx
jne 0x4832be
cmp dword [ebp - 0x14], eax
je 0x4832be
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edi, 2
inc eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d7faf
mov esi, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mul edi
mov byte [ebp - 4], 1
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d7faf
add esp, 8
mov edi, eax
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x14], ebx
jbe 0x4832ac
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4832a2
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x48332b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
dec eax
jne 0x4832db
mov ecx, dword [ebp + 0x10]
push edi
push esi
call fcn.0043c330
mov ecx, eax
call fcn.0043a690
mov edx, dword [ebp - 0x38]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4832a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x483210
push edi
call fcn.004d89f1
push esi
call fcn.004d89f1
mov ebx, dword [ebp - 0x34]
add esp, 8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 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
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x38]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x483305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.004d89f1
push esi
call fcn.004d89f1
add esp, 8
mov eax, 0xb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0043a9b0
int3