Function at 0x408b10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42e308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x43ab24]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
push str.COMPANY_NAME
lea ecx, [esp + 0x1c]
push str.INSTALL
xor esi, esi
push ecx
mov ecx, edi
mov dword [esp + 0x54], esi
call fcn.00402890
mov eax, dword [edi + 0x9f4]
mov byte [esp + 0x48], 1
cmp eax, esi
mov dword [esp + 0x1c], esi
jle 0x408d00
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, 4
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [edi + 0x9ec]
call fcn.00401720
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x50], 2
call fcn.0041e2a3
mov ecx, edi
call fcn.00406940
cmp eax, 0xffffffff
je 0x408bd8
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0041b646
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.0041e61b
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.0041e52e
lea ecx, [esp + 0x10]
call fcn.0041ea04
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0041e2a3
mov ecx, edi
call fcn.00408a10
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push str.Software_
push ecx
call fcn.0041e7eb
push str.COUNTER_
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x54], bl
call fcn.0041e777
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x54], 5
call fcn.0041e711
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 6
call fcn.0041e61b
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 5
call fcn.0041e52e
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], bl
call fcn.0041e52e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call fcn.0041e52e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000002
call ebp
test eax, eax
jne 0x408d3a
mov eax, dword [edi + 0x154a4]
test eax, eax
je 0x408cb3
mov eax, dword [esi + 4]
test eax, eax
jne 0x408cdb
mov eax, dword [esi + 8]
test eax, eax
jne 0x408cdb
mov eax, dword [esi + 8]
push ebx
inc eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ebx
push 0
push str.SRCHCOUNTER
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x408d37
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.0041e52e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x9f4]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x408b75
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call fcn.0041e52e
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.0041e52e
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
dec dword [esi + 8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.0041e52e
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call fcn.0041e52e
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.0041e52e
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret