Function at 0x4081b0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425698
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x437068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
push 8
push str.__c___1_
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00405550
add esi, 0x48
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x408228
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00406810
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x40828b
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408281
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408401
push edx
push ecx
call fcn.00409840
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x30]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str._shellScan_with_SmartIR
push 0x80000000
call edi
test eax, eax
jne 0x408319
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x58]
mov eax, esi
jb 0x4082c4
mov eax, dword [esi]
push ecx
push eax
push 1
push 0
push str.Icon
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str._shellScan_with_SmartIRcommand
push 0x80000000
call edi
test eax, eax
jne 0x408319
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.Folder_shellScan_with_SmartIR
push 0x80000000
call edi
test eax, eax
jne 0x4083a5
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebp - 0x34]
jb 0x408350
mov esi, dword [esi]
push dword [eax + 0x58]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.Icon
push dword [ebp - 0x30]
call esi
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.Folder_shellScan_with_SmartIRcommand
push 0x80000000
call edi
test eax, eax
jne 0x4083a5
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4083de
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4083d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408406
push edx
push ecx
call fcn.00409840
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004096fc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040f622
call fcn.0040f622
int3