Function at 0x61e270
Capabilities:
Encode data using xor
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b2431
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x82f184]
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
mov dword [ebp - 0x128], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 5
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xe0], eax
test eax, eax
jne 0x61e581
push 0xb0
push eax
lea eax, [ebp - 0xd4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 0x7d4f80
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xc4], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x124], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xbc], 0x7c6164
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x110], 0x15
mov dword [ebp - 0x10c], 0xc900f7
mov dword [ebp - 0x108], 0xd500df
mov dword [ebp - 0x104], 0xfe00ef
mov dword [ebp - 0x100], 0xde00f3
mov dword [ebp - 0xfc], 0xa000ae
mov dword [ebp - 0xf8], 0xa600a5
mov dword [ebp - 0xf4], 0xe900b6
mov dword [ebp - 0xf0], 0xa200e6
mov dword [ebp - 0xec], 0xbb00ba
mov dword [ebp - 0xe8], 0xb900a5
mov dword [ebp - 0xe4], 0xcd00ec
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x10c], ax
inc ecx
mov eax, dword [ebp - 0x110]
cmp ecx, eax
jb 0x61e430
xor ecx, ecx
mov word [ebp + eax*2 - 0x10c], cx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
call fcn.00434600
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x278]
push eax
call fcn.0061eaa0
mov edx, eax
xor ecx, ecx
mov eax, dword [edx]
lea esi, [edx + 4]
mov dword [ebp - 0xdc], esi
test eax, eax
je 0x61e4b5
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x61e4a4
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x1c8]
push eax
call fcn.0061e960
mov edx, eax
mov eax, dword [edx]
lea esi, [edx + 4]
test eax, eax
je 0x61e4e3
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x61e4d2
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0xdc]
push 0x26
push esi
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00469240
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call fcn.004073e0
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 8], ecx
lea ecx, [ebp - 0x1c]
mov dword [edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00404220
mov eax, edi
jmp 0x61e93d
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
lea ecx, [ebp - 0x20]
push 0
push 0
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 0
push 0
push 3
push dword [esi]
mov dword [ebp - 0x20], 0
push 0
push eax
call edi
mov esi, dword [ebp - 0x24]
add esi, 0xa
push esi
call fcn.0078f0da
add esp, 4
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x20]
push 0
push 0
push ecx
lea ecx, [ebp - 0x24]
push ecx
push esi
mov esi, dword [ebp - 0xe0]
push eax
mov eax, dword [ebp - 0x128]
push 3
push dword [eax]
push 0
push esi
call edi
test eax, eax
jne 0x61e819
push 0xb0
push eax
lea eax, [ebp - 0xd4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 0x7d4f80
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xc4], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x124], 4
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xbc], 0x7c6164
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 6
mov eax, 0x1c
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov dword [ebp - 0x11c], 0xd700fd
mov dword [ebp - 0x118], 0xd600cf
mov dword [ebp - 0x114], 0xd800ef
mov dword [ebp - 0x110], 0xc900cc
mov dword [ebp - 0x10c], 0xa200a9
mov dword [ebp - 0x108], 0xb000a7
mov dword [ebp - 0x104], 0xb10097
mov dword [ebp - 0x100], 0xb300a7
mov dword [ebp - 0xfc], 0xba00bd
mov dword [ebp - 0xf8], 0xb3008f
mov dword [ebp - 0xf4], 0xed00e0
mov dword [ebp - 0xf0], 0xbd00ab
mov dword [ebp - 0xec], 0xbe00a2
mov dword [ebp - 0xe8], 0xf300a0
mov dword [ebp - 0xe4], 0xd4
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x61e740
xor ecx, ecx
mov word [ebp + eax*2 - 0x11c], cx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x278]
push eax
call fcn.0061ec10
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.0061e960
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xd4]
push ecx
push esi
push 0x37
push eax
push 0
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call fcn.004073e0
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x61e907
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
cmp dword [ebp - 0x20], esi
jbe 0x61e8f9
mov edi, dword [ebp - 0xd8]
mov edx, dword [edi]
xor eax, eax
mov word [ebp - 0xf8], ax
mov eax, edx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
lea ecx, [eax + 2]
mov dword [ebp - 0xe0], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x61e860
sub eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xf8]
sar eax, 1
push eax
push edx
call fcn.004044f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x61e8cd
movups xmm0, xmmword [ebp - 0xf8]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x18], 0x18
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
jmp 0x61e8dd
lea ecx, [ebp - 0xf8]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004081e0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.00404490
inc esi
add edi, 0x2c
cmp esi, dword [ebp - 0x20]
jb 0x61e831
push dword [ebp - 0xd8]
call fcn.0078f0d5
add esp, 4
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00404220
mov eax, esi
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.0076d59e
mov esp, ebp
pop ebp
ret 4