Function at 0x6e8b10
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc78
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1388], ecx
mov dword [ebp - 0x1384], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x20]
xor eax, eax
push ebp
push 0x6e8fdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov dl, 1
mov eax, dword [0x41b798]
call fcn.00403e50
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x6e8faf
push dword fs:[edx]
mov dword fs:[edx], esp
push ebp
xor eax, eax
call fcn.006e8a44
pop ecx
push ebp
push 0x6e8ff4
push dword [ebp - 8]
push 0x6e9010
push dword [ebp - 0xc]
push 0x6e901c
lea eax, [ebp - 0x1384]
mov edx, 5
call fcn.00405018
mov eax, dword [ebp - 0x1384]
call fcn.006e8a44
pop ecx
push ebp
mov eax, 0x6e9028
call fcn.006e8a44
pop ecx
push 0
push 0
push 0
push 0
push 0x6e9078
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x6e8be3
push ebp
mov eax, 0x6e908c
call fcn.006e8a44
pop ecx
call fcn.0040470c
jmp 0x6e8fb6
push ebp
mov eax, 0x6e90b0
call fcn.006e8a44
pop ecx
xor edx, edx
push ebp
push 0x6e8f4e
push dword fs:[edx]
mov dword fs:[edx], esp
push ebp
mov eax, 0x6e90d4
call fcn.006e8a44
pop ecx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405158
mov esi, eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6e8d29
push ebp
mov eax, 0x6e911c
call fcn.006e8a44
pop ecx
push ebp
mov eax, 0x6e9140
call fcn.006e8a44
pop ecx
push 0
push 0x20000000
push 0
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6e8d1b
push ebp
mov eax, 0x6e911c
call fcn.006e8a44
pop ecx
push ebp
mov eax, 0x6e91a4
call fcn.006e8a44
pop ecx
push 0
push 0x10000
push 0
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6e8d0d
push ebp
mov eax, 0x6e911c
call fcn.006e8a44
pop ecx
push ebp
mov eax, 0x6e9208
call fcn.006e8a44
pop ecx
push 0
push 0x200
push 0
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6e8cff
push ebp
mov eax, 0x6e911c
call fcn.006e8a44
pop ecx
push ebp
mov eax, 0x6e9260
call fcn.006e8a44
pop ecx
call fcn.0040470c
call fcn.0040470c
jmp 0x6e8fb6
push ebp
mov eax, 0x6e9280
call fcn.006e8a44
pop ecx
jmp 0x6e8d35
push ebp
mov eax, 0x6e9280
call fcn.006e8a44
pop ecx
jmp 0x6e8d35
push ebp
mov eax, 0x6e9280
call fcn.006e8a44
pop ecx
jmp 0x6e8d35
push ebp
mov eax, 0x6e9280
call fcn.006e8a44
pop ecx
xor edx, edx
push ebp
push 0x6e8f2a
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x14], 0
je 0x6e8d4f
cmp dword [ebp - 0x18], 0
jne 0x6e8d63
call fcn.0040470c
call fcn.0040470c
call fcn.0040470c
jmp 0x6e8fb6
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x201
push ebp
mov eax, 0x6e92a4
call fcn.006e8a44
pop ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x231]
push eax
push 0x13
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6e8dbf
push ebp
mov eax, 0x6e9300
call fcn.006e8a44
pop ecx
call fcn.0040470c
call fcn.0040470c
call fcn.0040470c
jmp 0x6e8fb6
push ebp
mov eax, 0x6e9320
call fcn.006e8a44
pop ecx
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x231]
mov ecx, 0x201
call fcn.00404f08
mov eax, dword [ebp - 0x30]
mov edx, 0x6e9334
call fcn.004050a4
je 0x6e8e0d
push ebp
mov eax, 0x6e9340
call fcn.006e8a44
pop ecx
call fcn.0040470c
call fcn.0040470c
call fcn.0040470c
jmp 0x6e8fb6
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1380]
call fcn.00403420
mov edx, 1
lea eax, [ebp - 0x1380]
call fcn.00403878
call fcn.00402e4c
test eax, eax
je 0x6e8e48
call fcn.0040470c
call fcn.0040470c
call fcn.0040470c
jmp 0x6e8fb6
mov dword [ebx], 0x1000
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 4
xor eax, eax
mov dword [ebp - 0x28], eax
push ebp
mov eax, 0x6e936c
call fcn.006e8a44
pop ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x20000005
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
jne 0x6e8e9c
push ebp
mov eax, 0x6e93e8
call fcn.006e8a44
pop ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x6e8ea8
push ebp
mov eax, 0x6e9320
call fcn.006e8a44
pop ecx
mov dword [ebx], 0x1000
cmp dword [ebx], 0
jbe 0x6e8ef9
push ebx
push 0x1000
lea eax, [ebp - 0x1233]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x6e8ef9
cmp dword [ebx], 0
jbe 0x6e8ef4
cmp dword [ebx], 0x1000
ja 0x6e8ef4
push 0
lea edx, [ebp - 0x1233]
mov ecx, dword [ebx]
lea eax, [ebp - 0x1380]
call fcn.00403570
call fcn.00402d28
cmp dword [ebx], 0
ja 0x6e8eb3
lea eax, [ebp - 0x1380]
call fcn.00403590
call fcn.00402d28
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e8f31
cmp dword [ebp - 0x18], 0
je 0x6e8f29
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e8fe3
lea eax, [ebp - 0x1388]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 0x30]
call fcn.00404c88
ret