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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df90b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
mov esi, ecx
mov edx, str.SYSTEMCurrentControlSetServicesEventLog_
push edi
lea ecx, [ebp - 0x90]
lea eax, [esi + 0x50]
push eax
call fcn.0040d3d0
push 0x502398
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00415cd0
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00415e20
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0040ce40
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.0040ce40
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push 0
push 2
push 0
push 0
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x48], 1
mov edi, dword [ebp - 0x2c]
jne 0x4341c7
push 0x16
xor eax, eax
mov dword [ebp - 0x30], 7
push str.NTEventLogAppender.dll
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00413ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push 0x10
xor eax, eax
mov dword [ebp - 0x10], 7
push str.EventMessageFile
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00413ce0
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x10], 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmovae ecx, dword [ebp - 0x24]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push edi
call esi
lea ecx, [ebp - 0x24]
call fcn.0040ce40
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040ce40
push 0x16
xor eax, eax
mov dword [ebp - 0x30], 7
push str.NTEventLogAppender.dll
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00413ce0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
push 0x13
xor eax, eax
mov dword [ebp - 0x10], 7
push str.CategoryMessageFile
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00413ce0
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x10], 8
cmovae ecx, dword [ebp - 0x24]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push edi
call esi
lea ecx, [ebp - 0x24]
call fcn.0040ce40
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040ce40
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
push 0xe
push str.TypesSupported
lea ecx, [ebp - 0x24]
call fcn.00413ce0
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x28]
push 4
push ecx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 7
cmovae eax, dword [ebp - 0x24]
push 0
push eax
push edi
call esi
lea ecx, [ebp - 0x24]
call fcn.0040ce40
push 0xd
xor eax, eax
mov dword [ebp - 0x10], 7
push str.CategoryCount
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00413ce0
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x28]
push 4
push ecx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 5
cmovae eax, dword [ebp - 0x24]
push 0
push eax
push edi
call esi
lea ecx, [ebp - 0x24]
call fcn.0040ce40
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x60]
call fcn.0040ce40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret