Function at 0x4198a0
Capabilities:
Check http status code
Connect to http server
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4597ab
push eax
mov eax, 0x2098
mov dword fs:[0], esp
call fcn.00447a40
push ebx
mov ebx, ecx
mov dword [ebp - 0x2c], 0
push esi
push edi
mov dword [ebp - 0x18], 0
lea eax, [ebx + 0xdc]
mov dword [ebx + 0xe0], 0
push eax
push str.Content_type:_multipart_form_data__boundary
lea eax, [ebp - 0x28]
mov dword [ebx + 0xe4], 0
push eax
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
call fcn.00409520
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10a3]
push 0xfff
push 0
push eax
mov dword [ebp - 0x60], 0x4631cc
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x10a4], 0
call fcn.004486f0
mov eax, dword [0x476478]
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov edi, dword [0x476478]
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.0040b160
or esi, 0xffffffff
test eax, eax
je 0x419f71
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.2__WOW64__rv:23.0__Gecko_20100101_Firefox_23.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x419f71
mov edx, dword [ebx + 0x64]
lea eax, [ebp - 0x20a4]
push 0x400
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [edx - 8]
push eax
push 0x200
lea eax, [ebp - 0x14a4]
add ecx, ecx
push eax
push 0x200
lea eax, [ebp - 0x18a4]
mov dword [edx - 4], ecx
push eax
push dword [ebx + 0x64]
mov ecx, ebx
call fcn.004255e0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14a4]
push 0
push 0
push 3
push 0
push 0
push esi
push eax
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x419f65
push 4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push ecx
push 6
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [ebx + 0x70], 0
jne 0x419a2a
cmp dword [ebx + 0x98], 0
mov eax, 0x463450
je 0x419a2f
mov eax, str.POST
push eax
lea ecx, [ebp - 0x3c]
call fcn.00409040
mov edi, dword [ebp - 0x3c]
mov eax, 0x4803000
cmp esi, 0x1bb
mov ecx, 0x4003000
push 0
cmove ecx, eax
mov eax, dword [edi - 8]
add eax, eax
push ecx
mov dword [edi - 4], eax
lea eax, [ebp - 0x60]
push eax
push str.http:__translate.google.de_
push 0
lea eax, [ebp - 0x20a4]
push eax
push edi
push dword [ebp - 0x40]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x419f5a
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x24], 0x3100
lea eax, [ebp - 0x24]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], 0x28
mov dword [ebp - 0x84], 0
push 0
mov ecx, dword [eax - 8]
add ecx, ecx
mov dword [eax - 4], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
push 0
push 0
mov eax, dword [eax - 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov dword [ebx + 0xe0], eax
lea eax, [ebp - 0x88]
push eax
push esi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x419f4f
xor edx, edx
mov dword [ebp - 0x10], edx
cmp dword [ebx + 0x70], edx
jle 0x419b87
mov eax, dword [ebx + 0x88]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push dword [eax + edx*4]
call fcn.00405440
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x74]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push dword [eax + edx*4]
call fcn.00405440
mov byte [ebp - 4], 4
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00439660
test eax, eax
je 0x419f4f
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x70]
jl 0x419b37
xor edx, edx
mov dword [ebp - 0x10], edx
cmp dword [ebx + 0x98], edx
jle 0x419c05
mov eax, dword [ebx + 0xc4]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push dword [eax + edx*4]
call fcn.00405440
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0xb0]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push dword [eax + edx*4]
call fcn.00405440
mov byte [ebp - 4], 6
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push dword [eax + edx*4]
call fcn.00405440
mov byte [ebp - 4], 7
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00438e00
test eax, eax
je 0x419f4f
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x98]
jl 0x419b94
push esi
mov ecx, ebx
call fcn.00439900
test eax, eax
je 0x419f4f
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x419f4f
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x54], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x419c69
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push str.Server_responce_code:__ld
push eax
call fcn.004134b0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x800
lea eax, [ebp - 0x10a4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x60], eax
mov esi, dword [0x476478]
mov dword [ebp - 0x34], eax
mov byte [ebp + eax - 0x10a4], 0
mov dword [ebp - 0x10], esi
test eax, eax
je 0x419cdb
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a900
test eax, eax
je 0x419cd8
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x10a4]
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
or ecx, 0xffffffff
test eax, eax
cmovns ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00428050
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408f00
mov byte [ebp - 4], 2
lea eax, [esi - 0x20]
cmp eax, dword [0x476474]
je 0x419d12
add esi, 0xffffffe0
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x419d12
push esi
call fcn.004471aa
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push str.Server_responce_body:
lea eax, [ebp - 0x10]
push eax
call fcn.00409520
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
push eax
call fcn.00408f00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x419d61
lea ecx, [eax - 0x20]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x419d61
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
cmp dword [ebp - 0x14], 0
jbe 0x419d84
mov al, byte [ebp - 0x10a4]
sub al, 0x30
cmp al, 9
ja 0x419d84
lea eax, [ebp - 0x10a4]
push eax
call fcn.00446dcd
add esp, 4
jmp 0x419d9b
cmp dword [ebp - 0x20], 0
je 0x419f4c
cmp dword [ebp - 0x30], 0xc8
jne 0x419f4c
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push 0
push eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x48], 4
push eax
push 0x20000005
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebx + 0x54]
cmp dword [eax - 8], 0
je 0x419ed0
lea ecx, [ebp - 0xa4]
call fcn.00405a70
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0x54]
push 3
push 0xc0000000
mov eax, dword [ecx - 8]
add eax, eax
mov dword [ecx - 4], eax
lea ecx, [ebp - 0xa4]
cmp dword [ebx + 0x50], 0
setne al
movzx eax, al
push eax
push dword [ebx + 0x54]
call fcn.0040d480
test eax, eax
je 0x419e8f
push dword [ebp - 0x14]
lea eax, [ebp - 0x10a4]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00438db0
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x10a4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x419e8f
lea ebx, [ebx]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x419e8f
add dword [ebx + 0x60], eax
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x419eb3
cmp ecx, 0xffffffff
je 0x419eb3
push 0
lea edx, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0x10a4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x20], 0
je 0x419eb3
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x10a4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x419e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00408b20
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2c], 1
call esi
jmp 0x419f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00408b20
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x419f60
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x419f3a
push dword [ebp - 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x10a4]
push edx
call dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x10a4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x419f3a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x419f3a
add dword [ebx + 0x60], eax
mov ecx, dword [ebx + 0x58]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.0040aa40
test eax, eax
je 0x419f4f
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x10a4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x419f01
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2c], 1
call esi
jmp 0x419f60
mov esi, dword [ebp - 0x18]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x419f60
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or esi, 0xffffffff
mov dword [ebx + 0xc], 1
mov byte [ebp - 4], 1
lea eax, [edi - 0x20]
cmp eax, dword [0x476474]
je 0x419f9e
add edi, 0xffffffe0
mov eax, esi
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x419f9e
push edi
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x419fc7
lea ecx, [eax - 0x20]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x419fc7
push ecx
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x419ff7
add eax, 0xffffffe0
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x419ff7
mov ecx, dword [ebp - 0x28]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret