Function at 0x40bffc
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x424004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push ebx
push esi
push edi
push eax
push 0x40322c
push 1
push 0
push 0x40343c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c296
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x160]
lea edi, [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x150]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x150]
lea edi, [ebp - 0x190]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x180]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x180]
lea edi, [ebp - 0x1b0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x170]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x134], esp
lea esi, [ebp - 0x1a0]
sub esp, 0x10
mov eax, dword [ebp - 0x138]
mov edi, esp
sub esp, 0x10
mov ebx, dword [eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x190]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x1b0]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x170]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x4255c0]
call dword [ebx + 0x28]
cmp dword [ebp - 0x134], esp
je 0x40c108
mov ecx, 4
int 0x29
mov esi, eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x40c2ce
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x40c2ce
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x40c2ce
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x40c2ce
test esi, esi
js 0x40c296
and dword [ebp - 0x134], 0
lea ecx, [ebp - 0x13c]
mov ebx, dword [ebp - 0x138]
push 0x4030d8
call fcn.0040bc84
mov eax, dword [eax]
test eax, eax
je 0x40c18d
mov eax, dword [eax]
jmp 0x40c18f
xor eax, eax
mov esi, dword [ebx]
lea ecx, [ebp - 0x134]
mov edi, esp
push ecx
push eax
mov ecx, dword [esi + 0x1c]
push ebx
call dword [0x4255c0]
call dword [esi + 0x1c]
cmp edi, esp
je 0x40c1b3
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 0x13c]
mov esi, eax
test ecx, ecx
je 0x40c1c4
call fcn.0040bcdd
test esi, esi
js 0x40c26f
push 0x18
pop ecx
push 0x60
lea eax, [ebp - 0x68]
mov dword [ebp - 0x13c], 0xc8
push eax
push 1
lea eax, [ebp - 0x13c]
mov esi, 0x403118
push eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0x403178
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x402770
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
mov ebx, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x140]
call fcn.0040bc84
mov eax, dword [eax]
test eax, eax
je 0x40c22d
mov eax, dword [eax]
jmp 0x40c22f
xor eax, eax
mov esi, dword [ebx]
mov edi, esp
push 0
push eax
push ebx
mov ecx, dword [esi + 0x3c]
call dword [0x4255c0]
call dword [esi + 0x3c]
cmp edi, esp
je 0x40c24e
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x40c25d
call fcn.0040bcdd
push 0x10
push 0x403178
push 0x402770
call dword [sym.imp.SHLWAPI.dll_SHRegDeleteUSValueW]
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x40c296
mov ecx, dword [eax]
mov edi, esp
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x40c296
mov ecx, 4
int 0x29
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x40c2bd
mov ecx, dword [eax]
mov edi, esp
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4255c0]
call esi
cmp edi, esp
je 0x40c2bd
mov ecx, 4
int 0x29
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423360
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.0040c572
int3