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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dcb0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5f88c0]
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.0046e130
push 0x5d4030
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.00415170
add esp, 0x18
cmp dword [esi + 0xdc], 7
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 1
jbe 0x529179
mov ecx, dword [esi + 0xc8]
push dword [esi + 0xd8]
push ecx
mov ecx, eax
call fcn.00403b40
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 0x5291fe
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5291f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52960e
push ecx
push edx
call fcn.0054b2c7
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 0x529253
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x529249
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52960e
push ecx
push edx
call fcn.0054b2c7
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 0x5295b6
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.004530d0
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.004530d0
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 0x529363
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x529359
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529613
push ecx
push edx
call fcn.0054b2c7
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 0x5293b5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5293ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529613
push ecx
push edx
call fcn.0054b2c7
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.004530d0
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.004530d0
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 0x529460
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x529456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529618
push ecx
push edx
call fcn.0054b2c7
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 0x5294b2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5294a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529618
push ecx
push edx
call fcn.0054b2c7
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.004530d0
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 0x529536
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x52952c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52961d
push ecx
push edx
call fcn.0054b2c7
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.004530d0
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 0x5295b6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5295ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529622
push ecx
push edx
call fcn.0054b2c7
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x5295f3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5295e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529627
push ecx
push edx
call fcn.0054b2c7
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.0054b289
mov esp, ebp
pop ebp
ret
call fcn.0055fb01
call fcn.0055fb01
call fcn.0055fb01
call fcn.0055fb01
call fcn.0055fb01
call fcn.0055fb01
int3