Function at 0x442180
Capabilities:
Create http request
Download and write a 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
push 0xffffffffffffffff
push 0x5c8a66
mov eax, dword fs:[0]
push eax
mov eax, 0x30cc
call fcn.0058d950
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3060], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x305c]
call fcn.00410520
mov byte [ebp - 4], 2
xorpd xmm0, xmm0
movlpd qword [ebp - 0x3068], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x3078], xmm0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3090], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00406610
mov dword [ebp - 0x308c], eax
lea ecx, [ebp - 0x30d8]
push ecx
call fcn.00443140
add esp, 0x1c
mov dword [ebp - 0x3088], eax
mov edx, dword [ebp - 0x3088]
mov dword [ebp - 0x3084], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3084]
push eax
lea ecx, [ebp - 0x305c]
call fcn.00411ab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30d8]
call fcn.00409aa0
movzx ecx, byte [ebp - 0x305c]
test ecx, ecx
je 0x442294
mov edx, dword [ebp - 0x301c]
mov dword [ebp - 0x3078], edx
mov eax, dword [ebp - 0x3018]
mov dword [ebp - 0x3074], eax
cmp dword [ebp + 0x3c], 0
je 0x442292
mov ecx, dword [ebp - 0x3064]
push ecx
mov edx, dword [ebp - 0x3068]
push edx
mov eax, dword [ebp - 0x3074]
push eax
mov ecx, dword [ebp - 0x3078]
push ecx
call dword [ebp + 0x3c]
add esp, 0x10
jmp 0x4422e4
lea edx, [ebp - 0x305c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x3060]
or eax, 1
mov dword [ebp - 0x3060], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x305c]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x442566
lea ecx, [ebp - 0x3010]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004067b0
push eax
call fcn.00430680
add esp, 8
push 0
push 0
push 0
push 0
push 0x615d20
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3080], eax
cmp dword [ebp - 0x3080], 0
je 0x44248f
push 0
push 0x4000000
push 0
push 0
lea edx, [ebp - 0x3010]
push edx
mov eax, dword [ebp - 0x3080]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x307c], eax
cmp dword [ebp - 0x307c], 0
je 0x442476
mov dword [ebp - 0x3014], 1
push 0x615d38
lea ecx, [ebp + 0x24]
call fcn.004067b0
push eax
call fcn.0058a6cc
add esp, 8
mov dword [ebp - 0x3070], eax
cmp dword [ebp - 0x3070], 0
je 0x44245d
mov dword [ebp - 0x306c], 0
cmp dword [ebp - 0x3014], 0
jbe 0x44244c
mov ecx, dword [ebp - 0x306c]
add ecx, 1
mov dword [ebp - 0x306c], ecx
lea edx, [ebp - 0x3014]
push edx
push 0x27ff
lea eax, [ebp - 0x2810]
push eax
mov ecx, dword [ebp - 0x307c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp - 0x3070]
push edx
mov eax, dword [ebp - 0x3014]
push eax
push 1
lea ecx, [ebp - 0x2810]
push ecx
call fcn.0058b28e
add esp, 0x10
mov edx, dword [ebp - 0x3014]
xor eax, eax
add edx, dword [ebp - 0x3068]
adc eax, dword [ebp - 0x3064]
mov dword [ebp - 0x3068], edx
mov dword [ebp - 0x3064], eax
cmp dword [ebp - 0x306c], 0xa
jle 0x442447
cmp dword [ebp + 0x3c], 0
je 0x44243d
mov ecx, dword [ebp - 0x3064]
push ecx
mov edx, dword [ebp - 0x3068]
push edx
mov eax, dword [ebp - 0x3074]
push eax
mov ecx, dword [ebp - 0x3078]
push ecx
call dword [ebp + 0x3c]
add esp, 0x10
mov dword [ebp - 0x306c], 0
jmp 0x442391
mov edx, dword [ebp - 0x3070]
push edx
call fcn.0058af45
add esp, 4
jmp 0x442474
mov byte [ebp - 0x305c], 0
push 0x615d3c
lea ecx, [ebp - 0x3058]
call fcn.00408bc0
jmp 0x44248d
mov byte [ebp - 0x305c], 0
push 0x615d54
lea ecx, [ebp - 0x3058]
call fcn.00408bc0
jmp 0x4424f3
mov byte [ebp - 0x305c], 0
push 0x615d70
lea ecx, [ebp - 0x3058]
call fcn.00408bc0
lea eax, [ebp - 0x305c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x3060]
or ecx, 1
mov dword [ebp - 0x3060], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x305c]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
jmp 0x442566
cmp dword [ebp + 0x3c], 0
je 0x44251b
mov edx, dword [ebp - 0x3064]
push edx
mov eax, dword [ebp - 0x3068]
push eax
mov ecx, dword [ebp - 0x3018]
push ecx
mov edx, dword [ebp - 0x301c]
push edx
call dword [ebp + 0x3c]
add esp, 0x10
lea eax, [ebp - 0x305c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x3060]
or ecx, 1
mov dword [ebp - 0x3060], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x305c]
call fcn.00409aa0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00406730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret