Function at 0x449590
Capabilities:
Delete file
Download and write a file
Move file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4348
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x10]
push str..tmp
push eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 1
call fcn.00449940
add esp, 0xc
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4495f0
lea eax, [ebp - 0x2c]
push 0x4ec9f4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x44961f
cmp dword [ebp - 0x18], 0x10
jb 0x449618
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x44975b
push 0x1fa0
call fcn.004a64f8
push 0x1fa0
mov esi, eax
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [edi + 8]
add esp, 0x10
push 0
push 0
lea edx, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x4496b7
cmp dword [ebp - 0x30], 0
jbe 0x4496b7
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x34]
push ecx
push 0x1fa0
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4496b7
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4496b7
push ebx
push 1
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fwrite]
push ebx
call dword [sym.imp.MSVCR100.dll_fflush]
mov eax, dword [ebp - 0x34]
push eax
push 0
push esi
call sub.MSVCR100.dll_memset
mov edx, dword [edi + 8]
add esp, 0x20
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x449658
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 8
cmp dword [ebp - 0x38], 0
jne 0x449709
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x2efe
je 0x4496e7
dec eax
jne 0x4496ee
mov dword [edi + 0xc], 0x25e
jmp 0x4496ee
mov dword [edi + 0xc], 0x25d
cmp dword [ebp - 0x18], 0x10
jb 0x449618
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x44975b
mov esi, dword [ebp - 0x3c]
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x44971a
mov eax, dword [esi]
jmp 0x44971c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], edi
jb 0x44972a
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x449735
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_rename]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp - 0x18], edi
jb 0x449758
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret