Function at 0x1012c570
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ebp, [esi + 0x88]
mov ecx, dword [esi + 0xe8]
mov ebx, ecx
mov dword [esi + 0xec], ecx
push dword [eax]
mov dword [esp + 0x30], ecx
push 0xa
push ecx
call fcn.10192e10
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x1012d40f
nop dword [eax]
sub ebx, eax
mov eax, dword [esp + 0x44]
dec ebx
add dword [eax], ebx
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push ebp
push esi
call fcn.1012da10
add esp, 0xc
test eax, eax
jne 0x1012d4b8
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xcac]
mov dword [esi + 0xf4], eax
jne 0x1012c629
push dword [esi + 0xe4]
push eax
push esi
call fcn.1012d7e0
add esp, 0xc
cmp eax, 2
je 0x1012d488
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x1012d060
cmp al, 0xd
je 0x1012d064
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x1012c918
mov eax, dword [edi + 0x2e8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x1012c78f
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x40]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [esp + 0x2c]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.100405f1
add esp, 0x18
cmp eax, 1
jne 0x1012c6ce
cmp dword [esp + 0x20], 2
jl 0x1012d4e4
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.100405f1
add esp, 0x10
cmp eax, 2
jne 0x1012d4e4
mov dword [ebx], 0
mov byte [esp + 0x3c], 0x20
jmp 0x1012c6de
cmp eax, 4
jne 0x1012c734
cmp byte [esp + 0x3c], 0x20
jne 0x1012d4e4
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
mov dword [ebx], eax
cmp dword [esi + 0x11c], 2
jne 0x1012c708
cmp eax, 0x14
je 0x1012c708
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.1011fc90
add esp, 8
cmp dword [ebx], 0x14
mov ecx, ebx
jge 0x1012c7eb
mov eax, dword [edi + 0x57c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.1011fc90
add esp, 8
mov ecx, ebx
jmp 0x1012c7eb
test eax, eax
jne 0x1012d4e4
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.100405f1
add esp, 0xc
mov dword [ebx], 0xa
mov ecx, ebx
test eax, eax
jne 0x1012c7eb
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.1012d7e0
add esp, 0xc
cmp eax, 1
jne 0x1012d589
mov dword [ebp], 0xc8
mov ecx, ebx
mov dword [ebx], 0xa
jmp 0x1012c7eb
test eax, 0x40000
je 0x1012d589
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea ebx, [edi + 0x188]
push ebx
lea eax, [esp + 0x30]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.100405f1
add esp, 0x18
cmp eax, 4
jne 0x1012d589
cmp byte [esp + 0x13], 0x20
jne 0x1012d589
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x184]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov edx, dword [ebp]
mov dword [esi + 0x1030], edx
mov eax, dword [ecx]
mov dword [esi + 0x1038], eax
mov eax, dword [esi + 0xf84]
test eax, eax
je 0x1012c80a
cmp eax, dword [ecx]
jle 0x1012c812
mov eax, dword [ecx]
mov dword [esi + 0xf84], eax
mov eax, dword [esi + 0xf90]
or eax, dword [esi + 0xf94]
je 0x1012c83a
cmp dword [esi + 0x830], 1
jne 0x1012c83a
cmp edx, 0x1a0
jne 0x1012c83a
mov byte [esi + 0x58b], 1
jmp 0x1012c875
cmp byte [esi + 0xac4], 0
je 0x1012c875
cmp edx, 0x190
jl 0x1012c875
cmp edx, 0x191
jne 0x1012c85c
cmp byte [edi + 0x2ac], 0
jmp 0x1012c86f
cmp edx, 0x197
jne 0x1012d4ff
cmp byte [edi + 0x2ad], 0
je 0x1012d4ff
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x1012c894
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.1011fc90
push 1
push edi
call fcn.10124210
add esp, 0x10
jmp 0x1012c8b3
cmp eax, 0x14
je 0x1012c8a7
cmp dword [esi + 0x11c], 1
jne 0x1012c8b3
cmp edx, 0x65
jne 0x1012c8b3
mov eax, dword [edi + 0x57c]
mov dword [eax], 2
mov ecx, dword [ebp]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x58c], al
sub ecx, 0xcc
je 0x1012c8e1
sub ecx, 0x64
jne 0x1012c912
cmp dword [esi + 0x824], ecx
je 0x1012c8e1
mov byte [esi + 0x10f0], 1
lea ebp, [esi + 0x88]
mov dword [esi + 0x90], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x58c], 1
jmp 0x1012c918
lea ebp, [esi + 0x88]
cmp byte [esi + 0x58c], 0
jne 0x1012c9f2
cmp byte [esi + 0xad4], 0
jne 0x1012c9f2
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012c9f2
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1013b880
add esp, 0x10
test eax, eax
jne 0x1012c9bc
mov ebx, dword [esi + 0x910]
mov eax, ebx
mov edx, dword [esi + 0x914]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x1012c99a
cmp ecx, edx
jg 0x1012d59a
jl 0x1012c99a
cmp eax, ebx
ja 0x1012d59a
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.10135b90
add esp, 0xc
jmp 0x1012cfea
cmp eax, 1
jne 0x1012d5b5
mov eax, dword [esi + 0x910]
or eax, dword [esi + 0x914]
jne 0x1012d59a
push 2
push edi
call fcn.10124210
push str.Overflow_Content_Length:_value__n
push esi
call fcn.1011fc90
add esp, 0x10
jmp 0x1012cfea
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012ca51
push dword [esi + 0xf4]
call fcn.1012be60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1012d5d0
cmp byte [ebx], 0
jne 0x1012ca37
push ebx
call dword [0x101da894]
add esp, 4
jmp 0x1012cfea
push dword [esi + 0x1064]
call dword [0x101da894]
add esp, 4
mov dword [esi + 0x1064], ebx
jmp 0x1012cfea
cmp dword [edi + 0x184], 0xa
jne 0x1012ca9a
cmp byte [edi + 0x2aa], 0
je 0x1012ca9a
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1012bda0
add esp, 0xc
test al, al
je 0x1012ca9a
push 0
push edi
call fcn.10124210
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.1011fc90
add esp, 0x10
jmp 0x1012cfea
cmp dword [edi + 0x184], 0xb
jne 0x1012cae3
cmp byte [edi + 0x2aa], 0
je 0x1012cae3
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.1012bda0
add esp, 0xc
test al, al
je 0x1012cae3
push 1
push edi
call fcn.10124210
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.1011fc90
add esp, 0x10
jmp 0x1012cfea
cmp dword [edi + 0x184], 0xa
jne 0x1012cb23
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.1012bda0
add esp, 0xc
test al, al
je 0x1012cb23
push 0
push edi
call fcn.10124210
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.1011fc90
add esp, 0x10
jmp 0x1012cfea
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.1012bda0
add esp, 0xc
test al, al
je 0x1012cb4f
push 2
push edi
call fcn.10124210
add esp, 8
jmp 0x1012cfea
cmp byte [esi + 0x58c], 0
jne 0x1012cbcb
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cb7e
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
jmp 0x1012cbb4
cmp byte [esi + 0x58c], 0
jne 0x1012cbcb
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cbcb
cmp dword [esi + 0x968], 0
je 0x1012cbcb
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.10127860
add esp, 0xc
test eax, eax
jne 0x1012d4b8
jmp 0x1012cfea
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cc5f
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x18], xmm0
push eax
call fcn.1013bbf0
mov ebp, eax
add esp, 4
mov ebx, edx
cmp ebp, 0xffffffff
jne 0x1012cc40
cmp ebx, eax
jne 0x1012cc40
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.1013b880
mov ebx, dword [esp + 0x2c]
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x1070], ebp
mov dword [esi + 0x1074], ebx
jmp 0x1012cfea
push 0
call fcn.1018230f
add esp, 4
sub ebp, eax
mov dword [esi + 0x1070], ebp
sbb ebx, edx
mov dword [esi + 0x1074], ebx
jmp 0x1012cfea
cmp byte [esi + 0x58c], 0
jne 0x1012cd2c
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cd2c
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x1012ccbd
nop dword [eax + eax]
movzx eax, al
push eax
call fcn.1013b230
add esp, 4
test eax, eax
jne 0x1012ccbd
cmp byte [ebx], 0x2a
je 0x1012ccbd
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1012cca0
movzx eax, byte [ebx]
push eax
call fcn.1013b230
add esp, 4
test eax, eax
je 0x1012cd13
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push ebx
call fcn.1013b880
add esp, 0x10
test eax, eax
jne 0x1012cfea
mov eax, dword [esi + 0xf90]
cmp eax, dword [ebp]
jne 0x1012cfea
mov eax, dword [esi + 0xf94]
cmp eax, dword [ebp + 4]
jne 0x1012cfea
mov byte [esi + 0x589], 1
jmp 0x1012cfea
mov dword [esi + 0xf90], 0
mov dword [esi + 0xf94], 0
jmp 0x1012cfea
cmp dword [esi + 0xb04], 0
je 0x1012cdba
cmp byte [esi + 0x1002], 0
je 0x1012cdba
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cdba
push 2
push 2
push esi
call fcn.10127db0
mov ecx, dword [edi + 0x330]
add esp, 0xc
test ecx, ecx
jne 0x1012cd78
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 + 0xfe0]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xb04]
push esi
call fcn.10119e70
push 2
push esi
call fcn.10127df0
add esp, 0x28
jmp 0x1012cfea
cmp byte [esi + 0x58c], 0
jne 0x1012ce2c
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012ce2c
cmp dword [esi + 0x824], 0
jne 0x1012cdee
cmp byte [esi + 0xab9], 0
je 0x1012ce2c
mov eax, dword [esi + 0xf4]
add eax, 0xe
push eax
call fcn.1013bbf0
add esp, 4
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
cmp byte [esi + 0xab9], 0
je 0x1012cfea
mov ecx, edx
mov dword [esi + 0x1040], eax
mov dword [esi + 0x1044], ecx
jmp 0x1012cfea
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012ce53
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x1012ce7a
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cec4
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x1012cec4
push dword [esi + 0xf4]
call fcn.1012be60
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1012d5d0
cmp ebx, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.1012c1e0
push ebp
mov ebx, eax
call dword [0x101da894]
add esp, 0x10
test ebx, ebx
je 0x1012cfea
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cf40
cmp dword [esi + 0xd34], 4
jne 0x1012cfea
push dword [esi + 0xf4]
call fcn.1012be60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1012d5d0
push 5
push ebx
push str.false
call fcn.10127d10
test eax, eax
mov byte [edi + 0x45d], 1
push ebx
setne al
mov byte [edi + 0x45c], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.1011fc90
push ebx
call dword [0x101da894]
add esp, 0x20
jmp 0x1012cfea
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1012cfd7
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.10127d10
add esp, 0xc
test eax, eax
je 0x1012cfd7
cmp dword [esi + 0x13c], 0
jne 0x1012cfd7
push dword [esi + 0xf4]
call fcn.1012be60
add esp, 4
test eax, eax
je 0x1012d5d0
cmp byte [eax], 0
jne 0x1012cf9d
push eax
call dword [0x101da894]
add esp, 4
jmp 0x1012cfea
cmp byte [esi + 0xac6], 0
mov dword [esi + 0x13c], eax
je 0x1012cfea
push eax
call dword [0x101da89c]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x1012d5d0
push edi
call fcn.1012dc30
add esp, 4
test eax, eax
jne 0x1012d4b8
jmp 0x1012cfea
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x1012d5dd
xor ebx, ebx
cmp byte [esi + 0xac9], bl
setne bl
add ebx, 2
cmp byte [esi + 0xace], 0
je 0x1012d018
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.1011fb40
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.1011fb10
add esp, 0x10
test eax, eax
jne 0x1012d4b8
mov eax, dword [esi + 0xe4]
lea ebp, [esi + 0x88]
cdq
add dword [esi + 0x1048], eax
adc dword [esi + 0x104c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x1012d3c5
cmp al, 0xd
jne 0x1012d06d
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x1012d07a
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x1012d0f9
sub ecx, 0x64
je 0x1012d0c1
sub ecx, 1
je 0x1012d0a8
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x1012d154
cmp dword [esi + 0x11c], 1
je 0x1012d5ea
mov byte [esi + 0x588], 0
jmp 0x1012d154
cmp dword [esi + 0x118], 0
mov byte [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jle 0x1012d154
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.101209b0
add esp, 8
jmp 0x1012d154
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0x588], 0
cmp eax, 0xffffffff
jne 0x1012d154
cmp byte [esi + 0x58d], 0
jne 0x1012d154
cmp byte [edi + 0x2a4], 0
jne 0x1012d161
cmp dword [edi + 0x184], 0xb
jne 0x1012d154
mov eax, dword [edi + 0x2e8]
test dword [eax + 0x40], 0x40000
jne 0x1012d154
cmp dword [esi + 0x830], 6
je 0x1012d154
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.1011fc90
push 2
push edi
call fcn.10124210
add esp, 0x10
cmp byte [edi + 0x2a4], 0
je 0x1012d1e4
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x1012d179
cmp dword [edi + 0x38c], 2
je 0x1012d189
jmp 0x1012d19e
cmp eax, 0x197
jne 0x1012d19e
cmp dword [edi + 0x390], 2
jne 0x1012d19e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.1011fc90
add esp, 8
mov byte [esi + 0xff9], 1
cmp byte [edi + 0x2a4], 0
je 0x1012d1e4
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x1012d1bf
cmp dword [edi + 0x414], 1
je 0x1012d1cf
jmp 0x1012d1e4
cmp eax, 0x197
jne 0x1012d1e4
cmp dword [edi + 0x418], 1
jne 0x1012d1e4
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.1011fc90
add esp, 8
mov byte [esi + 0xff9], 1
cmp dword [edi + 0x414], 3
jne 0x1012d203
cmp dword [esi + 0x100], 0x191
je 0x1012d203
mov dword [edi + 0x414], 4
cmp dword [edi + 0x418], 3
jne 0x1012d222
cmp dword [esi + 0x100], 0x197
je 0x1012d222
mov dword [edi + 0x418], 4
push edi
call fcn.1012de60
add esp, 4
test eax, eax
jne 0x1012d6d5
mov eax, dword [esi + 0xcac]
mov ebx, dword [esi + 0xf4]
sub ebx, eax
push ebx
push eax
xor eax, eax
cmp byte [esi + 0xac9], al
setne al
add eax, 2
push eax
push edi
call fcn.1011fb10
add esp, 0x10
test eax, eax
jne 0x1012d4b8
mov eax, ebx
cdq
mov ecx, eax
add dword [esi + 0x1048], ecx
adc dword [esi + 0x104c], 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 0x1012d2ab
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.1012bf30
add esp, 4
test eax, eax
jne 0x1012d4b8
cmp dword [esi + 0x100], 0x12c
jl 0x1012d3b8
cmp byte [edi + 0x2b4], al
jne case.default.0x1012d30e
cmp byte [edi + 0x2a4], al
jne case.default.0x1012d30e
cmp byte [edi + 0x2b5], al
jne 0x1012d3a3
mov eax, dword [esi + 0x830]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x1012d30e
jmp dword [eax*4 + 0x1012d6f8]
push 0
push esi
call fcn.101209b0
add esp, 8
cmp byte [esi + 0x58a], 0
jne case.default.0x1012d30e
cmp byte [esi + 0xac5], 0
je 0x1012d35c
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.1011fc90
add esp, 8
cmp dword [esi + 0x118], 0
jle case.default.0x1012d30e
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp case.default.0x1012d30e
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.1011fc90
push 2
push edi
call fcn.10124210
push ebp
push edi
call fcn.10141720
add esp, 0x18
test eax, eax
jne 0x1012d4b8
mov byte [esi + 0x58a], 1
cmp byte [esi + 0xffc], al
je case.default.0x1012d30e
mov dword [esi + 0x118], 3
cmp byte [edi + 0x2b5], 0
je 0x1012d3b8
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.1011fc90
add esp, 8
or dword [esi + 0x138], 2
cmp byte [esi + 0x588], 0
je 0x1012d620
mov eax, dword [esi + 0xcac]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x1012d4b6
mov eax, dword [esp + 0x44]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call fcn.10192e10
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x1012c5c0
mov eax, dword [esp + 0x44]
push dword [eax]
push ebp
push esi
call fcn.1012da10
add esp, 0xc
test eax, eax
jne 0x1012d4b8
cmp dword [esi + 0xdc], eax
jne 0x1012d4b6
push dword [esi + 0xe4]
push dword [esi + 0xcac]
push esi
call fcn.1012d7e0
add esp, 0xc
cmp eax, 2
jne 0x1012d4b6
push eax
push edi
mov byte [esi + 0x588], 0
mov dword [esi + 0xd8], eax
call fcn.10124210
add esp, 8
cmp byte [esi + 0xaea], 0
jne 0x1012d4b6
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.1011fbd0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 2
push edi
call fcn.10124210
add esp, 8
cmp byte [esi + 0xaea], 0
je 0x1012d46d
mov eax, dword [esp + 0x44]
mov byte [esi + 0x588], 0
cmp dword [eax], 0
je 0x1012d4c0
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.1011fbd0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call fcn.1015a2b0
add esp, 0xc
test eax, eax
jne 0x1012d581
push 0x20
push edi
call fcn.10028c30
mov edi, eax
add esp, 8
test edi, edi
je 0x1012d581
inc edi
cmp byte [edi], 0
je 0x1012d581
push 0xd
push edi
mov byte [esp + 0x4c], 0xd
call fcn.10028c30
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1012d55c
push 0xa
push edi
mov byte [esp + 0x4c], 0xa
call fcn.10028c30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012d581
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.1011fbd0
mov al, byte [esp + 0x50]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [ebp]
jmp 0x1012d6db
pop edi
mov byte [esi + 0x588], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.1011fbd0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.1011fbd0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push esi
call fcn.1011fc90
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 ebp
pop ebx
add esp, 0x28
ret
cmp byte [esi + 0xacc], 0
mov edi, dword [esp + 0x48]
je 0x1012d632
mov byte [edi], 1
jmp 0x1012d65d
cmp byte [esi + 0x58d], 0
je 0x1012d65d
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
cmp ecx, 0xffffffff
jne 0x1012d66c
cmp eax, ecx
je 0x1012d689
push eax
push ecx
push esi
call fcn.10135b90
mov eax, dword [ebp]
add esp, 0xc
mov ecx, dword [ebp + 4]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
cmp dword [esi + 0x90], 0
jne 0x1012d6a0
cmp dword [esi + 0x94], 0
jne 0x1012d6a0
mov byte [edi], 1
jmp 0x1012d6a5
cmp byte [edi], 0
je 0x1012d6ac
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0xace], 0
je 0x1012d4b6
push ebx
push dword [esi + 0xec]
push 1
push esi
call fcn.1011fb40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.1011fbd0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret