Function at 0x410fef
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x4279f5
call fcn.0041ba64
sub esp, 0x320
mov eax, dword [0x42c300]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x110]
push eax
xor esi, esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x224], ecx
call fcn.0041c4c9
add esp, 0x14
lea ecx, [ebp - 0x214]
call fcn.004069b2
mov dword [ebp - 4], esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push 0x402144
push eax
call fcn.0040da3a
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x4113c1
cmp dword [ebp + 0x14], esi
je 0x411339
push edi
mov dword [ebp + 0x14], esi
mov byte [ebp - 4], 1
push esi
push esi
mov edi, 0x20006
push edi
push esi
push esi
push 0x40212c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0x14]
call fcn.0040f7ae
test eax, eax
jne 0x41132a
push ebx
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 2
push dword [ebp - 0x218]
lea ecx, [ebp - 0x2ac]
call fcn.00405759
mov byte [ebp - 4], 3
mov eax, dword [eax]
push esi
push esi
push edi
push esi
push esi
push eax
push dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
call fcn.0040f7ae
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x2ac], eax
je 0x411101
push dword [ebp - 0x2ac]
call fcn.0041b1d4
pop ecx
test bl, bl
je 0x4112a8
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
add ebx, 0x3c
mov ecx, ebx
call fcn.00414547
cmp eax, esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp + 8], eax
jl 0x411297
push dword [ebp - 0x220]
lea ecx, [ebp - 0x2ac]
call fcn.00405759
mov byte [ebp - 4], 5
mov eax, dword [eax]
push 1
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.0040f7fc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x2ac], eax
je 0x41117f
push dword [ebp - 0x2ac]
call fcn.0041b1d4
pop ecx
cmp dword [ebp + 0x18], esi
je 0x411194
push 0x402124
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4111a8
push 1
push 0x402110
push 0x402124
lea ecx, [ebp + 0xc]
call fcn.0040f7fc
mov dword [ebp + 8], esi
mov dword [ebp - 0x21c], esi
mov byte [ebp - 4], 6
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x21c]
push eax
push 0x27d8
mov ecx, ebx
call fcn.00414547
test eax, eax
jl 0x411282
lea eax, [ebp + 0x18]
push eax
push 0x27d9
mov ecx, ebx
call fcn.00414547
test eax, eax
jl 0x411282
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x224]
push dword [eax + 0x34]
lea ecx, [ebp - 0x32c]
call fcn.00410e43
mov byte [ebp - 4], 9
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push eax
call fcn.004162b6
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 8
lea eax, [ebp - 0x328]
cmp dword [ebp - 0x32c], eax
je 0x411243
push dword [ebp - 0x32c]
call fcn.0041b1d4
pop ecx
test bl, bl
je 0x411262
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x228]
call fcn.004167a2
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x21c]
push dword [ebp + 0xc]
call fcn.00414aef
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
push dword [ebp + 0x10]
call edi
mov byte [ebp - 4], 6
push dword [ebp + 0x18]
call edi
mov byte [ebp - 4], 4
push dword [ebp - 0x21c]
call edi
mov byte [ebp - 4], 2
push dword [ebp - 0x220]
call edi
mov edi, 0x20006
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 0xa
push esi
push esi
push edi
push esi
push esi
push dword [ebp - 0x214]
lea ecx, [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.0040f7ae
test eax, eax
pop ebx
jne 0x411312
push dword [ebp - 0x218]
lea ecx, [ebp - 0x2ac]
call fcn.00405759
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push 1
push eax
push 0x401524
lea ecx, [ebp + 0x10]
call fcn.0040f7fc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x2ac], eax
je 0x41130f
push dword [ebp - 0x2ac]
call fcn.0041b1d4
pop ecx
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.0040a95c
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040a95c
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0040a95c
pop edi
jmp 0x4113b5
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 0xc
push 0x20006
push 0x40212c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.0040a973
test eax, eax
jne 0x4113a6
push dword [ebp - 0x218]
lea ecx, [ebp - 0x2ac]
call fcn.00405759
mov byte [ebp - 4], 0xd
push dword [eax]
lea ecx, [ebp + 0xc]
call fcn.0040aa42
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x2ac], eax
je 0x411398
push dword [ebp - 0x2ac]
call fcn.0041b1d4
pop ecx
push dword [ebp - 0x214]
lea ecx, [ebp + 0xc]
call fcn.0040aa42
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040a95c
push dword [ebp - 0x218]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.004069e8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0041b4ee
leave
ret 0x14