Function at 0x410fb3
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0x533868
push 0x5c2e80
call fcn.004202d0
add esp, 8
push 0x53388c
push 0x5c2e80
call fcn.004202e0
add esp, 8
push 0x533894
push 0x5c2820
call fcn.004202d0
add esp, 8
push 0x5338d4
push 0x5c30a0
call fcn.004202d0
add esp, 8
push 0x5c2c40
push 0xf003f
push 0
push 0x5c2e80
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x41103b
push 0x10001
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x5338e8
push 0x5c30e0
call fcn.004202d0
add esp, 8
push 5
push 0x5338f0
push 1
push 0
push 0x5c30e0
mov eax, dword [0x5c2c40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x411087
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x5338f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5c2a28], eax
cmp dword [0x5c2a28], 0
jne 0x4110b2
push 1
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x533908
mov ecx, dword [0x5c2a28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5c3080], eax
cmp dword [0x5c3080], 0
jne 0x4110e4
push 2
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x50
lea edx, [ebp - 0x50]
push edx
push 0x533918
push 0
push 0
push 0x409
call dword [0x5c3080]
mov dword [ebp - 0x58], eax
mov eax, dword [0x5c2a28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x411130
push 0x2001000
call fcn.00406c68
add esp, 4
push 3
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
cmp dword [ebp - 0x58], 0
jne 0x411148
push 6
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x533928
push 0x5c30e0
call fcn.004202d0
add esp, 8
lea ecx, [ebp - 0x50]
push ecx
call fcn.00420150
add esp, 4
push eax
lea edx, [ebp - 0x50]
push edx
push 1
push 0
push 0x5c30e0
mov eax, dword [0x5c2c40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x41119e
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push str.Type
push 0x5c30e0
call fcn.004202d0
add esp, 8
mov dword [0x5c2e68], 1
push 4
push 0x5c2e68
push 4
push 0
push 0x5c30e0
mov ecx, dword [0x5c2c40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4111f5
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x533938
push 0x5c30e0
call fcn.004202d0
add esp, 8
mov dword [0x5c2e68], 2
push 4
push 0x5c2e68
push 4
push 0
push 0x5c30e0
mov edx, dword [0x5c2c40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x41124c
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push 0x533940
push 0x5c30e0
call fcn.004202d0
add esp, 8
mov dword [0x5c2e68], 1
push 4
push 0x5c2e68
push 4
push 0
push 0x5c30e0
mov eax, dword [0x5c2c40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4112a2
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push str.Group
push 0x5c30e0
call fcn.004202d0
add esp, 8
push 0x14
push 0x53394c
push 1
push 0
push 0x5c30e0
mov ecx, dword [0x5c2c40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4112ec
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
push str.ErrorControl
push 0x5c30e0
call fcn.004202d0
add esp, 8
mov dword [0x5c2e68], 1
push 4
push 0x5c2e68
push 4
push 0
push 0x5c30e0
mov edx, dword [0x5c2c40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x411340
push 0x10003
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
mov eax, dword [0x5c2c40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x411367
push 0x10002
call fcn.00406ccc
add esp, 4
or eax, 0xffffffff
jmp 0x411369
xor eax, eax
mov esp, ebp
pop ebp
ret