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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b3bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x831184]
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 0x61f611
push 0xb0
push eax
lea eax, [ebp - 0xd4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 0x7d6f90
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xc4], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xda00e6
mov dword [ebp - 0x108], 0xc200ce
mov dword [ebp - 0x104], 0xed00fe
mov dword [ebp - 0x100], 0xd100e2
mov dword [ebp - 0xfc], 0xd300df
mov dword [ebp - 0xf8], 0xd100d4
mov dword [ebp - 0xf4], 0x9a00c7
mov dword [ebp - 0xf0], 0xdd0097
mov dword [ebp - 0xec], 0xc800cb
mov dword [ebp - 0xe8], 0xce00d4
mov dword [ebp - 0xe4], 0xbe009d
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x10c], ax
inc ecx
mov eax, dword [ebp - 0x110]
cmp ecx, eax
jb 0x61f4c0
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.004345f0
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x278]
push eax
call fcn.0061fb30
mov edx, eax
xor ecx, ecx
mov eax, dword [edx]
lea esi, [edx + 4]
mov dword [ebp - 0xdc], esi
test eax, eax
je 0x61f545
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x61f534
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x1c8]
push eax
call fcn.0061f9f0
mov edx, eax
mov eax, dword [edx]
lea esi, [edx + 4]
test eax, eax
je 0x61f573
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x61f562
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.00469f50
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], 0x7c81a4
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 0x61f9cd
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.007906ca
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 0x61f8a9
push 0xb0
push eax
lea eax, [ebp - 0xd4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 0x7d6f90
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xc4], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xc400ec
mov dword [ebp - 0x118], 0xc100de
mov dword [ebp - 0x114], 0xcb00fe
mov dword [ebp - 0x110], 0xc600dd
mov dword [ebp - 0x10c], 0xd100d8
mov dword [ebp - 0x108], 0xc700d6
mov dword [ebp - 0x104], 0xc200e6
mov dword [ebp - 0x100], 0xcc00d6
mov dword [ebp - 0xfc], 0xc900cc
mov dword [ebp - 0xf8], 0xc400fe
mov dword [ebp - 0xf4], 0x9e0091
mov dword [ebp - 0xf0], 0xb200da
mov dword [ebp - 0xec], 0xad00b3
mov dword [ebp - 0xe8], 0xe400b1
mov dword [ebp - 0xe4], 0xc5
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x61f7d0
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.004345f0
mov edi, eax
lea eax, [ebp - 0x278]
push eax
call fcn.0061fca0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.0061f9f0
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.00469f50
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], 0x7c81a4
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 0x61f997
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
cmp dword [ebp - 0x20], esi
jbe 0x61f989
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 0x61f8f0
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 0x61f95d
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 0x61f96d
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 0x61f8c1
push dword [ebp - 0xd8]
call fcn.007906c5
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.0076eb7e
mov esp, ebp
pop ebp
ret 4