Function at 0x463f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5085de
mov eax, dword fs:[0]
push eax
sub esp, 0xccc
mov eax, dword [0x565680]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0xcbc], 0
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc4], ebx
mov dword [ebp - 0xcd8], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0xcbc], 1
call fcn.004e67c0
add esp, 0xc
call fcn.004650f0
test al, al
jne 0x464000
mov ebx, dword [0x566ac0]
mov eax, ebx
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov esi, 0xca
mov dword [ebp - 0xcb4], ecx
mov dword [ebp - 0xcb0], eax
test eax, eax
jle 0x463ff5
mov eax, ebx
mov ebx, dword [ebp - 0xcb0]
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
lea esp, [esp]
test edi, edi
jle 0x463fe4
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x463fd8
mov ecx, dword [ebp - 0xcb4]
add edx, ecx
dec ebx
jne 0x463fd0
mov ebx, dword [0x566ac0]
mov eax, dword [ebp - 0xcb0]
inc ecx
mov dword [ebp - 0xcb4], ecx
cmp ecx, esi
jl 0x463fb1
mov dword [ebp - 0xcd0], 0
mov dword [ebp - 0xccc], 0
mov dword [ebp - 0xcc8], 0
mov ecx, dword [0x566ac0]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 5
idiv esi
mov dword [ebp - 4], 1
cmp edx, 2
jne 0x464044
dec ecx
mov dword [0x566ac0], ecx
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcb4], eax
mov eax, str.SOFTWAREWow6432NodeMicr
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x46408b
movzx esi, ax
push 0
push esi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x46409d
push esi
push eax
lea ecx, [ebp - 0xcb4]
call fcn.004073a0
jmp 0x46409d
push 0x19
push str.SOFTWAREWow6432NodeMicr
lea ecx, [ebp - 0xcb4]
call fcn.00409940
push 0x17
push str.osoftInternet_Explorer
lea ecx, [ebp - 0xcb4]
mov byte [ebp - 4], 3
call fcn.00402de0
mov esi, dword [ebp - 0xcb4]
mov ecx, 1
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x4640db
push 0
lea ecx, [ebp - 0xcb4]
call fcn.00407590
mov esi, dword [ebp - 0xcb4]
push 1
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xcd0]
call fcn.0040bb90
mov dword [ebp - 0xcb8], eax
mov eax, dword [0x566ac0]
mov ecx, eax
imul ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x46410b
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 6
jne 0x464168
mov dword [ebp - 0xcb0], 0
lea ebx, [ebp - 0xca8]
xor ecx, ecx
inc ecx
cdq
xor edi, edi
idiv ecx
mov dword [ebp - 0xcd4], ecx
mov dword [ebp - 0xcc0], edx
lea ecx, [edi + 1]
mov edi, ecx
cmp edi, 0xe
jl 0x464134
mov ecx, dword [ebp - 0xcd4]
mov eax, dword [0x566ac0]
add ebx, 0xe
cmp ecx, 7
jl 0x464122
mov eax, dword [ebp - 0xcb0]
inc eax
mov dword [ebp - 0xcb0], eax
cmp eax, 0xc
mov eax, dword [0x566ac0]
jl 0x464120
mov ebx, dword [ebp - 0xcd0]
or edi, 0xffffffff
cmp dword [ebp - 0xcb8], 0
jne 0x4644e6
lea eax, [ebp - 0xcb0]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xcb8]
push eax
push 0
push str.svcVersion
push ebx
mov dword [ebp - 0xcb0], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4641e2
mov eax, dword [ebp - 0xcb8]
cmp eax, 1
je 0x4641bf
cmp eax, 2
jne 0x4641e2
mov eax, dword [ebp - 0xcb0]
test eax, eax
je 0x464258
test al, 1
jne 0x4641e2
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x464261
mov ecx, 1
mov byte [ebp - 0xca9], 0
test cl, 2
je 0x46421b
mov edx, dword [ebp - 0xcb0]
and ecx, 0xfffffffd
add edx, 0xfffffff0
mov dword [ebp - 0xcbc], ecx
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46421b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xca9], 0
je 0x464304
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464231
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xcc4]
lea eax, [ebp - 0x810]
push eax
call fcn.00409940
jmp 0x4644c6
xor eax, eax
mov word [ebp - 0x810], ax
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcb0], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x4642d5
movzx edi, ax
push 0
push edi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x4642a7
push edi
push eax
lea ecx, [ebp - 0xcb0]
call fcn.004073a0
or edi, 0xffffffff
mov eax, dword [ebp - 0xcb0]
mov ecx, 3
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0xcbc], ecx
je 0x4641e7
mov byte [ebp - 0xca9], 1
jmp 0x4641ee
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4642e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xcb0]
call fcn.00409940
jmp 0x4642aa
call fcn.00464fe0
test al, al
jne 0x46431d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
lea eax, [ebp - 0xcc0]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xcb8]
push eax
push 0
push 0x51a160
push ebx
mov dword [ebp - 0xcc0], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [ebp - 0xcb0], edi
test edi, edi
jne 0x4643ac
mov eax, dword [ebp - 0xcb8]
cmp eax, 1
je 0x464372
cmp eax, 2
je 0x464372
mov dword [ebp - 0xcb0], 0xd
jmp 0x4643ac
mov eax, dword [ebp - 0xcc0]
test eax, eax
je 0x464399
test al, 1
jne 0x46438d
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x4643a2
mov dword [ebp - 0xcb0], 0xd
jmp 0x4643ac
xor eax, eax
mov word [ebp - 0x810], ax
mov dword [ebp - 0xcb0], 0
call fcn.00465070
test al, al
jne 0x4643c8
call fcn.004e5d44
cmp dword [0x566ac0], eax
jne 0x4643c8
dec dword [0x566ac0]
cmp dword [ebp - 0xcb0], 0
jne 0x464403
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xcb8]
call fcn.00401ba0
mov ecx, dword [ebp - 0xcbc]
mov eax, dword [eax]
or ecx, 4
cmp dword [eax - 0xc], 0
mov dword [ebp - 0xcbc], ecx
je 0x464409
mov byte [ebp - 0xca9], 1
jmp 0x464410
mov ecx, dword [ebp - 0xcbc]
mov byte [ebp - 0xca9], 0
test cl, 4
je 0x46443e
mov edx, dword [ebp - 0xcb8]
and ecx, 0xfffffffb
add edx, 0xfffffff0
mov dword [ebp - 0xcbc], ecx
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46443e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xca9], 0
je 0x464472
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464450
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xcc4]
lea eax, [ebp - 0x810]
push eax
call fcn.00409940
mov edi, dword [0x566ac0]
mov ecx, 0x17
lea eax, [edi + 1]
imul eax, edi
cdq
idiv ecx
cmp edx, 0xf
jne 0x4644c6
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub edi, ecx
xor ecx, ecx
lea eax, [edi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
push eax
call fcn.004e5e73
add esp, 8
test ebx, ebx
je 0x4644d9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0xcd0], ebx
mov dword [ebp - 0xccc], 0
or edi, 0xffffffff
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x464501
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
test ebx, ebx
je 0x46450c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xcc4]
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.004e52a4
mov esp, ebp
pop ebp
ret