Function at 0x453c70
Capabilities:
Create service
Delete file
Enumerate files on windows
Get common file path
Modify service
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe94
mov eax, dword [0x6ed0a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0xa30]
push esi
push eax
mov edi, ecx
call fcn.00612090
push 0x208
lea eax, [ebp - 0xc38]
push esi
push eax
call fcn.00612090
push 0x208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00612090
add esp, 0x24
lea eax, [ebp - 0xa30]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x453f18
push esi
lea eax, [ebp - 0xc38]
push eax
push 0x104
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x453f18
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x453f18
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc38]
push eax
push 1
push 3
push 0x110
push 0xf01ff
lea eax, [edi + 0x208]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edx, eax
mov dword [ebp - 0xe90], edx
test edx, edx
je 0x453f11
add edi, 0x410
mov ecx, edi
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453d60
sub ecx, esi
sar ecx, 1
je 0x453d87
lea eax, [ebp - 0xe8c]
mov dword [ebp - 0xe8c], edi
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 1
push 0x1c
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x453f00
push 0x208
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00612090
push 0x208
lea eax, [ebp - 0x620]
push 0
push eax
call fcn.00612090
push 0x250
lea eax, [ebp - 0xe88]
push 0
push eax
call fcn.00612090
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.00618aa6
push 0x6e211c
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.006188c6
add esp, 0x3c
lea eax, [ebp - 0x210]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x453e3a
push str.MicrosoftWindowsExplorer_
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.006188c6
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.00618aa6
push str..db
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.006188c6
add esp, 0x18
lea eax, [ebp - 0xe88]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x453ef9
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
push 0x208
lea eax, [ebp - 0x828]
push 0
push eax
call fcn.00612090
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x828]
push 0x104
push eax
call fcn.00618aa6
lea eax, [ebp - 0xe5c]
push eax
lea eax, [ebp - 0x828]
push 0x104
push eax
call fcn.006188c6
add esp, 0x24
lea eax, [ebp - 0x828]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x453e90
lea eax, [ebp - 0xe88]
push eax
push esi
call edi
test eax, eax
jne 0x453e90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0xe90]
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060f4a4
mov esp, ebp
pop ebp
ret