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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3f50
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xb0]
push eax
lea eax, [ebp - 0x88]
push str.SYSTEMCurrentControlSetServicesEventLog_
push eax
call fcn.004935f0
push 0x5fa06c
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.0041f5c0
add esp, 0x18
cmp dword [esi + 0xdc], 7
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 1
jbe 0x54e1a9
mov ecx, dword [esi + 0xc8]
push dword [esi + 0xd8]
push ecx
mov ecx, eax
call fcn.00406a90
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x54e22e
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e63e
push ecx
push edx
call fcn.005702d9
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x54e283
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e63e
push ecx
push edx
call fcn.005702d9
add esp, 8
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x78], 0
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x74], 7
push ecx
push 0
push 2
xor eax, eax
cmp dword [ebp - 0x44], 7
push 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x94], 1
mov esi, dword [ebp - 0x90]
jne 0x54e5e6
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.NTEventLogAppender.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004794e0
push 0x10
xorps xmm0, xmm0
mov byte [ebp - 4], 5
push str.EventMessageFile
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.004794e0
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmova ecx, dword [ebp - 0x40]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push esi
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x54e393
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e389
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e643
push ecx
push edx
call fcn.005702d9
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x54e3e5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e3db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e643
push ecx
push edx
call fcn.005702d9
add esp, 8
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.NTEventLogAppender.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004794e0
push 0x13
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push str.CategoryMessageFile
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.004794e0
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 7
cmova ecx, dword [ebp - 0x40]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push esi
call edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x54e490
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e486
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e648
push ecx
push edx
call fcn.005702d9
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x54e4e2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e4d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e648
push ecx
push edx
call fcn.005702d9
add esp, 8
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.TypesSupported
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004794e0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x8c]
push 4
push ecx
push 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x8c], 7
cmova eax, dword [ebp - 0x28]
push 0
push eax
push esi
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x54e566
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e55c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e64d
push ecx
push edx
call fcn.005702d9
add esp, 8
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.CategoryCount
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004794e0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x8c]
push 4
push ecx
push 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x8c], 5
cmova eax, dword [ebp - 0x28]
push 0
push eax
push esi
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x54e5e6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e5dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e652
push ecx
push edx
call fcn.005702d9
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x54e623
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x54e619
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e657
push ecx
push edx
call fcn.005702d9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret
call fcn.00584b21
call fcn.00584b21
call fcn.00584b21
call fcn.00584b21
call fcn.00584b21
call fcn.00584b21
int3