Function at 0x4d8730
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541857
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], edi
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x64], 0
push 0xe
push str.Content_Length
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
lea esi, [edi + 0x29c]
test al, al
je 0x4d895e
mov eax, dword [esi]
cmp eax, 0xc8
je 0x4d87e4
cmp eax, 0xce
jne 0x4d895e
push 0xa
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 0
push 0
call fcn.00415030
add esp, 0x20
xor edx, edx
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004cfde0
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], edx
call fcn.004028f0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x204]
mov edx, dword [ecx + 0x84]
cmp edx, 2
jne 0x4d88be
mov edx, dword [edi + 0x84]
mov ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x44]
test ecx, ecx
jne 0x4d888b
cmp eax, 0xa00
jne 0x4d888b
cmp dword [esi], 0xc8
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x20], 1
jne 0x4d886b
mov eax, dword [ebp - 0x40]
jmp 0x4d8874
add ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x34]
adc eax, dword [ebp - 0x40]
push dword [ebp - 0x20]
sub ecx, 1
sbb eax, 0
push eax
push ecx
mov ecx, edx
call fcn.004c9eb0
jmp 0x4d968d
sub ecx, dword [edx + 0x30]
sbb eax, dword [edx + 0x34]
cmp dword [ebp - 0x64], ecx
jne 0x4d889f
cmp dword [ebp - 0x40], eax
je 0x4d968d
sub esp, 0x18
mov ecx, esp
push str.TS_File_has_not_the_same_Size_as_Previous_try._You_Should_Redownload_File.
call fcn.00409680
mov ecx, dword [edi + 0x204]
call fcn.004c0cf0
jmp 0x4d968d
mov eax, dword [ecx + 0x4c8]
mov esi, dword [ecx + 0x4cc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4d88e9
cmp esi, 0xa00
jne 0x4d88e9
push dword [ebp - 0x40]
push dword [ebp - 0x64]
call fcn.004c0be0
jmp 0x4d968d
test edx, edx
jne 0x4d968d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax + 0x30]
add ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x34]
adc edx, dword [eax + 0x2c]
add ecx, dword [ebp - 0x64]
adc edx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x20]
jne 0x4d8916
cmp edx, esi
je 0x4d968d
sub esp, 0x18
mov ecx, esp
push str.Bad_Server_Reply._File_Size_is_Incorrect._Redownload_File.
call fcn.00409680
mov ecx, dword [edi + 0x204]
push 0
push edi
call fcn.004bfd60
jmp 0x4d968d
cmp dword [esi], 0xce
jne 0x4d8b35
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0xd
push str.Content_Range
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d8b35
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 0
push 0
call fcn.00415030
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push ecx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push str.bytes__lld__lld__lld
push eax
call fcn.0040c0a0
add esp, 0x34
cmp eax, 3
jl 0x4d8b28
mov ecx, dword [edi + 0x204]
mov eax, dword [ecx + 0x84]
cmp eax, 2
jne 0x4d8ab2
mov ecx, dword [edi + 0x84]
mov edx, dword [ecx + 0x40]
mov eax, dword [ecx + 0x44]
test edx, edx
jne 0x4d8a90
cmp eax, 0xa00
jne 0x4d8a90
mov edx, dword [ebp - 0x18]
cmp dword [ecx + 0x34], edx
jl 0x4d8a71
jg 0x4d8a4a
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x30], eax
jbe 0x4d8a74
sub esp, 0x18
mov ecx, esp
push str.TS_File_Size_is_not_the_same_as_Previous_try.You_should_redownload_it_from_the_site_you_have_got_it.
call fcn.00409680
mov ecx, dword [edi + 0x204]
call fcn.004c0cf0
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
mov eax, dword [ebp - 0x1c]
sub eax, 1
push 1
sbb edx, 0
push edx
push eax
call fcn.004c9eb0
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
cmp dword [ebp - 0x1c], edx
jne 0x4d8a4a
cmp dword [ebp - 0x18], eax
jne 0x4d8a4a
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x34]
adc edx, dword [ecx + 0x2c]
cmp dword [ebp - 0x24], eax
jne 0x4d8a4a
cmp dword [ebp - 0x20], edx
je 0x4d8b28
jmp 0x4d8a4a
test eax, eax
jne 0x4d8b28
mov edx, dword [ecx + 0x4c8]
mov eax, dword [ecx + 0x4cc]
test edx, edx
jne 0x4d8ae5
cmp eax, 0xa00
jne 0x4d8ae5
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004c0be0
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
cmp dword [ebp - 0x1c], edx
jne 0x4d8b0b
cmp dword [ebp - 0x18], eax
jne 0x4d8b0b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax + 0x30]
add ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x34]
adc edx, dword [eax + 0x2c]
cmp dword [ebp - 0x24], ecx
jne 0x4d8b0b
cmp dword [ebp - 0x20], edx
je 0x4d8b28
sub esp, 0x18
mov ecx, esp
push str.File_Size_is_not_the_same_as_Previous_try._You_should_Redownload_File_from_the_site_you_have_got_it.
call fcn.00409680
mov ecx, dword [edi + 0x204]
push 0
push edi
call fcn.004bfd60
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
mov eax, dword [edi + 0x204]
cmp dword [eax + 0x4e0], 1
jne 0x4d8c4e
mov eax, dword [esi]
cmp eax, 0xc8
je 0x4d8b5c
cmp eax, 0xce
jne 0x4d8c4e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0xd
push str.Last_Modified
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d8c4e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 1
push 1
call fcn.00415030
add esp, 0x20
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402a10
mov eax, dword [edi + 0x204]
mov ecx, dword [eax + 0x538]
add ecx, 8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
cmp ecx, eax
je 0x4d8c0a
cmp dword [ebp - 0x48], 0x10
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.00402bc0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x4d8c42
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d8c38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d96b3
push ecx
push edx
call fcn.00517162
add esp, 8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004028f0
mov eax, dword [edi + 0x204]
cmp dword [eax + 0x4e0], 1
je 0x4d8dbb
cmp dword [eax + 0x84], 2
jne 0x4d9110
mov eax, dword [esi]
cmp eax, 0x12d
jl 0x4d9057
cmp eax, 0x134
jg 0x4d9057
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 8
push str.Location
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d9057
inc dword [edi + 0x2e8]
lea eax, [ebp + 8]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 0
push 1
call fcn.00415030
add esp, 0x20
lea esi, [edi + 0x2d0]
mov ecx, esi
push eax
call fcn.00402940
lea ecx, [ebp - 0x3c]
call fcn.004028f0
movzx edx, word [edi + 0x1e8]
lea ecx, [ebp - 0x47]
inc edx
call fcn.00409ed0
mov ecx, eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x47]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, eax
je 0x4d8d53
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
push eax
mov edx, str.Redirect_Location_Detected_By_Socket__
lea ecx, [ebp - 0x80]
call fcn.0040b090
push 0x561f44
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x98]
call fcn.0040ca30
sub esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, esp
mov edx, eax
push esi
call fcn.0040feb0
add esp, 4
mov ecx, edi
push 1
call fcn.004c8a80
lea ecx, [ebp - 0x98]
call fcn.004028f0
lea ecx, [ebp - 0x80]
call fcn.004028f0
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
cmp dword [eax + 0x84], 0
jne 0x4d8c6e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x13
push str.Content_Disposition
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
sub esp, 0x18
mov dword [ebp - 0x60], esp
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
test al, al
je 0x4d8fe7
push 9
push 0x563328
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
xor dl, dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d8f4c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402a10
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
push 0
push 0
call fcn.00415030
add esp, 0x20
lea ecx, [ebp + 8]
push eax
call fcn.00402940
lea ecx, [ebp - 0x5c]
call fcn.004028f0
sub esp, 0x18
mov ecx, esp
push 2
push 0x55a234
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.00415230
add esp, 0x18
lea ecx, [ebp - 0x5c]
call fcn.004028f0
cmp dword [ebp + 0x18], 0
je 0x4d8f21
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
lea ecx, [ebp - 0x5c]
call fcn.00414260
add esp, 0x18
lea esi, [edi + 0x24c]
mov ecx, esi
push eax
call fcn.00402940
lea ecx, [ebp - 0x5c]
call fcn.004028f0
jmp 0x4d8f27
lea esi, [edi + 0x24c]
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp + 8]
push eax
call fcn.00402bc0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004028f0
jmp 0x4d8f52
lea esi, [edi + 0x24c]
cmp dword [edi + 0x25c], 0
jne 0x4d968d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 8
push str.filename
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
xor dl, dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d968d
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 0
push 0
call fcn.00415030
add esp, 0x20
mov ecx, esi
push eax
call fcn.00402940
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
push 0xc
push str.Content_Type
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d8c6e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push 0
push 0
call fcn.00415030
add esp, 0x20
lea ecx, [edi + 0x234]
push eax
call fcn.00402940
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0xd
push str.Accept_Ranges
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d9110
sub esp, 0x18
lea eax, [ebp + 8]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
mov ecx, esi
push 0
push 0
call fcn.00415030
add esp, 0x20
lea ecx, [ebp - 0x3c]
call fcn.00413690
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
mov esi, dword [edi + 0x204]
push 4
push str.NONE
call fcn.0040cc20
xor ecx, ecx
add esp, 0x20
test al, al
setne cl
inc ecx
mov dword [esi + 0xec], ecx
lea ecx, [ebp - 0x3c]
call fcn.004028f0
jmp 0x4d968d
mov eax, dword [esi]
cmp eax, 0xc8
je 0x4d9124
cmp eax, 0xce
jne 0x4d9369
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x11
push str.Transfer_Encoding
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d9369
push 0
push str.CHUNKED
sub esp, 0x18
lea eax, [ebp + 8]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
mov ecx, esi
push 0
push 0
call fcn.00415030
add esp, 0x20
lea ecx, [ebp - 0x80]
call fcn.00413690
add esp, 0x18
mov ecx, eax
call fcn.0040fe00
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004028f0
cmp esi, 0xffffffff
je 0x4d968d
push 0x10
call fcn.00517390
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, dword [edi + 0x8c]
push 0x10
mov esi, dword [ecx + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
call fcn.00517390
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x60], edi
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 8], esi
add esi, 1
mov dword [edi], vtable.NeatBuffer_char_.0
setb cl
neg ecx
or ecx, esi
push ecx
call fcn.0051ebb5
mov dword [edi + 4], eax
lea ecx, [ebp - 0x47]
mov dword [edi + 0xc], 0
add esp, 0xc
mov byte [eax], 0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x40]
mov dword [eax], edi
movzx edx, word [esi + 0x1e8]
inc edx
mov dword [esi + 0x230], eax
call fcn.00409ed0
mov ecx, eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x47]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, eax
je 0x4d9286
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
push eax
mov edx, 0x5606c0
lea ecx, [ebp - 0x80]
call fcn.0040b090
sub esp, 0x14
mov byte [ebp - 4], 0x17
mov ecx, esp
mov edx, eax
push str.___Transfer_Type_Set_to_TRANSFER_TYPE_CHUNKED.
call fcn.0040ca30
add esp, 4
mov ecx, esi
push 1
call fcn.004c8a80
lea ecx, [ebp - 0x80]
call fcn.004028f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004028f0
movzx edx, word [esi + 0x1e8]
lea ecx, [ebp - 0x47]
inc edx
call fcn.00409ed0
mov ecx, eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x47]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, eax
je 0x4d930e
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
push eax
mov edx, str.a_ChunkHandler_was_Created_for_Socket__
lea ecx, [ebp - 0x80]
call fcn.0040b090
sub esp, 0x14
mov byte [ebp - 4], 0x19
mov ecx, esp
mov edx, eax
push 0x5633e0
call fcn.0040ca30
add esp, 4
mov ecx, esi
push 0
call fcn.004c8a80
lea ecx, [ebp - 0x80]
call fcn.004028f0
lea ecx, [ebp - 0x3c]
call fcn.004028f0
mov eax, dword [esi + 0x204]
mov dword [eax + 0xf4], 2
jmp 0x4d968d
mov eax, dword [esi]
cmp eax, 0xc8
je 0x4d937d
cmp eax, 0xce
jne 0x4d951f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x10
push str.Content_Encoding
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d951f
sub esp, 0x18
lea eax, [ebp + 8]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402a10
mov edx, dword [ebp - 0x64]
mov ecx, esi
push 0
push 0
call fcn.00415030
add esp, 0x20
lea ecx, [ebp - 0x5c]
call fcn.00413690
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
cmovae ecx, esi
push 3
push 0x5597fc
push 0
setae byte [ebp - 0x65]
call fcn.00410110
add esp, 0x24
cmp eax, 0xffffffff
jne 0x4d9493
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
push 6
push str.DEFLAT
cmovne ecx, esi
push 0
call fcn.00410110
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4d9493
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
push 7
push str.COMPRES
cmovne ecx, esi
push 0
call fcn.00410110
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4d9493
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
push 2
push 0x563434
cmovne ecx, esi
push 0
call fcn.00410110
add esp, 0xc
cmp eax, 0xffffffff
je 0x4d9512
mov eax, dword [edi + 0x204]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
mov byte [eax + 0x5b4], 0
cmp dword [ebp - 0x48], 0x10
cmovae edx, dword [ebp - 0x5c]
call fcn.00410340
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov edx, str.Unsupported_Content_Encoding_:
push eax
call fcn.00417690
mov ecx, dword [edi + 0x204]
add esp, 4
push 0
push edi
call fcn.004bfd60
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4d9512
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d9508
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d96b8
push ecx
push edx
call fcn.00517162
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.004028f0
jmp 0x4d968d
xor eax, eax
mov dword [ebp - 0x40], 4
cmp dword [esi], 0x191
mov dword [ebp - 0x20], eax
jne 0x4d95ac
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x10
push str.WWW_Authenticate
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d95ac
mov edx, dword [ebp - 0x64]
lea ecx, [ebp + 8]
mov dword [ebp - 0x20], 2
call fcn.004b7a80
mov ecx, dword [edi + 0x204]
mov dword [ebp - 0x40], eax
cmp eax, dword [ecx + 0xe8]
jne 0x4d95ac
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x264]
call fcn.00404f30
cmp dword [esi], 0x197
jne 0x4d963b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x12
push str.Proxy_Authenticate
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
sub esp, 0x18
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402a10
mov dl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414c60
add esp, 0x30
test al, al
je 0x4d963b
mov edx, dword [ebp - 0x64]
lea ecx, [ebp + 8]
mov esi, 1
call fcn.004b7a80
mov ecx, eax
mov eax, dword [edi + 0x204]
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax + 0xe4]
jne 0x4d9641
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x27c]
call fcn.00404f30
jmp 0x4d963e
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0x204]
cmp dword [eax + 0x4e0], 1
jne 0x4d968d
cmp esi, 2
jne 0x4d966b
cmp ecx, dword [eax + 0xe8]
jge 0x4d968d
mov dword [eax + 0xe8], ecx
lea ecx, [edi + 0x264]
jmp 0x4d9684
cmp esi, 1
jne 0x4d968d
cmp ecx, dword [eax + 0xe4]
jge 0x4d968d
mov dword [eax + 0xe4], ecx
lea ecx, [edi + 0x27c]
lea eax, [ebp + 8]
push eax
call fcn.00404f30
lea ecx, [ebp + 8]
call fcn.004028f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 0x18
call fcn.0051eb64
call fcn.0051eb64
int3