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

Disassembly:
push 0xffffffffffffffff
push 0x1002daed
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1004f970]
xor eax, esp
mov dword [esp + 0x98], eax
push ebp
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x74]
push str.SYSTEMCurrentControlSetServicesEventLog_
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x100333e0
push eax
lea edx, [esp + 0x68]
xor edi, edi
push edx
mov dword [esp + 0xcc], edi
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esi, 0x74
push esi
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0xd8], 1
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0x24
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x90]
mov ebp, 8
mov dword [esp + 0x14], edi
cmp dword [esp + 0xa4], ebp
jae 0x100266cc
lea eax, [esp + 0x90]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push 2
push edi
push edi
push edi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esp + 0x34], 1
mov edi, dword [esp + 0x14]
jne 0x10026855
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.EventMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x1002672b
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x10026739
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add edx, edx
push edx
push ecx
push 1
push 0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.NTEventLogAppender.dll
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.CategoryMessageFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x1002679f
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x100267ad
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x4c]
add edx, edx
push edx
push ecx
push 1
push 0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.TypesSupported
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 7
cmp dword [esp + 0x30], ebp
jae 0x100267fe
lea eax, [esp + 0x1c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.CategoryCount
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 5
cmp dword [esp + 0x30], ebp
jae 0x1002683c
lea eax, [esp + 0x1c]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push eax
push edi
call esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb4], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.10027f6a
add esp, 0xa8
ret