Function at 0x42a480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ea78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5dccb4]
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 [0x5e3054]
test al, 1
jne 0x42a503
or eax, 1
mov dword [0x5e3054], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x5839c0
mov dword [0x5e3048], 0x588a60
mov dword [0x5e304c], eax
mov byte [0x5e3050], 0
call fcn.004b0e89
mov eax, dword [0x5e3054]
add esp, 4
test al, 2
jne 0x42a55f
or eax, 2
mov dword [0x5e3058], 0x588a78
mov dword [0x5e3054], eax
xor eax, eax
push 0x5839f0
mov dword [0x5e305c], 0x5e3048
mov dword [0x5e306c], 2
mov dword [0x5e3064], 0
mov dword [0x5e3068], 0
mov dword [0x5e3070], eax
mov dword [0x5e3060], 0x5e3058
call fcn.004b0e89
add esp, 4
mov eax, dword [0x5e3058]
mov ecx, 0x5e3058
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 0x42a70a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x42a5a1
push edi
lea ecx, [ebp - 0x30]
call fcn.0040b390
mov esi, dword [ebp - 0x30]
cmp edi, dword [esi - 8]
jg 0x42a70a
xor eax, eax
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00438100
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42a5c8
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 0x42a61e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a614
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a714
push edx
push ecx
call fcn.004b0a8e
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.005424d0
add esp, 8
test eax, eax
js 0x42a70a
cmp eax, dword [esi - 8]
jg 0x42a70a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x42a6d1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xea
jne 0x42a69c
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 0x42a68b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 0xa
jl 0x42a4c4
mov eax, 1
jmp 0x42a6b3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a6b1
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.004b0a78
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.0042a240
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a703
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x42a6b3
push 0x80070057
call fcn.0040af40
call fcn.00533703
int3