Function at 0x46e1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cef8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x594624]
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 dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x2c], 0x80000
mov eax, dword [0x59930c]
test al, 1
jne 0x46e263
or eax, 1
mov dword [0x59930c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x547c90
mov dword [0x599300], 0x54c958
mov dword [0x599304], eax
mov byte [0x599308], 0
call fcn.00493db9
mov eax, dword [0x59930c]
add esp, 4
test al, 2
jne 0x46e2bf
or eax, 2
mov dword [0x599310], 0x54c970
mov dword [0x59930c], eax
xor eax, eax
push 0x547cc0
mov dword [0x599314], 0x599300
mov dword [0x599324], 2
mov dword [0x59931c], 0
mov dword [0x599320], 0
mov dword [0x599328], eax
mov dword [0x599318], 0x599310
call fcn.00493db9
add esp, 4
mov eax, dword [0x599310]
mov ecx, 0x599310
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
test edi, edi
js 0x46e46a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x46e301
push edi
lea ecx, [ebp - 0x30]
call fcn.0040d020
mov esi, dword [ebp - 0x30]
cmp edi, dword [esi - 8]
jg 0x46e46a
xor eax, eax
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x46e328
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push esi
lea ecx, [ebp - 0x34]
push ecx
push str.PendingFileRenameOperations
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x14]
mov edi, eax
cmp edx, 8
jb 0x46e37e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e374
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e474
push edx
push ecx
call fcn.004939be
add esp, 8
push dword [esi - 8]
xor eax, eax
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0050891c
add esp, 8
test eax, eax
js 0x46e46a
cmp eax, dword [esi - 8]
jg 0x46e46a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x46e431
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xea
jne 0x46e3fc
mov eax, dword [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46e3eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 0xa
jl 0x46e224
mov eax, 1
jmp 0x46e413
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46e411
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.00493dce
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + 4]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
push esi
call fcn.0046dfa0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46e463
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x46e413
push 0x80070057
call fcn.0040b4c0
call fcn.004e61b8
int3