Function at 0x1dfeb0
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
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1e00ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor edx, edx
push ebp
push 0x1e00ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x38]
mov eax, dword [0x225c98]
mov eax, dword [eax]
call fcn.00168140
mov eax, dword [ebp - 0x38]
call fcn.00016ce8
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1dff4e
call fcn.00015adc
jmp 0x1e00d9
push 0
push 0
push 0
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1dff73
call fcn.00015adc
jmp 0x1e00d9
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.001e0104
mov byte [ebp - 0x1d], al
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push esi
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1dffae
call fcn.00015adc
jmp 0x1e00d9
mov eax, 0xf4240
call fcn.000142c8
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp word [ebx + 0x52], 0
je 0x1e000a
cmp byte [ebp - 0x1d], 0
jne 0x1dffe5
push 0
push 0x64
push 0
push 0x5a
lea edx, [ebp - 0x31]
mov eax, dword [ebx + 0x54]
call dword [ebx + 0x50]
jmp 0x1dfffa
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea edx, [ebp - 0x31]
mov eax, dword [ebx + 0x54]
call dword [ebx + 0x50]
cmp byte [ebp - 0x31], 0
je 0x1e000a
call fcn.00015adc
jmp 0x1e00d9
mov esi, dword [ebp - 0x14]
mov eax, esi
xor ecx, ecx
mov edx, 0xf4240
call fcn.0001487c
lea eax, [ebp - 0x18]
push eax
push 0xf4240
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x1e0045
call fcn.00015adc
jmp 0x1e00d9
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x1e006a
call fcn.00015adc
jmp 0x1e00d9
mov eax, dword [ebp - 0x1c]
xor edx, edx
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x18], 0
jne 0x1dffbb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1e00d5
cmp dword [ebp - 0x14], 0
je 0x1e00a0
mov eax, dword [ebp - 0x14]
call fcn.000142e4
cmp dword [ebp - 0x10], 0xffffffff
je 0x1e00af
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0
je 0x1e00be
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 8], 0
je 0x1e00cd
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1e00f6
lea eax, [ebp - 0x38]
call fcn.00016c4c
ret