Function at 0x44ea07
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.004b73d0
mov eax, dword [0x5164b0]
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], 0x4ef554
call fcn.004ab3c0
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push esi
push eax
call fcn.004ab3c0
add esp, 0x18
test ebx, ebx
je 0x44eadc
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 0x4ef58c
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 0x44eade
xor eax, eax
jmp 0x44ec4e
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, 0x4e870e
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 0x4ef5c8
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 0x44ec2e
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.004ab3c0
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 0x44ec01
mov eax, dword [ebp - 0x2a18]
test eax, eax
je 0x44ec01
cmp eax, 0x2800
jae 0x44ec5f
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 0x44ebf4
mov eax, dword [ebp - 0x2a14]
cmp eax, dword [ebp - 0x2a18]
je 0x44ebfb
push esi
call ebx
xor esi, esi
xor edi, edi
test esi, esi
jne 0x44eb8a
jmp 0x44ec2e
test esi, esi
je 0x44ec2e
push esi
call ebx
test edi, edi
je 0x44ec2e
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push eax
push 0x4e8dfc
lea eax, [ecx - 1]
push eax
push ecx
push dword [ebp - 0x2a24]
call fcn.004a6f9d
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.004a5088
mov esp, ebp
pop ebp
ret
call fcn.004a7a9c
int3