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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov eax, esp
lea ecx, [ebp - 0x60]
mov dword [eax], ecx
mov dword [eax + 4], str.unimsg.dll
call fcn.00401cd8
mov dword [ebp - 0x28], 0x5792b4
mov dword [ebp - 0x24], 0x5872f0
mov eax, ebp
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x5488e5
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0x44]
call fcn.00579e71
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
call fcn.00542a44
jmp 0x5485bb
mov dword [ebp - 0x3c], 2
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
mov dword [eax + 4], str._bin_
call fcn.0051bc90
mov dword [ebp - 0xcc], eax
jmp 0x5485dd
mov dword [ebp - 0x3c], 3
mov eax, esp
lea ecx, [ebp - 0x60]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
call fcn.0040260c
mov dword [ebp - 0xd0], eax
jmp 0x5485fe
mov dword [ebp - 0x3c], 4
mov eax, esp
lea ecx, [ebp - 0xc0]
mov dword [eax], ecx
mov dword [eax + 4], 0x58fcd8
call fcn.00401fa8
jmp 0x54861d
mov dword [ebp - 0x3c], 5
mov eax, esp
lea ecx, [ebp - 0xc0]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0xa4]
mov dword [eax], ecx
mov dword [eax + 4], str.SYSTEMCurrentControlSetServicesEventLogApplication_
call fcn.00401b08
jmp 0x548645
mov eax, esp
lea ecx, [ebp - 0xc0]
mov dword [eax], ecx
call fcn.00401d68
mov eax, esp
lea ecx, [ebp - 0xa4]
mov dword [eax], ecx
call fcn.004023c8
mov dword [ebp - 0x3c], 6
mov ecx, esp
lea edx, [ebp - 0x88]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov dword [ecx], SysReAllocStringLen
call sub.ADVAPI32.DLL_RegCreateKeyW
sub esp, 0xc
mov dword [ebp - 0xd4], eax
jmp 0x54868e
mov eax, dword [ebp - 0xd4]
cmp eax, 0
je 0x548748
mov dword [ebp - 0xc4], 1
jmp 0x54886d
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], eax
jmp 0x5488c8
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xe4], eax
jmp 0x5488bd
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], edi
mov dword [esp], ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xec], eax
call fcn.00401d68
jmp 0x5488bd
lea ecx, [ebp - 0xa4]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], edi
mov dword [esp], ecx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xf4], eax
call fcn.00401d68
jmp 0x5488bd
mov eax, dword [ebp - 0x88]
mov ecx, esp
lea edx, [ebp - 0x7c]
mov dword [ecx], edx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], edx
call fcn.004023c8
mov ecx, esp
mov edx, dword [ebp - 0xfc]
mov dword [ecx], edx
mov dword [ebp - 0x100], eax
call fcn.004037dc
lea eax, [eax + eax + 2]
mov dword [ebp - 0x3c], 7
mov ecx, esp
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xf8]
mov dword [ecx], edx
mov dword [ecx + 0xc], 2
mov dword [ecx + 8], 0
mov dword [ecx + 4], str.EventMessageFile
call sub.ADVAPI32.DLL_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0x104], eax
jmp 0x5487c1
mov eax, dword [ebp - 0x104]
cmp eax, 0
je 0x5487db
mov dword [ebp - 0xc4], 1
jmp 0x54886d
mov dword [ebp - 0xc8], 7
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], 8
mov ecx, esp
lea edx, [ebp - 0xc8]
mov dword [ecx + 0x10], edx
mov dword [ecx], eax
mov dword [ecx + 0x14], 4
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0
mov dword [ecx + 4], str.TypesSupported
call sub.ADVAPI32.DLL_RegSetValueExW
sub esp, 0x18
mov dword [ebp - 0x108], eax
jmp 0x54882b
mov eax, dword [ebp - 0x108]
cmp eax, 0
je 0x548842
mov dword [ebp - 0xc4], 1
jmp 0x54886d
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], 9
mov ecx, esp
mov dword [ecx], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [ebp - 0x10c], eax
jmp 0x548863
mov dword [ebp - 0xc4], 0
mov eax, esp
lea ecx, [ebp - 0xa4]
mov dword [eax], ecx
call fcn.00401d68
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [eax], ecx
call fcn.00401d68
mov eax, esp
lea ecx, [ebp - 0x60]
mov dword [eax], ecx
call fcn.00401d68
mov eax, dword [ebp - 0xc4]
sub eax, 1
mov dword [ebp - 0x110], eax
ja 0x5488e5
jmp 0x5488a7
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.00579e92
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00401d68
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00401d68
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [esp], eax
call fcn.00579e10
nop
mov eax, dword [ebp - 0x40]
cmp eax, 9
mov dword [ebp - 0x114], eax
ja case.default.0x548901
mov eax, dword [ebp - 0x114]
sub eax, 1
jmp dword [eax*4 + 0x54890c]
ud2