Function at 0x404d80
Capabilities:
Create process on windows
Delete file
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40aec7
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov ecx, 0x411618
push ebx
push esi
push edi
call fcn.004021c0
test eax, eax
jne 0x404fcf
mov ax, word [0x410208]
mov cl, byte [0x41020a]
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x23]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
push 0x12c
push edx
push str.ProgramFiles
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x1f], 0x5c
je 0x404e2b
mov edi, 0x410048
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
push 0x410550
lea edx, [esp + 0x18]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x160], ebx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], bl
call sub.MFC42.DLL_CString::CString
mov ecx, 0x411618
call fcn.00403830
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0040a24c
push ecx
mov byte [esp + 0x15c], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push str.data3.dat
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x411618
mov byte [esp + 0x15c], bl
call fcn.00403790
cmp eax, ebx
jne 0x404fbb
lea ecx, [esp + 0xc]
push str.data_rcno.ini
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x10]
push 0x410058
push eax
mov byte [esp + 0x15c], 3
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x404f16
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax - 8]
push ecx
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0xc]
push str.data_ttbox_uninstall.dat
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0040a24c
call fcn.00408e40
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push str.data_ttboxtimer.exe
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x18]
push 5
push 0x4114c4
push str._ServerRun
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret