Function at 0x4c42b0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726565
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x83e264]
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 edi, dword [ebp + 8]
mov dword [ebp - 0xf4], 0
cmp dword [esi + 0x10], 0
je 0x4c45c6
push 2
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
call fcn.004c4fe0
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00482720
push 0xb0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00520480
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.004c65a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x18], 0x5c0022
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
call fcn.004c6ea0
mov byte [ebp - 4], 3
xor eax, eax
mov edx, dword [ebp - 0x9c]
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
mov word [ebp - 0x10c], ax
mov dword [ebp - 0x18], eax
mov eax, edx
and al, 0x22
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0xf4], 9
movq qword [ebp - 0x20], xmm0
cmp al, 2
je 0x4c43e0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4c43e0
cmp ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc8]
cmovb ecx, dword [ebp - 0xa0]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4c4411
test dl, 4
jne 0x4c440b
mov eax, dword [ebp - 0xbc]
mov edi, dword [eax]
test edi, edi
je 0x4c440b
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, edi
sar ecx, 1
jmp 0x4c4411
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4c4422
push ecx
push edx
lea ecx, [ebp - 0x10c]
call fcn.00481410
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 1
call fcn.004c5c00
lea ecx, [ebp - 0x38]
call fcn.004813b0
movups xmm0, xmmword [ebp - 0x10c]
xor eax, eax
lea ecx, [ebp - 0x10c]
mov word [ebp - 0x10c], ax
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [ebp - 0xfc]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
call fcn.004813b0
push 9
push 0x8182b8
lea ecx, [ebp - 0x38]
call fcn.00481660
xorps xmm0, xmm0
push 4
movlpd qword [ebp - 0x1c], xmm0
call fcn.0051dec4
add esp, 4
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
mov edi, eax
cmovae edx, dword [ebp - 0x38]
cmp dword [esi + 0x14], 8
jb 0x4c44b6
mov ecx, dword [esi]
mov esi, ecx
jmp 0x4c44b8
mov ecx, esi
mov eax, dword [ebp - 0x40]
push 0
push 0
push 0
push 0
push 0
push edx
push 1
push 2
push 0x10
push 0xf01ff
push esi
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [edi], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 1
push 0x10
mov byte [ebp - 4], 4
call fcn.0051dec4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0xf4], esi
lea ecx, [esi + 4]
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
movups xmmword [esi], xmm0
mov dword [ecx], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_resource_struct_SC_HANDLE______class__lambda_3ffef39455a6860326270beface83db6__.0
mov dword [esi + 0xc], edi
mov byte [ebp - 4], 5
cmp dword [edi], 0
je 0x4c45a8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x4c455e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x4c455e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.004813b0
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4c458b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4c458b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4c458b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.0051deb6
mov esp, ebp
pop ebp
ret 4
push 2
lea ecx, [ebp - 0x108]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0x108]
push eax
call fcn.00520690
push 5
lea ecx, [ebp - 0x120]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0x120]
push eax
call fcn.00520690
int3