Function at 0x46c570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d62d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwarekingsoftOffice6.0kpacketusersetting
push 0x80000001
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c752
mov byte [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x46c77f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0
test eax, eax
je 0x46c6c6
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push str.precontrolpath
push eax
call edi
mov eax, dword [ebp - 0x38]
cmp eax, 1
je 0x46c630
cmp eax, 2
jne 0x46c6b8
lea ecx, [ebp - 0x30]
call fcn.00429bc0
mov edx, dword [ebp - 0x34]
shr edx, 1
add edx, 1
js 0x46c789
mov esi, dword [ebp - 0x30]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x46c666
push edx
lea ecx, [ebp - 0x30]
call fcn.00429e50
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push 0
push str.precontrolpath
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x46c6b8
mov eax, dword [ebp - 0x34]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x46c692
xor eax, eax
jmp 0x46c6a6
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x46c789
cmp eax, dword [esi - 8]
jg 0x46c789
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46c6c6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi - 0x10]
mov dword [ebp - 0x2c], 0
cmp dword [edi + 4], 0
je 0x46c73d
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00524940
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 3
jb 0x46c6f1
mov edx, dword [edx]
test edx, edx
jne 0x46c6f9
xor ecx, ecx
jmp 0x46c70f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c700
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.0042a000
lea ecx, [ebp - 0x28]
call fcn.0042aad0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46c736
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x46c754
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46c752
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x46c762
push ecx
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3