Function at 0x408ad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4441a8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x467060]
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 esi, edx
mov eax, ecx
mov dword [ebp - 0x38], eax
xor edi, edi
push eax
mov edx, str.SOFTWARE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x31], 0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.0040d300
add esp, 4
mov dword [ebp - 4], edi
call fcn.0041ff50
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x408b8b
push dword [ebp - 0x38]
mov edx, str.SOFTWAREWow6432Node_
lea ecx, [ebp - 0x50]
call fcn.0040d300
mov edi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, edi
je 0x408b78
cmp dword [ebp - 0x14], 8
jb 0x408b5b
push dword [ebp - 0x28]
call ebx
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004053a0
cmp dword [ebp - 0x3c], 8
jb 0x408b86
push dword [ebp - 0x50]
call ebx
add esp, 4
mov edi, 0x200
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
or edi, 0xf003f
push edi
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408db1
push 0x44aca8
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.0040d130
mov edi, eax
add esp, 4
cmp esi, edi
je 0x408c3e
cmp dword [esi + 0x14], 8
jb 0x408be6
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x408c15
mov eax, dword [edi + 0x10]
inc eax
je 0x408c1f
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x408c1f
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x3c], 8
jb 0x408c4c
push dword [ebp - 0x50]
call ebx
add esp, 4
push 1
xor eax, eax
push 0x44aca8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call fcn.00405570
mov byte [ebp - 4], 1
push 2
xor eax, eax
push 0x44b720
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00405570
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
mov edx, esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f0f0
mov edi, eax
add esp, 8
cmp esi, edi
je 0x408d1a
cmp dword [esi + 0x14], 8
jb 0x408cc2
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x408cf1
mov eax, dword [edi + 0x10]
inc eax
je 0x408cfb
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x408cfb
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x3c], 8
jb 0x408d28
push dword [ebp - 0x50]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
jb 0x408d4a
push dword [ebp - 0x68]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
jb 0x408d6c
push dword [ebp - 0x80]
call ebx
add esp, 4
mov ecx, esi
call fcn.00405b90
mov ecx, eax
lea edx, [ecx + 2]
jmp 0x408d80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408d80
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov ecx, esi
call fcn.00405b90
push eax
push 1
push 0
push 0x44a074
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 0x31], 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x408dbf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
jb 0x408dcd
push dword [ebp - 0x28]
call ebx
add esp, 4
mov al, byte [ebp - 0x31]
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.004413e6
mov esp, ebp
pop ebp
ret