Function at 0x10035620
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xe8]
lea esi, [edi + 0x88]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov dword [esi + 0x64], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call fcn.1004ea50
add esp, 0xc
test eax, eax
mov dword [esi + 0x68], eax
mov ebx, edi
je 0x10036499
mov edx, dword [esi + 0x60]
sub edx, eax
mov eax, dword [esp + 0x50]
sub edx, 1
add dword [eax], edx
mov eax, dword [esi + 0x68]
add eax, 1
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
call fcn.10033490
add esp, 4
test eax, eax
jne 0x100366cb
mov eax, dword [esi + 0x58]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xda4]
xor ebx, ebx
cmp dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ecx
jne 0x100356c9
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xda4]
push edi
mov edx, ebp
call fcn.10033460
add esp, 4
cmp eax, 2
je 0x10036515
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10036107
cmp cl, 0xd
je 0x1003610c
mov ecx, dword [esi + 0x54]
cmp ecx, ebx
lea edx, [ecx + 1]
mov dword [esi + 0x54], edx
jne 0x100359c2
mov ecx, dword [ebp + 0x370]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x1003581d
mov ebx, dword [esp + 0x4c]
lea ebp, [esi + 0x78]
push ebp
lea edx, [esp + 0x4c]
push edx
add ebx, 0x184
push ebx
lea ecx, [esp + 0x24]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.1004da42
add esp, 0x18
cmp eax, 1
jne 0x10035767
cmp dword [esp + 0x18], 2
jl 0x10036565
mov eax, dword [esi + 0x6c]
push ebp
lea edx, [esp + 0x18]
push edx
push str._HTTP__1_23___d
push eax
call fcn.1004da42
add esp, 0x10
cmp eax, 2
jne 0x10036565
mov dword [ebx], 0
mov byte [esp + 0x48], 0x20
jmp 0x10035777
cmp eax, 4
jne 0x100357cc
cmp byte [esp + 0x48], 0x20
jne 0x10036565
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [ebx], ecx
cmp dword [esi + 0x94], 2
mov eax, dword [ebx]
jne 0x100357a0
cmp eax, 0x14
je 0x100357a0
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.10013910
add esp, 8
cmp dword [ebx], 0x14
jge 0x1003588e
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x61c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push edi
mov dword [eax], 0xffffffff
call fcn.10013910
add esp, 8
jmp 0x1003588e
test eax, eax
jne 0x10036565
mov ecx, dword [esi + 0x6c]
push ebp
push str._HTTP__3d
push ecx
call fcn.1004da42
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [ebx], 0xa
jne 0x1003588e
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
push edx
mov eax, edi
call fcn.100333c0
add esp, 4
cmp eax, 1
jne 0x10035883
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x1003588e
test ecx, 0x40000
je 0x10036596
mov ebx, dword [esp + 0x4c]
lea ebp, [esi + 0x78]
push ebp
lea ecx, [esp + 0x17]
push ecx
add ebx, 0x188
push ebx
lea edx, [esp + 0x2c]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.1004da42
add esp, 0x18
cmp eax, 4
mov dword [esp + 0x1c], eax
jne 0x10036596
cmp byte [esp + 0x13], 0x20
jne 0x10036596
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov ebx, dword [esp + 0x4c]
add ebx, 0x184
mov dword [ebx], 0xb
cmp dword [esp + 0x1c], 0
je 0x10036596
mov ecx, dword [ebp]
mov eax, dword [edi + 0x108c]
test eax, eax
mov dword [edi + 0x1160], ecx
mov edx, dword [ebx]
mov dword [edi + 0x1168], edx
je 0x100358ad
cmp eax, dword [ebx]
jle 0x100358b5
mov eax, dword [ebx]
mov dword [edi + 0x108c], eax
mov ecx, dword [edi + 0x1098]
or ecx, dword [edi + 0x109c]
mov ecx, 1
je 0x100358e1
cmp dword [edi + 0x848], ecx
jne 0x100358e1
cmp dword [ebp], 0x1a0
jne 0x100358e1
mov dword [esi + 0x50c], ecx
jmp 0x10035924
cmp dword [edi + 0xb3c], 0
je 0x10035924
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x10035924
cmp eax, 0x191
jne 0x10035908
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x2ec], 0
jne 0x10035924
cmp eax, 0x197
jne 0x10036580
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x2f0], 0
je 0x10036580
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x10035947
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.10013910
mov ecx, dword [esp + 0x54]
push 1
push ecx
call fcn.10018fc0
add esp, 0x10
jmp 0x1003596a
cmp ebx, 0x14
je 0x1003595a
cmp dword [esi + 0x94], ecx
jne 0x1003596a
cmp dword [ebp], 0x65
jne 0x1003596a
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x61c]
mov dword [eax], 2
mov ebp, dword [ebp]
cmp ebp, 0x64
jl 0x10035981
cmp ebp, 0xc8
jge 0x10035981
mov eax, 1
jmp 0x10035983
xor eax, eax
mov dword [esi + 0x510], eax
mov eax, ebp
sub eax, 0xcc
je 0x100359ab
sub eax, 0x64
jne 0x100359c2
cmp dword [edi + 0x83c], eax
je 0x100359ad
mov dword [edi + 0x1220], 1
jmp 0x100359ad
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x510], 1
cmp dword [esi + 0x510], 0
jne 0x10035b05
cmp dword [edi + 0xb7c], 0
jne 0x10035b05
mov ecx, dword [esi + 0x6c]
push 0xf
push ecx
push str.Content_Length:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035b05
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x34]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1003efc0
add esp, 0x10
test eax, eax
jne 0x10035acb
mov ebx, dword [edi + 0x950]
mov edx, dword [edi + 0x954]
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, edx
mov ecx, dword [esp + 0x38]
je 0x10035a43
cmp ecx, edx
jg 0x100365aa
jl 0x10035a43
cmp eax, ebx
ja 0x100365aa
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.10020aa0
add esp, 0xc
mov ebp, dword [esp + 0x4c]
cmp dword [edi + 0xb50], 0
mov ebx, 2
je 0x10035a70
mov ebx, 3
cmp dword [edi + 0xb64], 0
je 0x10035a8c
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
push edx
push eax
push 1
push edi
call fcn.10013880
add esp, 0x10
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x6c]
push ecx
push edx
push ebx
push ebp
call fcn.10013e60
add esp, 0x10
test eax, eax
jne 0x100366cb
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0x1178], eax
adc dword [edi + 0x117c], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
jmp 0x10036449
cmp eax, 1
jne 0x100365c5
mov edx, dword [edi + 0x950]
or edx, dword [edi + 0x954]
jne 0x100365aa
mov ebp, dword [esp + 0x4c]
push 2
push ebp
call fcn.10018fc0
push str.Overflow_Content_Length:_value__n
push edi
call fcn.10013910
add esp, 0x10
jmp 0x10035a5d
mov eax, dword [esi + 0x6c]
push 0xd
push eax
push str.Content_Type:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035b61
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.10032140
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100365e0
cmp byte [ebx], 0
jne 0x10035b46
push ebx
call dword [0x10072004]
add esp, 4
jmp 0x10035a59
mov edx, dword [edi + 0x1194]
push edx
call dword [0x10072004]
add esp, 4
mov dword [edi + 0x1194], ebx
jmp 0x10035a59
mov ebp, dword [esp + 0x4c]
mov ebx, 0xa
cmp dword [ebp + 0x184], ebx
jne 0x10035bb0
cmp dword [ebp + 0x2e4], 0
je 0x10035bb0
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.10032f90
add esp, 0xc
test eax, eax
je 0x10035bb0
push 0
push ebp
call fcn.10018fc0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.10013910
add esp, 0x10
jmp 0x10035a5d
cmp dword [ebp + 0x184], 0xb
jne 0x10035bf7
cmp dword [ebp + 0x2e4], 0
je 0x10035bf7
mov ecx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.10032f90
add esp, 0xc
test eax, eax
je 0x10035bf7
push 1
push ebp
call fcn.10018fc0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.10013910
add esp, 0x10
jmp 0x10035a5d
cmp dword [ebp + 0x184], ebx
jne 0x10035c34
mov edx, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push edx
call fcn.10032f90
add esp, 0xc
test eax, eax
je 0x10035c34
push 0
push ebp
call fcn.10018fc0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.10013910
add esp, 0x10
jmp 0x10035a5d
mov eax, dword [esi + 0x6c]
push str.close
push str.Connection:
push eax
call fcn.10032f90
add esp, 0xc
test eax, eax
je 0x10035c5e
push 2
push ebp
call fcn.10018fc0
add esp, 8
jmp 0x10035a5d
cmp dword [esi + 0x510], 0
jne 0x10035cd1
mov ecx, dword [esi + 0x6c]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035c89
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x12
push edx
jmp 0x10035cbb
cmp dword [esi + 0x510], 0
jne 0x10035cd1
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.Content_Encoding:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035cd1
cmp dword [edi + 0x9a8], 0
je 0x10035cd1
mov ecx, dword [esi + 0x6c]
push 0
add ecx, 0x11
push ecx
push ebp
call fcn.1001a920
add esp, 0xc
test eax, eax
jne 0x100366cb
jmp 0x10035a5d
mov edx, dword [esi + 0x6c]
push 0xc
push edx
push str.Retry_After:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035d5f
xor eax, eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x6c]
add eax, 0xc
push eax
call fcn.1003ef40
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
mov ebp, edx
jne 0x10035d40
cmp ebp, eax
jne 0x10035d40
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x2c]
push ecx
push 0xa
add edx, 0xc
push 0
push edx
call fcn.1003efc0
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov dword [edi + 0x11a0], ebx
mov dword [edi + 0x11a4], ebp
jmp 0x10035a59
push 0
call fcn.1004afff
add esp, 4
sub ebx, eax
sbb ebp, edx
mov dword [edi + 0x11a0], ebx
mov dword [edi + 0x11a4], ebp
jmp 0x10035a59
cmp dword [esi + 0x510], 0
jne 0x10035e1c
mov eax, dword [esi + 0x6c]
push 0xe
push eax
push str.Content_Range:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035e1c
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x10035db3
movzx ecx, al
push ecx
call fcn.1003fe10
add esp, 4
test eax, eax
jne 0x10035db3
cmp byte [ebx], 0x2a
je 0x10035db3
mov al, byte [ebx + 1]
add ebx, 1
test al, al
jne 0x10035d94
movzx edx, byte [ebx]
push edx
call fcn.1003fe10
add esp, 4
test eax, eax
je 0x10035e09
lea ebp, [esi + 0x70]
push ebp
push 0xa
push 0
push ebx
call fcn.1003efc0
add esp, 0x10
test eax, eax
jne 0x10035a59
mov eax, dword [edi + 0x1098]
cmp eax, dword [ebp]
jne 0x10035a59
mov ecx, dword [edi + 0x109c]
cmp ecx, dword [ebp + 4]
jne 0x10035a59
mov dword [esi + 0x504], 1
jmp 0x10035a59
xor eax, eax
mov dword [edi + 0x1098], eax
mov dword [edi + 0x109c], eax
jmp 0x10035a5d
cmp dword [edi + 0xbf4], 0
je 0x10035ea1
cmp dword [edi + 0x1134], 0
je 0x10035ea1
mov edx, dword [esi + 0x6c]
push 0xb
push edx
push str.Set_Cookie:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035ea1
push 2
push 2
push edi
call fcn.1001a5f0
mov eax, dword [ebp + 0x3b8]
add esp, 0xc
test eax, eax
jne 0x10035e62
mov eax, dword [ebp + 0x9c]
mov ecx, dword [ebp + 0x370]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edi + 0x10e8]
shr edx, 1
and edx, 1
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
mov eax, dword [edi + 0xbf4]
add edx, 0xb
push edx
push 0
push 1
push eax
push edi
call fcn.10016870
push 2
push edi
call fcn.1001a630
add esp, 0x28
jmp 0x10035a5d
cmp dword [esi + 0x510], 0
jne 0x10035f28
mov ecx, dword [esi + 0x6c]
push 0xe
push ecx
push str.Last_Modified:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035f28
cmp dword [edi + 0x83c], 0
jne 0x10035ed3
cmp dword [edi + 0xb10], 0
je 0x10035f28
push 0
call fcn.1004afff
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x40]
push edx
add eax, 0xe
push eax
call fcn.1003ef40
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
cmp dword [edi + 0xb10], 0
je 0x10035a5d
mov ecx, eax
mov dword [edi + 0x1170], ecx
mov edx, dword [esi + 0xa4]
mov dword [edi + 0x1174], edx
jmp 0x10035a5d
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035f49
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10035f6a
mov ecx, dword [esi + 0x6c]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10035fbf
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10035fbf
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x6c]
sete dl
push eax
mov dword [esp + 0x20], edx
call fcn.10032140
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100365e0
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push ebp
call fcn.100328a0
push ebx
mov dword [esp + 0x2c], eax
call dword [0x10072004]
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x10035a5d
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edx, dword [esi + 0x6c]
push 0xf
push edx
push str.Persistent_Auth
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x10036038
cmp dword [edi + 0xe2c], 4
jne 0x10035a5d
mov eax, dword [esi + 0x6c]
push eax
call fcn.10032140
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100365e0
push 5
push ebx
push str.false
call fcn.1001a5e0
neg eax
sbb eax, eax
neg eax
push ebx
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edi
mov dword [ebp + 0x4d4], eax
mov dword [ebp + 0x4d8], 1
call fcn.10013910
push ebx
call dword [0x10072004]
add esp, 0x20
jmp 0x10035a5d
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x100360da
cmp eax, 0x190
jge 0x100360da
mov ecx, dword [esi + 0x6c]
push 9
push ecx
push str.Location:
call fcn.1001a5e0
add esp, 0xc
test eax, eax
je 0x100360da
cmp dword [edi + 0x13c], 0
jne 0x100360da
mov edx, dword [esi + 0x6c]
push edx
call fcn.10032140
add esp, 4
test eax, eax
je 0x100365e0
cmp byte [eax], 0
jne 0x10036099
push eax
call dword [0x10072004]
add esp, 4
jmp 0x10035a5d
cmp dword [edi + 0xb44], 0
mov dword [edi + 0x13c], eax
je 0x10035a5d
push eax
call dword [0x1007200c]
add esp, 4
test eax, eax
mov dword [edi + 0x140], eax
je 0x100365e0
push ebp
call fcn.100323f0
add esp, 4
test eax, eax
jne 0x100366cb
jmp 0x10035a5d
mov eax, dword [ebp + 0x370]
test dword [eax + 0x40], 0x40000
je 0x10035a5d
mov ecx, dword [esi + 0x6c]
push ecx
push ebp
call fcn.10022980
add esp, 8
test eax, eax
jne 0x100366cb
jmp 0x10035a5d
cmp cl, 0xd
jne 0x10036112
add eax, 1
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x10036120
add eax, 1
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x1003619e
cmp eax, 0xc7
jg 0x1003619e
sub eax, 0x64
mov ebx, 1
je 0x1003616a
sub eax, ebx
je 0x1003614f
mov dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
jmp 0x100361fa
cmp dword [esi + 0x94], ebx
je 0x1003646a
mov dword [esi + 0x500], 0
jmp 0x100361fa
cmp dword [esi + 0x90], 0
mov dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
jle 0x100361fa
or dword [esi + 0xb0], 2
push 0
push edi
mov dword [esi + 0x90], 0
call fcn.100118c0
add esp, 8
jmp 0x100361fa
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x500], ebx
cmp ecx, 0xffffffff
jne 0x100361f5
cmp dword [esi + 0x514], ebx
jne 0x100361f5
cmp dword [ebp + 0x2cc], ebx
jne 0x100361f5
cmp dword [ebp + 0x184], 0xb
jne 0x100361f5
mov edx, dword [ebp + 0x370]
test dword [edx + 0x40], 0x40000
jne 0x100361f5
cmp dword [edi + 0x848], 6
je 0x100361f5
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.10013910
push 2
push ebp
call fcn.10018fc0
add esp, 0x10
mov ebx, 1
cmp dword [ebp + 0x2cc], 0
je 0x1003627e
mov eax, dword [edi + 0x100]
cmp eax, 0x191
jne 0x10036219
cmp dword [ebp + 0x410], 2
je 0x10036229
cmp eax, 0x197
jne 0x1003623d
cmp dword [ebp + 0x414], 2
jne 0x1003623d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.10013910
add esp, 8
mov dword [edi + 0x1110], ebx
cmp dword [ebp + 0x2cc], 0
je 0x1003627e
mov eax, dword [edi + 0x100]
cmp eax, 0x191
jne 0x1003625b
cmp dword [ebp + 0x490], ebx
je 0x1003626a
cmp eax, 0x197
jne 0x1003627e
cmp dword [ebp + 0x494], ebx
jne 0x1003627e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.10013910
add esp, 8
mov dword [edi + 0x1110], ebx
mov ebx, 3
cmp dword [ebp + 0x490], ebx
jne 0x100362a1
cmp dword [edi + 0x100], 0x191
je 0x100362a1
mov dword [ebp + 0x490], 4
cmp dword [ebp + 0x494], ebx
jne 0x100362bf
cmp dword [edi + 0x100], 0x197
je 0x100362bf
mov dword [ebp + 0x494], 4
mov edx, ebp
call fcn.10032b00
test eax, eax
jne 0x100365ed
cmp dword [edi + 0xb50], eax
lea ecx, [eax + 2]
je 0x100362db
mov ecx, ebx
mov eax, dword [edi + 0xda4]
mov ebx, dword [esi + 0x6c]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
call fcn.10013e60
add esp, 0x10
test eax, eax
jne 0x100366cb
mov eax, ebx
cdq
add dword [edi + 0x1178], eax
adc dword [edi + 0x117c], edx
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10036332
cmp eax, 0xc7
jg 0x10036332
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
jmp 0x10036336
xor eax, eax
xor ecx, ecx
push ebp
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], ecx
call fcn.100335e0
add esp, 4
test eax, eax
jne 0x100366cb
cmp dword [esi + 0x78], 0x12c
jl 0x1003643c
cmp dword [ebp + 0x30c], eax
jne 0x1003641e
cmp dword [ebp + 0x2cc], eax
jne 0x1003641e
cmp dword [ebp + 0x310], eax
jne 0x10036427
mov eax, dword [edi + 0x848]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1003641e
push 0
push edi
call fcn.100118c0
add esp, 8
cmp dword [esi + 0x508], 0
jne 0x1003641e
cmp dword [edi + 0xb40], 0
je 0x100363dd
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.10013910
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x1003641e
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x1003641e
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.10013910
push 2
push ebp
call fcn.10018fc0
push esi
push ebp
call fcn.1003af00
add esp, 0x18
test eax, eax
jne 0x100366cb
mov dword [esi + 0x508], 1
cmp dword [edi + 0x111c], eax
je 0x1003641e
mov dword [esi + 0x90], 3
cmp dword [ebp + 0x310], 0
je 0x1003643c
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.10013910
add esp, 8
or dword [esi + 0xb0], 2
cmp dword [esi + 0x500], 0
je 0x1003660c
mov eax, dword [edi + 0xda4]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
cmp byte [eax], 0
je 0x100366c9
jmp 0x10035645
push str.Received_101_n
push edi
call fcn.10013910
add esp, 8
pop edi
mov dword [esi + 0x500], ebx
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
push edx
call fcn.10033490
add esp, 4
test eax, eax
jne 0x100366cb
cmp dword [esi + 0x54], eax
jne 0x100366c9
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xda4]
push edi
mov edx, ebp
call fcn.10033460
add esp, 4
cmp eax, 2
jne 0x100366c9
push eax
push ebp
mov dword [esi + 0x500], 0
mov dword [esi + 0x50], eax
call fcn.10018fc0
add esp, 8
cmp dword [edi + 0xbd4], 0
jne 0x100366c9
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.10013a00
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
push 2
push ebp
call fcn.10018fc0
add esp, 8
cmp dword [edi + 0xbd4], ebx
je 0x100364fa
mov eax, dword [esp + 0x50]
mov dword [esi + 0x500], ebx
cmp dword [eax], ebx
je 0x10036547
pop edi
mov dword [esi + 0x50], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x50], 2
pop edi
mov dword [eax], ecx
mov dword [esi + 0x60], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push str.Unsupported_HTTP_version_in_response
push edi
call fcn.10013a00
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
push edi
call fcn.10033540
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x34
ret
pop edi
mov dword [esi + 0x500], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10013a00
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x34
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.10013a00
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x34
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x34
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10013a00
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x34
ret
cmp dword [edi + 0xb5c], 0
mov edx, dword [esp + 0x54]
je 0x10036624
mov dword [edx], 1
or ebp, 0xffffffff
jmp 0x10036669
mov ecx, dword [ebp + 0x370]
test dword [ecx + 0x40], 0x40000
je 0x10036652
cmp dword [edi + 0xa94], 2
jne 0x10036652
or ebp, 0xffffffff
cmp dword [esi + 4], ebp
jg 0x10036655
jl 0x1003664a
cmp dword [esi], ebp
ja 0x10036655
mov dword [edx], 1
jmp 0x10036669
or ebp, 0xffffffff
cmp dword [esi + 0x514], 0
je 0x10036669
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov eax, dword [esi]
cmp eax, ebp
mov ecx, dword [esi + 4]
jne 0x10036676
cmp ecx, ebp
je 0x10036690
push ecx
push eax
push edi
call fcn.10020aa0
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x60]
add esp, 0xc
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x100366a4
cmp dword [esi + 0xc], 0
jne 0x100366a4
mov dword [edx], 1
jmp 0x100366a9
cmp dword [edx], 0
je 0x100366b0
and dword [esi + 0xb0], 0xfffffffe
cmp dword [edi + 0xb64], 0
je 0x100366c9
mov ecx, dword [esi + 0x64]
push ebx
push ecx
push 1
push edi
call fcn.10013880
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret