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

Disassembly:
push 0xffffffffffffffff
push 0x1016260e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x78]
push str.SYSTEMCurrentControlSetServicesEventLog_
push ecx
call fcn.100cafa0
push 0x101a5984
push eax
lea edx, [esp + 0x6c]
xor ebx, ebx
push edx
mov dword [esp + 0xd0], ebx
call fcn.1000ccf0
add esi, 0x74
push esi
push eax
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0xdc], 1
call fcn.1000cdb0
add esp, 0x24
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x100e6ece
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1013d576
add esp, 4
mov edi, 0xf
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x8c], esi
jb 0x100e6efd
mov edx, dword [esp + 0x78]
push edx
call fcn.1013d576
add esp, 4
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x50], ebx
cmp dword [esp + 0xa8], esi
jae 0x100e6f2a
lea eax, [esp + 0x94]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [esp + 0x54], 1
mov edi, dword [esp + 0x50]
mov ebp, edi
jne 0x100e7168
push 0x16
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100019f0
push esi
push str.EventMessageFile
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 5
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.100019f0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x100e6fac
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], esi
jae 0x100e6fba
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x28]
push edx
push ecx
push 1
push ebx
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
cmp dword [esp + 0x4c], esi
jb 0x100e6fe0
mov eax, dword [esp + 0x38]
push eax
call fcn.1013d576
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x2c], esi
jb 0x100e700b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1013d576
add esp, 4
push 0x16
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100019f0
push 0x13
push str.CategoryMessageFile
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 6
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.100019f0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x100e7061
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], esi
jae 0x100e706f
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x28]
push edx
push ecx
push 1
push ebx
push eax
push ebp
call edi
cmp dword [esp + 0x4c], esi
jb 0x100e708f
mov eax, dword [esp + 0x38]
push eax
call fcn.1013d576
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x2c], esi
jb 0x100e70ba
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1013d576
add esp, 4
push 0xe
push str.TypesSupported
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100019f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 7
cmp dword [esp + 0x2c], esi
jae 0x100e70f0
lea eax, [esp + 0x18]
push 4
lea edx, [esp + 0x34]
push edx
push 4
push ebx
push eax
push ebp
call edi
cmp dword [esp + 0x2c], esi
jb 0x100e7111
mov eax, dword [esp + 0x18]
push eax
call fcn.1013d576
add esp, 4
push 0xd
push str.CategoryCount
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100019f0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 5
cmp dword [esp + 0x2c], esi
jae 0x100e7147
lea eax, [esp + 0x18]
push 4
lea ecx, [esp + 0x34]
push ecx
push 4
push ebx
push eax
push ebp
call edi
cmp dword [esp + 0x2c], esi
jb 0x100e7168
mov edx, dword [esp + 0x18]
push edx
call fcn.1013d576
add esp, 4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa8], esi
jb 0x100e7188
mov eax, dword [esp + 0x94]
push eax
call fcn.1013d576
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1013d581
add esp, 0xa8
ret