Function at 0x4041d0
Capabilities:
Create process on windows
Get common file path
Read .ini file
Self delete

Disassembly:
sub esp, 0x50c
push ebx
push esi
push edi
push 0
push str.Manager_Installed
call sub.REDCOMM.dll_Ordinal_27
test eax, eax
jne 0x404459
push str.RSpider.exe
call sub.REDCOMM.dll_Ordinal_121
test eax, eax
jne 0x404459
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call sub.REDCOMM.dll_Ordinal_106
push eax
call fcn.00404050
test eax, eax
jne 0x404459
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404459
mov edx, dword [0x41c1f0]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404267
lea eax, [esp + 0x10]
push 0x5c
push eax
call fcn.0040e650
add esp, 8
mov edx, eax
mov edi, str.DATA
jmp 0x404270
lea edx, [esp + 0x10]
mov edi, 0x41a6ac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, ecx
mov esi, edi
mov edi, edx
push str.WebCtrl.ini
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call ebx
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x24]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x404459
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x318]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x318]
push eax
push 0x100
push ecx
push 0x41a698
push str.DisableGateWay
push str.Header
call esi
xor ecx, ecx
lea edx, [esp + 0x318]
mov al, byte [esp + 0x318]
test al, al
je 0x404459
cmp al, 0x30
jl 0x404336
cmp al, 0x39
jg 0x404336
movsx eax, al
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [eax + ecx*2 - 0x30]
mov al, byte [edx]
test al, al
jne 0x40431d
test ecx, ecx
je 0x404459
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x418]
lea edx, [esp + 0x418]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x100
push edx
push 0x41d29c
push str.GatewayAddress
push str.Header
call esi
test eax, eax
je 0x404459
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x218]
push str.delete_0.0.0.0_mask_0.0.0.0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x418]
lea edx, [esp + 0x218]
push ecx
push edx
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x114]
push 0x104
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.RSCLASS.dll_struct__ENVVAR_gEnvVar]
test dword [eax + 4], 0x10000000
je 0x404408
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40444a
lea edx, [esp + 0x114]
push str._route.exe
push edx
call ebx
push 0
lea eax, [esp + 0x21c]
push 0
lea ecx, [esp + 0x11c]
push eax
push ecx
jmp 0x40443d
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40444a
lea eax, [esp + 0x114]
push str._route.exe
push eax
call ebx
push 0
lea ecx, [esp + 0x21c]
push 0
lea edx, [esp + 0x11c]
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x50c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50c
ret