Function at 0x460d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5024f8
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x559680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x81c], 0
mov eax, dword [0x5591b8]
mov ecx, 0x5591b8
mov dword [ebp - 4], 0
mov dword [ebp - 0x820], esi
mov dword [ebp - 0x838], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
mov ebx, 1
push eax
mov dword [ebp - 0x81c], ebx
call fcn.004e0ad0
add esp, 0xc
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x830]
mov dword [ebp - 4], ebx
call fcn.0040abf0
mov dword [ebp - 0x824], eax
call fcn.00462040
test al, al
jne 0x460e3c
push 0x28
call fcn.004ddf94
add esp, 4
mov edi, eax
xor esi, esi
lea ecx, [ecx]
call fcn.004dff94
add eax, dword [0x55aac0]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x460e10
mov eax, dword [edi + 0x24]
push edi
mov dword [0x55aac0], eax
call fcn.004e00c3
mov esi, dword [ebp - 0x820]
add esp, 4
cmp dword [ebp - 0x824], 0
jne 0x4610de
push str.svcVe
lea ecx, [ebp - 0x818]
call fcn.00401b70
push str.rsion
push eax
lea eax, [ebp - 0x834]
push eax
mov byte [ebp - 4], 2
call fcn.004029e0
add esp, 0xc
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x824]
push ecx
push 0
push dword [eax]
mov dword [ebp - 0x820], 0x800
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x460eeb
mov eax, dword [ebp - 0x824]
cmp eax, 1
je 0x460ebe
cmp eax, 2
je 0x460ebe
mov edi, 0xd
jmp 0x460eeb
mov eax, dword [ebp - 0x820]
test eax, eax
je 0x460ee0
test al, 1
jne 0x460ed9
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x460ee9
mov edi, 0xd
jmp 0x460eeb
xor eax, eax
mov word [ebp - 0x810], ax
xor edi, edi
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x460f0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460f2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x460f5e
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.00401b70
mov eax, dword [eax]
mov ebx, 3
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 0x811], 1
cmp dword [eax - 0xc], edi
jne 0x460f65
mov byte [ebp - 0x811], 0
or edi, 0xffffffff
test bl, 2
je 0x460f95
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
and ebx, 0xfffffffd
mov dword [ebp - 0x81c], ebx
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460f95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x811], 0
je 0x460fb7
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460fa7
jmp 0x4610cb
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x50e70c
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x818], 0x400
call fcn.0040aca0
mov edx, dword [0x55aac0]
mov dword [ebp - 0x818], eax
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 4
jne 0x461047
mov eax, 0x51eb851f
imul dword [0x55aac0]
mov eax, dword [0x55aac0]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub eax, ecx
xor ecx, ecx
add eax, 0x2f4
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ddf94
push eax
call fcn.004e00c3
add esp, 8
cmp dword [ebp - 0x818], 0
jne 0x46107a
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.00401b70
mov eax, dword [eax]
or ebx, 4
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 0x811], 1
jne 0x461081
mov byte [ebp - 0x811], 0
test bl, 4
je 0x4610ac
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
and ebx, 0xfffffffb
mov dword [ebp - 0x81c], ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4610ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x811], 0
je 0x4610de
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4610c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call fcn.00409230
mov eax, dword [ebp - 0x830]
test eax, eax
je 0x4610ef
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df4f4
mov esp, ebp
pop ebp
ret