Function at 0x410a10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550eb0
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5a8f00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], ebx
mov esi, ecx
mov eax, 0xf
mov dword [ebp - 0xf8], esi
mov edi, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
push 0x4be6
push 0x11f6
push 0x13ad7
sub esp, 0x1c
mov dword [ebp - 4], 1
mov dword [ebp - 0x100], esp
mov ecx, esp
push 0x5c
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], ebx
push 0x581298
mov byte [ecx], bl
call fcn.00404410
lea ecx, [ebp - 0x4c]
call fcn.004075e0
add esp, 0x28
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x410aba
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x100]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x410bfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [ebp - 0xbc]
call fcn.00407080
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
push 0x10
push str.RegOpenKey
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00404410
lea edx, [ebp - 0x84]
push edx
mov eax, esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00409800
add esp, 4
mov edi, eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00403af0
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x70], esi
jb 0x410b4f
mov eax, dword [ebp - 0x84]
push eax
call fcn.0042465c
add esp, 4
mov edi, 0xf
mov byte [ebp - 4], 4
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
cmp dword [ebp - 0x1c], esi
jb 0x410b75
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0xa8], esi
jb 0x410b99
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0042465c
add esp, 4
mov esi, dword [ebp - 0xf8]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x68]
mov byte [esi], bl
call fcn.00403af0
mov dword [ebp - 0xfc], 1
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], edi
jb 0x410bd3
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x410bf4
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0042465c
add esp, 4
mov eax, esi
jmp 0x410f7c
push 1
push str.____1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00404410
mov eax, edi
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00409440
push eax
mov eax, str.___autorun
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.004093f0
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc4], edi
jb 0x410c63
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], edi
jb 0x410c90
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042465c
add esp, 4
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x8c], edi
jae 0x410cb1
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x14], edi
jb 0x410cbe
mov eax, dword [eax]
mov edx, dword [ebp - 0x90]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x410e16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [ebp - 0xf4]
call fcn.00407080
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xc
push 0x13
push str.RegSetValueEx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00404410
lea ecx, [ebp - 0xbc]
push ecx
mov eax, esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00409800
add esp, 4
mov edi, eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.00403af0
mov esi, 0x10
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xa8], esi
jb 0x410d65
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0042465c
add esp, 4
mov edi, 0xf
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x70], esi
jb 0x410d94
mov eax, dword [ebp - 0x84]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
cmp dword [ebp - 0xe0], esi
jb 0x410dbb
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.0042465c
add esp, 4
mov esi, dword [ebp - 0xf8]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x68]
mov byte [esi], bl
call fcn.00403af0
mov edi, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0xfc], 1
cmp dword [ebp - 0x8c], edi
jb 0x410dfb
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0042465c
add esp, 4
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
jmp 0x410bbe
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], edi
jb 0x410e3e
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0042465c
add esp, 4
mov dword [ebp - 4], 2
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov esi, dword [ebp - 0xf8]
lea edi, [ebp - 0x68]
call fcn.00403af0
mov edi, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], 1
cmp dword [ebp - 0x38], edi
jb 0x410e83
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x410bf4
mov edx, dword [ebp - 0x68]
push edx
call fcn.0042465c
add esp, 4
mov eax, esi
jmp 0x410f7c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00523079
mov esp, ebp
pop ebp
ret 4