Function at 0x1002c820
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0xe8]
mov ebx, ecx
mov dword [esi + 0xec], ecx
push dword [eax]
mov dword [ebp - 0x1c], ecx
push 0xa
push ecx
call fcn.101421c0
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x1002d5ee
sub ebx, eax
mov eax, dword [ebp + 0x10]
dec ebx
add dword [eax], ebx
lea ebx, [esi + 0x88]
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push ebx
push esi
call fcn.1002db50
add esp, 0xc
test eax, eax
jne 0x1002d69b
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xca4]
mov dword [esi + 0xf4], eax
jne 0x1002c8d7
push dword [esi + 0xe4]
push dword [esi + 0xca4]
push edi
push esi
call fcn.1002da30
add esp, 0x10
cmp eax, 2
je 0x1002d66c
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x1002d2cd
cmp al, 0xd
je 0x1002d2d1
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x1002cbd3
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x1002ca41
lea eax, [esi + 0x100]
push eax
lea eax, [ebp + 0xb]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.100117b0
add esp, 0x18
cmp eax, 1
jne 0x1002c97d
cmp dword [ebp - 0xc], 2
jl 0x1002d6c3
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 8]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.100117b0
add esp, 0x10
cmp eax, 2
jne 0x1002d6c3
mov dword [ebx], 0
mov byte [ebp + 0xb], 0x20
jmp 0x1002c98c
cmp eax, 4
jne 0x1002c9e1
cmp byte [ebp + 0xb], 0x20
jne 0x1002d6c3
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
mov dword [ebx], eax
mov ecx, eax
cmp dword [esi + 0x11c], 2
jne 0x1002c9b9
cmp eax, 0x14
je 0x1002c9b9
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.100233a0
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0x14
jge 0x1002ca9d
mov eax, dword [edi + 0x458]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.100233a0
add esp, 8
jmp 0x1002ca9d
test eax, eax
jne 0x1002d6c3
lea eax, [esi + 0x100]
push eax
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.100117b0
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x1002ca9d
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.1002d970
add esp, 0xc
cmp eax, 1
jne 0x1002d6f2
mov dword [esi + 0x100], 0xc8
mov dword [ebx], 0xa
jmp 0x1002ca9d
test eax, 0x40000
je 0x1002d6f2
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 1]
push eax
lea ebx, [edi + 0x188]
push ebx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.100117b0
add esp, 0x18
cmp eax, 4
jne 0x1002d6f2
cmp byte [ebp - 1], 0x20
jne 0x1002d6f2
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x184]
mov eax, dword [esi + 0x100]
mov dword [esi + 0x1048], eax
mov eax, dword [ebx]
mov dword [esi + 0x1050], eax
mov eax, dword [esi + 0xf9c]
test eax, eax
je 0x1002cabf
cmp eax, dword [ebx]
jle 0x1002cac7
mov eax, dword [ebx]
mov dword [esi + 0xf9c], eax
mov eax, dword [esi + 0xfa8]
or eax, dword [esi + 0xfac]
je 0x1002caf3
cmp dword [esi + 0x830], 1
jne 0x1002caf3
cmp dword [esi + 0x100], 0x1a0
jne 0x1002caf3
mov byte [esi + 0x58b], 1
jmp 0x1002cb31
cmp byte [esi + 0xabc], 0
je 0x1002cb31
mov eax, dword [esi + 0x100]
cmp eax, 0x190
jl 0x1002cb31
cmp eax, 0x191
jne 0x1002cb19
cmp byte [edi + 0x2ac], 0
jne 0x1002cb31
cmp eax, 0x197
jne 0x1002d6dd
cmp byte [edi + 0x2ad], 0
je 0x1002d6dd
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x1002cb50
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.100233a0
push 1
push edi
call fcn.10023e40
add esp, 0x10
jmp 0x1002cb73
cmp eax, 0x14
je 0x1002cb67
cmp dword [esi + 0x11c], 1
jne 0x1002cb73
cmp dword [esi + 0x100], 0x65
jne 0x1002cb73
mov eax, dword [edi + 0x458]
mov dword [eax], 2
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x58c], al
sub ecx, 0xcc
je 0x1002cba4
sub ecx, 0x64
jne 0x1002cbd3
cmp dword [esi + 0x824], ecx
je 0x1002cba4
mov byte [esi + 0x1108], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x58c], 1
cmp byte [esi + 0x58c], 0
jne 0x1002ccb0
cmp byte [esi + 0xacc], 0
jne 0x1002ccb0
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002ccb0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10032960
add esp, 0x10
test eax, eax
jne 0x1002cc7a
mov ebx, dword [esi + 0x908]
mov eax, ebx
mov edx, dword [esi + 0x90c]
or eax, edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
je 0x1002cc52
cmp ecx, edx
jg 0x1002d702
jl 0x1002cc52
cmp eax, ebx
ja 0x1002d702
push ecx
push eax
push esi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.100302b0
add esp, 0xc
jmp 0x1002d256
cmp eax, 1
jne 0x1002d71c
mov eax, dword [esi + 0x908]
or eax, dword [esi + 0x90c]
jne 0x1002d702
push 2
push edi
call fcn.10023e40
push str.Overflow_Content_Length:_value__n
push esi
call fcn.100233a0
add esp, 0x10
jmp 0x1002d256
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002cd0f
push dword [esi + 0xf4]
call fcn.1002c1d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002d736
cmp byte [ebx], 0
jne 0x1002ccf5
push ebx
call dword [0x101f5e74]
add esp, 4
jmp 0x1002d256
push dword [esi + 0x107c]
call dword [0x101f5e74]
add esp, 4
mov dword [esi + 0x107c], ebx
jmp 0x1002d256
cmp dword [edi + 0x184], 0xa
jne 0x1002cd58
cmp byte [edi + 0x2aa], 0
je 0x1002cd58
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1002c110
add esp, 0xc
test al, al
je 0x1002cd58
push 0
push edi
call fcn.10023e40
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.100233a0
add esp, 0x10
jmp 0x1002d256
cmp dword [edi + 0x184], 0xb
jne 0x1002cda1
cmp byte [edi + 0x2aa], 0
je 0x1002cda1
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1002c110
add esp, 0xc
test al, al
je 0x1002cda1
push 1
push edi
call fcn.10023e40
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.100233a0
add esp, 0x10
jmp 0x1002d256
cmp dword [edi + 0x184], 0xa
jne 0x1002cde1
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.1002c110
add esp, 0xc
test al, al
je 0x1002cde1
push 0
push edi
call fcn.10023e40
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.100233a0
add esp, 0x10
jmp 0x1002d256
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.1002c110
add esp, 0xc
test al, al
je 0x1002ce0d
push 2
push edi
call fcn.10023e40
add esp, 8
jmp 0x1002d256
cmp byte [esi + 0x58c], 0
jne 0x1002ce8e
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002ce49
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
push eax
push edi
call fcn.10026b00
add esp, 0xc
jmp 0x1002d24e
cmp byte [esi + 0x58c], 0
jne 0x1002ce8e
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002ce8e
cmp dword [esi + 0x960], 0
je 0x1002ce8e
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.10026b00
add esp, 0xc
jmp 0x1002d24e
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002cf24
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [ebp - 0x24], xmm0
push 0
push eax
call fcn.100322a0
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, edx
cmp eax, 0xffffffff
jne 0x1002cf02
cmp ebx, eax
jne 0x1002cf02
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.10032960
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x1088], ecx
mov dword [esi + 0x108c], ebx
jmp 0x1002d256
push 0
call fcn.1015042b
mov ecx, dword [ebp - 0x14]
add esp, 4
sub ecx, eax
mov dword [esi + 0x1088], ecx
sbb ebx, edx
mov dword [esi + 0x108c], ebx
jmp 0x1002d256
cmp byte [esi + 0x58c], 0
jne 0x1002cff2
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002cff2
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x1002cf7d
nop dword [eax]
movzx eax, al
push eax
call fcn.1004ab30
add esp, 4
test eax, eax
jne 0x1002cf7d
cmp byte [ebx], 0x2a
je 0x1002cf7d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1002cf60
movzx eax, byte [ebx]
push eax
call fcn.1004ab30
add esp, 4
test eax, eax
je 0x1002cfd9
lea eax, [esi + 0xf8]
push eax
push 0xa
push 0
push ebx
call fcn.10032960
add esp, 0x10
test eax, eax
jne 0x1002d256
mov eax, dword [esi + 0xfa8]
cmp eax, dword [esi + 0xf8]
jne 0x1002d256
mov eax, dword [esi + 0xfac]
cmp eax, dword [esi + 0xfc]
jne 0x1002d256
mov byte [esi + 0x589], 1
jmp 0x1002d256
mov dword [esi + 0xfa8], 0
mov dword [esi + 0xfac], 0
jmp 0x1002d256
cmp dword [esi + 0xafc], 0
je 0x1002d080
cmp byte [esi + 0x101a], 0
je 0x1002d080
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002d080
push 2
push 2
push esi
call fcn.10026d30
mov ecx, dword [edi + 0x330]
add esp, 0xc
test ecx, ecx
jne 0x1002d03e
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xff8]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xafc]
push esi
call fcn.10017f80
push 2
push esi
call fcn.10026d70
add esp, 0x28
jmp 0x1002d256
cmp byte [esi + 0x58c], 0
jne 0x1002d10b
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002d10b
cmp dword [esi + 0x824], 0
jne 0x1002d0b8
cmp byte [esi + 0xab1], 0
je 0x1002d10b
push 0
call fcn.1015042b
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [ebp - 0x30], edx
push eax
call fcn.100322a0
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xab1], 0
je 0x1002d256
mov dword [esi + 0x1058], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x105c], eax
jmp 0x1002d256
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002d132
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x1002d159
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002d1a5
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x1002d1a5
push dword [esi + 0xf4]
call fcn.1002c1d0
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002d736
cmp ebx, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.1002c550
push dword [ebp - 0x14]
mov ebx, eax
call dword [0x101f5e74]
add esp, 0x10
test ebx, ebx
je 0x1002d256
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1002d230
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.10026930
add esp, 0xc
test eax, eax
je 0x1002d230
cmp dword [esi + 0x13c], 0
jne 0x1002d230
push dword [esi + 0xf4]
call fcn.1002c1d0
add esp, 4
test eax, eax
je 0x1002d736
cmp byte [eax], 0
jne 0x1002d1fe
push eax
call dword [0x101f5e74]
add esp, 4
jmp 0x1002d256
cmp byte [esi + 0xabe], 0
mov dword [esi + 0x13c], eax
je 0x1002d256
push eax
call dword [0x101f5e7c]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x1002d736
push edi
call fcn.1002dd70
add esp, 4
jmp 0x1002d24e
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
je 0x1002d256
push dword [esi + 0xf4]
push edi
call fcn.10043400
add esp, 8
test eax, eax
jne 0x1002d69b
xor ebx, ebx
cmp byte [esi + 0xac1], bl
setne bl
add ebx, 2
cmp byte [esi + 0xac6], 0
je 0x1002d284
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.10023240
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.10023210
add esp, 0x10
test eax, eax
jne 0x1002d69b
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0x1060], eax
adc dword [esi + 0x1064], edx
mov eax, dword [esi + 0xe4]
cdq
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x1002d5a5
cmp al, 0xd
jne 0x1002d2da
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x1002d2e7
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x1002d366
sub ecx, 0x64
je 0x1002d32e
sub ecx, 1
je 0x1002d315
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x1002d3c0
cmp dword [esi + 0x11c], 1
je 0x1002d742
mov byte [esi + 0x588], 0
jmp 0x1002d3c0
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x1002d3c0
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.10015580
add esp, 8
jmp 0x1002d3c0
mov eax, dword [ebx]
and eax, dword [ebx + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x1002d3c0
cmp byte [esi + 0x58d], 0
jne 0x1002d3c0
cmp byte [edi + 0x2a4], 0
jne 0x1002d3c9
cmp dword [edi + 0x184], 0xb
jne 0x1002d3c0
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x1002d3c0
cmp dword [esi + 0x830], 6
je 0x1002d3c0
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.100233a0
push 2
push edi
call fcn.10023e40
add esp, 0x10
cmp byte [edi + 0x2a4], 0
je 0x1002d406
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x1002d3e1
cmp dword [edi + 0x354], 2
je 0x1002d3f1
jmp 0x1002d406
cmp eax, 0x197
jne 0x1002d406
cmp dword [edi + 0x358], 2
jne 0x1002d406
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.100233a0
add esp, 8
mov byte [esi + 0x1011], 1
push edi
call fcn.1002df30
add esp, 4
test eax, eax
jne 0x1002d866
mov eax, dword [esi + 0xca4]
mov ebx, dword [esi + 0xf4]
sub ebx, eax
push ebx
push eax
xor eax, eax
cmp byte [esi + 0xac1], al
setne al
add eax, 2
push eax
push edi
call fcn.10023210
add esp, 0x10
test eax, eax
jne 0x1002d69b
mov eax, ebx
cdq
mov ecx, eax
add dword [esi + 0x1060], ecx
adc dword [esi + 0x1064], edx
add ecx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ecx
adc edx, dword [esi + 0xac]
mov dword [esi + 0xac], edx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x1002d48c
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.1002c2a0
add esp, 4
test eax, eax
jne 0x1002d69b
cmp dword [esi + 0x100], 0x12c
jl 0x1002d598
cmp byte [edi + 0x2b4], al
jne 0x1002d57a
cmp byte [edi + 0x2a4], al
jne 0x1002d57a
cmp byte [edi + 0x2b5], al
jne 0x1002d583
mov eax, dword [esi + 0x830]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1002d57a
push 0
push esi
call fcn.10015580
add esp, 8
cmp byte [esi + 0x58a], 0
jne 0x1002d57a
cmp byte [esi + 0xabd], 0
je 0x1002d536
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.100233a0
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x1002d57a
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x1002d57a
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.100233a0
push 2
push edi
call fcn.10023e40
lea eax, [esi + 0x88]
push eax
push edi
call fcn.1002e490
add esp, 0x18
test eax, eax
jne 0x1002d69b
mov byte [esi + 0x58a], 1
cmp byte [esi + 0x1014], al
je 0x1002d57a
mov dword [esi + 0x118], 3
cmp byte [edi + 0x2b5], 0
je 0x1002d598
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.100233a0
add esp, 8
or dword [esi + 0x138], 2
cmp byte [esi + 0x588], 0
je 0x1002d777
mov eax, dword [esi + 0xca4]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x1002d699
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call fcn.101421c0
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x1002c863
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esi + 0x88]
push eax
push esi
call fcn.1002db50
add esp, 0xc
test eax, eax
jne 0x1002d69b
cmp dword [esi + 0xdc], eax
jne 0x1002d699
push dword [esi + 0xe4]
push dword [esi + 0xca4]
push edi
push esi
call fcn.1002da30
add esp, 0x10
cmp eax, 2
jne 0x1002d699
push eax
push edi
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.10023e40
add esp, 8
cmp byte [esi + 0xae1], 0
jne 0x1002d699
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.100232c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edi
call fcn.10023e40
add esp, 8
cmp byte [esi + 0xae1], 0
je 0x1002d652
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x1002d6a2
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.100232c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.1002e1b0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.100232c0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.100232c0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push esi
call fcn.100233a0
add esp, 8
mov dword [esi + 0x11c], 2
mov byte [esi + 0x588], 1
mov eax, 1
mov dword [esi + 0xdc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xac4], 0
jne 0x1002d7da
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
lea eax, [esi + 0x88]
je 0x1002d7ab
cmp dword [esi + 0xa50], 2
jne 0x1002d7ab
cmp dword [eax + 4], 0xffffffff
jl 0x1002d7e0
jg 0x1002d7ab
cmp dword [eax], 0xffffffff
jbe 0x1002d7e0
cmp byte [esi + 0x58d], 0
mov edi, dword [ebp + 0x14]
je 0x1002d7e6
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
jmp 0x1002d7e6
lea eax, [esi + 0x88]
mov edi, dword [ebp + 0x14]
mov byte [edi], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x1002d802
cmp eax, ecx
jne 0x1002d802
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x1002d825
push eax
push ecx
push esi
call fcn.100302b0
mov ecx, dword [esi + 0x88]
add esp, 0xc
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x1002d832
test eax, eax
jne 0x1002d832
mov byte [edi], 1
jmp 0x1002d837
cmp byte [edi], 0
je 0x1002d83e
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xac6], 0
je 0x1002d699
push ebx
push dword [esi + 0xec]
push 1
push esi
call fcn.10023240
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100232c0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret