Function at 0x4086e3
Capabilities:
Check http status code
Connect to http server
Get http content length
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x5c8], eax
xor eax, eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x5c4], esi
lea edi, [ebp - 0x5c0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4187d8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4187dc]
mov dword [ebp - 0x5cc], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
cmp dword [ecx], esi
jne 0x408743
xor eax, eax
jmp 0x408b3e
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x63c]
push esi
push eax
call fcn.004124d2
xor eax, eax
add esp, 0xc
inc eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x60c], eax
mov eax, ebx
mov dword [ebp - 0x63c], edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x408771
sub eax, ecx
lea ecx, [ebp - 0x63c]
push ecx
push esi
sar eax, 1
push eax
push ebx
call dword [0x41535c]
test eax, eax
je 0x40873c
push dword [ebp - 0x62c]
mov ebx, dword [ebp - 0x628]
lea eax, [ebp - 0x1a4]
call fcn.004084b0
mov ecx, dword [ebp - 0x628]
mov ebx, dword [ebp - 0x610]
push 6
xor eax, eax
mov word [ebp + ecx*2 - 0x1a4], ax
pop ecx
push esi
push esi
lea edi, [ebp - 0x5c4]
rep stosd dword es:[edi], eax
mov edi, dword [0x415008]
push esi
push esi
mov dword [ebp - 0x5b0], 2
call edi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x5bc], eax
call edi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x5b8], eax
call edi
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x5c4]
push eax
push 0x4000000
push 3
pop edi
push edi
push 0x418840
push 0x418844
push dword [ebp - 0x624]
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0x5cc]
push dword [eax]
call dword [0x415338]
mov dword [ebp - 0x5c4], eax
cmp eax, esi
jne 0x40886a
call dword [0x415030]
cmp eax, 0x3e5
je 0x40885c
lea eax, [ebp - 0x5c4]
call fcn.00408f3e
jmp 0x40873c
push 0xffffffffffffffff
push dword [ebp - 0x5bc]
call dword [0x415004]
lea eax, [ebp - 0x5c4]
push eax
push 0x84000000
push esi
push esi
push esi
push ebx
push 0x418850
push dword [ebp - 0x5c4]
mov dword [ebp - 0x5b0], edi
call dword [0x41533c]
mov dword [ebp - 0x5c0], eax
cmp eax, esi
jne 0x4088b6
call dword [0x415030]
cmp eax, 0x3e5
jne 0x40884c
push 0xffffffffffffffff
push dword [ebp - 0x5b8]
call dword [0x415004]
mov dword [ebp - 0x5b0], 4
cmp dword [ebp - 0x5c0], esi
je 0x40873c
push dword [ebp + 0xc]
push dword [ebp - 0x5a8]
push esi
push esi
push dword [ebp - 0x5c0]
call dword [0x415340]
test eax, eax
jne 0x4088f8
call dword [0x415030]
cmp eax, 0x3e5
jne 0x40884c
push 0xffffffffffffffff
push dword [ebp - 0x5b4]
call dword [0x415004]
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x5ac], esi
mov dword [ebp - 0x5a8], esi
mov dword [eax], esi
xor ebx, ebx
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x600]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x600], 0x28
cmp dword [ebp - 0x5ac], esi
jne 0x408953
lea eax, [ebp - 0x5a4]
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0x5e8], 0x200
jmp 0x408965
mov eax, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ec], ebx
mov dword [ebp - 0x5e8], eax
lea eax, [ebp - 0x5e8]
push eax
push dword [ebp - 0x5e8]
mov dword [ebp - 0x5b0], 5
push dword [ebp - 0x5ec]
push dword [ebp - 0x5c0]
call dword [0x415344]
test eax, eax
jne 0x4089b1
call dword [0x415030]
cmp eax, 0x3e5
jne 0x408b4f
push 0xffffffffffffffff
push dword [ebp - 0x5b4]
call dword [0x415004]
cmp dword [ebp - 0x5ac], esi
jne 0x408ae1
cmp dword [ebp - 0x5e8], esi
je 0x408ae1
mov edi, dword [ebp - 0x5c8]
mov eax, dword [edi]
cmp eax, esi
je 0x4089dd
push eax
call dword [0x4152f8]
pop ecx
mov ebx, dword [0x415348]
push esi
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x5d4]
push eax
push 0x20000013
push dword [ebp - 0x5c0]
mov dword [edi], esi
mov dword [ebp - 0x5d0], 4
call ebx
test eax, eax
je 0x40884c
cmp dword [ebp - 0x5d4], 0xc8
jb 0x40884c
cmp dword [ebp - 0x5d4], 0x12b
ja 0x40884c
push esi
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x5ac]
push eax
push 0x20000005
push dword [ebp - 0x5c0]
mov dword [ebp - 0x5d0], 4
call ebx
test eax, eax
je 0x40884c
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x5a8], eax
inc eax
push eax
call fcn.0041194c
mov ebx, eax
pop ecx
cmp ebx, esi
je 0x40884c
mov eax, dword [ebp - 0x5cc]
mov dword [edi], ebx
mov edi, dword [eax + 4]
lea eax, [ebp - 0x5d8]
push eax
push dword [edi + 4]
mov dword [ebp - 0x5d8], ebx
push edi
call fcn.0040904d
mov ecx, dword [ebp - 0x5cc]
mov ecx, dword [ecx + 8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x408b6a
mov edx, dword [ebp - 0x5cc]
inc ecx
mov dword [edx + 8], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push dword [ebp - 0x5e8]
lea eax, [ebp - 0x5a4]
push eax
push ebx
call fcn.004124d8
add esp, 0xc
mov eax, dword [ebp - 0x5e8]
sub dword [ebp - 0x5a8], eax
add ebx, eax
cmp eax, esi
je 0x408afb
cmp dword [ebp - 0x5a8], esi
ja 0x408b05
mov dword [ebp - 0x5b0], 0x10000
cmp dword [ebp - 0x5b0], 0x10000
jne 0x40891c
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax]
cmp ecx, esi
je 0x408b2d
mov edx, dword [ebp - 0x5ac]
xor eax, eax
lea edi, [ecx + edx]
stosb byte es:[edi], al
lea eax, [ebp - 0x5c4]
call fcn.00408f3e
mov eax, dword [ebp - 0x5ac]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411a5a
leave
ret 0xc
mov edi, dword [ebp - 0x5c8]
mov eax, dword [edi]
cmp eax, esi
je 0x408b63
push eax
call dword [0x4152f8]
pop ecx
mov dword [edi], esi
jmp 0x40884c
push str.list_T__too_long
call dword [0x415130]
int3