Function at 0x515030
Capabilities:
Check http status code

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ebx, dword [esi + 0xe0]
lea ebp, [esi + 0x88]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [edi]
mov dword [esp + 0x28], eax
nop dword [eax]
push dword [edi]
push 0xa
push ebx
call fcn.005417a0
add esp, 0xc
test eax, eax
je 0x5160f0
mov ecx, dword [ebp + 0x58]
sub ecx, eax
inc eax
dec ecx
add dword [edi], ecx
lea edi, [esi + 0xd1c]
mov dword [ebp + 0x58], eax
sub eax, ebx
push eax
push ebx
push edi
call fcn.00500ca0
add esp, 0xc
test eax, eax
jne 0x515f25
cmp dword [ebp + 0x54], eax
jne 0x5151c2
push edi
call fcn.00500d00
mov edi, eax
lea eax, [esi + 0xd1c]
push eax
mov dword [esp + 0x28], edi
call fcn.00500d10
mov ebx, dword [esp + 0x50]
add esp, 8
mov edx, eax
mov ecx, dword [ebx + 0x560]
test dword [ecx + 0x40], 0x40000
je 0x515103
mov eax, edi
mov ecx, 5
cmp eax, 5
sbb edi, edi
inc edi
cmp eax, 5
cmova eax, ecx
push eax
push edx
push str.RTSP_
call fcn.0050d350
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
jmp 0x51510e
push edi
push edx
push esi
call fcn.00516250
add esp, 0xc
cmp eax, 2
je 0x515ef4
lea edi, [esi + 0xd1c]
push edi
call fcn.00500d10
mov edi, eax
add esp, 4
mov al, byte [edi]
cmp al, 0xa
je 0x515b39
cmp al, 0xd
je 0x515b39
mov edx, dword [ebp + 0x54]
lea ecx, [edx + 1]
mov dword [ebp + 0x54], ecx
test edx, edx
jne 0x515439
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
test al, 3
je 0x5152b9
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea eax, [ebx + 0x3e8]
push eax
lea eax, [esp + 0x28]
push eax
push str._HTTP__1d._1d_c_3d
push edi
call fcn.0041eaf0
add esp, 0x18
cmp eax, 1
jne 0x5151cb
cmp dword [esp + 0x1c], 2
jl 0x515f4b
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push edi
call fcn.0041eaf0
add esp, 0x10
cmp eax, 2
jne 0x515f4b
lea ecx, [ebx + 0x3e8]
mov byte [esp + 0x44], 0x20
mov dword [ecx], 0
jmp 0x5151e1
mov ebx, dword [esp + 0x48]
jmp 0x51511d
cmp eax, 4
jne 0x515240
cmp byte [esp + 0x44], 0x20
jne 0x515f4b
lea ecx, [ebx + 0x3e8]
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [ebp + 0x84], 2
jne 0x515212
cmp dword [ecx], 0x14
je 0x515316
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.0050a640
add esp, 8
lea ecx, [ebx + 0x3e8]
cmp dword [ecx], 0x14
jge 0x515316
mov eax, dword [ebx + 0x7dc]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.0050a640
add esp, 8
lea ecx, [ebx + 0x3e8]
jmp 0x515316
test eax, eax
jne 0x515f4b
lea eax, [ebp + 0x68]
push eax
push str._HTTP__3d
push edi
call fcn.0041eaf0
add esp, 0xc
mov dword [ebx + 0x3e8], 0xa
lea ecx, [ebx + 0x3e8]
test eax, eax
jne 0x515316
lea eax, [esi + 0xd1c]
push eax
call fcn.00500d00
add esp, 4
push eax
lea eax, [esi + 0xd1c]
push eax
call fcn.00500d10
add esp, 4
push eax
push esi
call fcn.00516250
add esp, 0xc
cmp eax, 1
jne 0x515f7c
lea ecx, [ebx + 0x3e8]
mov dword [ebp + 0x68], 0xc8
mov dword [ecx], 0xa
jmp 0x515316
test eax, 0x40000
je 0x515f7c
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [ebx + 0x3ec]
push ecx
lea eax, [esp + 0x30]
push eax
push str._RTSP__1d._1d_c_3d
push edi
call fcn.0041eaf0
add esp, 0x18
cmp eax, 4
jne 0x515f7c
cmp byte [esp + 0x13], 0x20
jne 0x515f7c
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x3e8]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x3ec], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x1120], eax
mov eax, dword [ecx]
mov dword [esi + 0x1128], eax
mov eax, dword [esi + 0x103c]
test eax, eax
je 0x515335
cmp eax, dword [ecx]
jle 0x51533d
mov eax, dword [ecx]
mov dword [esi + 0x103c], eax
mov eax, dword [esi + 0x1048]
or eax, dword [esi + 0x104c]
je 0x515366
cmp dword [esi + 0x10a0], 1
jne 0x515366
cmp dword [ebp + 0x68], 0x1a0
jne 0x515366
mov byte [ebp + 0x4ff], 1
jmp 0x5153a1
cmp byte [esi + 0xb38], 0
je 0x5153a1
mov eax, dword [ebp + 0x68]
cmp eax, 0x190
jl 0x5153a1
cmp eax, 0x191
jne 0x515389
cmp byte [ebx + 0x51b], 0
jne 0x5153a1
cmp eax, 0x197
jne 0x515f66
cmp byte [ebx + 0x512], 0
je 0x515f66
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x5153c0
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.0050a640
push 1
push ebx
call fcn.0050b0d0
add esp, 0x10
jmp 0x5153e0
cmp eax, 0x14
je 0x5153d4
cmp dword [ebp + 0x84], 1
jne 0x5153e0
cmp dword [ebp + 0x68], 0x65
jne 0x5153e0
mov eax, dword [ebx + 0x7dc]
mov dword [eax], 2
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x5153f3
cmp eax, 0xc8
jge 0x5153f3
mov cl, 1
jmp 0x5153f5
xor cl, cl
mov byte [ebp + 0x500], cl
sub eax, 0xcc
je 0x515416
sub eax, 0x64
jne 0x515439
cmp dword [esi + 0x82c], eax
je 0x515416
mov byte [esi + 0x11e0], 1
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov byte [ebp + 0x500], 1
cmp byte [ebp + 0x500], 0
jne 0x515504
cmp byte [esi + 0xb48], 0
jne 0x515504
push 0xf
push edi
push 0x6b5774
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515504
lea eax, [esp + 0x38]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.0051b120
add esp, 0x10
test eax, eax
jne 0x5154ce
mov eax, dword [esi + 0x938]
mov edx, dword [esi + 0x93c]
or eax, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
je 0x5154b2
cmp ecx, edx
jg 0x515f8d
jl 0x5154b2
cmp eax, dword [esi + 0x938]
ja 0x515f8d
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
call fcn.005170d0
add esp, 0xc
jmp 0x515aa8
cmp eax, 1
jne 0x515fa8
mov eax, dword [esi + 0x938]
or eax, dword [esi + 0x93c]
jne 0x515f8d
push 2
push ebx
call fcn.0050b0d0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.0050a640
add esp, 0x10
jmp 0x515aa8
push 0xd
push edi
push str.Content_Type:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x51555f
push edi
call fcn.00514960
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x515fc3
cmp byte [eax], 0
jne 0x515541
push eax
call dword [0x75d954]
add esp, 4
jmp 0x515aa8
push dword [esi + 0x1154]
call dword [0x75d954]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1154], eax
jmp 0x515aa8
cmp dword [ebx + 0x3e8], 0xa
jne 0x5155a3
cmp byte [ebx + 0x510], 0
je 0x5155a3
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.00514890
add esp, 0xc
test al, al
je 0x5155a3
push 0
push ebx
call fcn.0050b0d0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.0050a640
add esp, 0x10
jmp 0x515aa8
cmp dword [ebx + 0x3e8], 0xb
jne 0x5155e7
cmp byte [ebx + 0x510], 0
je 0x5155e7
push str.close
push str.Proxy_Connection:
push edi
call fcn.00514890
add esp, 0xc
test al, al
je 0x5155e7
push 1
push ebx
call fcn.0050b0d0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.0050a640
add esp, 0x10
jmp 0x515aa8
cmp dword [ebx + 0x3e8], 0xa
jne 0x515622
push str.keep_alive
push str.Connection:
push edi
call fcn.00514890
add esp, 0xc
test al, al
je 0x515622
push 0
push ebx
call fcn.0050b0d0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.0050a640
add esp, 0x10
jmp 0x515aa8
push str.close
push str.Connection:
push edi
call fcn.00514890
add esp, 0xc
test al, al
je 0x515649
push 2
push ebx
call fcn.0050b0d0
add esp, 8
jmp 0x515aa8
cmp byte [ebp + 0x500], 0
jne 0x5156b4
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x51567a
push 1
lea eax, [edi + 0x12]
push eax
push ebx
call fcn.0050d8d0
add esp, 0xc
jmp 0x515aa0
cmp byte [ebp + 0x500], 0
jne 0x5156b4
push 0x11
push edi
push str.Content_Encoding:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x5156b4
cmp dword [esi + 0x990], 0
je 0x5156b4
push 0
lea eax, [edi + 0x11]
push eax
push ebx
call fcn.0050d8d0
add esp, 0xc
jmp 0x515aa0
push 0xc
push edi
push str.Retry_After:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515743
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call fcn.0051b580
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x51571c
cmp edx, eax
jne 0x51571c
lea eax, [esp + 0x30]
push eax
push 0xa
lea eax, [edi + 0xc]
push 0
push eax
call fcn.0051b120
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1160], ecx
mov dword [esi + 0x1164], eax
jmp 0x515aa8
push 0
call fcn.005552a6
mov ecx, dword [esp + 0x24]
add esp, 4
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1160], ecx
sbb eax, edx
mov dword [esi + 0x1164], eax
jmp 0x515aa8
cmp byte [ebp + 0x500], 0
jne 0x515818
push 0xe
push edi
push str.Content_Range:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515818
mov cl, byte [edi + 0xe]
lea eax, [edi + 0xe]
mov dword [esp + 0x18], eax
test cl, cl
je 0x5157a9
mov ebx, eax
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.005344a0
add esp, 4
test eax, eax
jne 0x51579d
cmp byte [ebx], 0x2a
je 0x51579d
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x515780
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
push eax
call fcn.005344a0
add esp, 4
test eax, eax
je 0x5157ff
lea eax, [ebp + 0x60]
push eax
push 0xa
push 0
push dword [esp + 0x24]
call fcn.0051b120
add esp, 0x10
test eax, eax
jne 0x515aa8
mov eax, dword [esi + 0x1048]
cmp eax, dword [ebp + 0x60]
jne 0x515aa8
mov eax, dword [esi + 0x104c]
cmp eax, dword [ebp + 0x64]
jne 0x515aa8
mov byte [ebp + 0x4fd], 1
jmp 0x515aa8
mov dword [esi + 0x1048], 0
mov dword [esi + 0x104c], 0
jmp 0x515aa8
cmp dword [esi + 0xb74], 0
je 0x515897
cmp byte [esi + 0x10f3], 0
je 0x515897
push 0xb
push edi
push str.Set_Cookie:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515897
push 2
push 2
push esi
call fcn.0050dfb0
mov ecx, dword [esi + 0x10d8]
add esp, 0xc
test ecx, ecx
jne 0x51585b
mov ecx, dword [ebx + 0x304]
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0x1098]
lea eax, [edi + 0xb]
push ecx
push eax
push 0
push 1
push dword [esi + 0xb74]
push esi
call fcn.004fe260
push 2
push esi
call fcn.0050dff0
add esp, 0x28
jmp 0x515aa8
cmp byte [ebp + 0x500], 0
jne 0x515902
push 0xe
push edi
push str.Last_Modified:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515902
cmp dword [esi + 0x82c], 0
jne 0x5158c6
cmp byte [esi + 0xb2d], 0
je 0x515902
lea eax, [edi + 0xe]
push eax
call fcn.0051b580
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp byte [esi + 0xb2d], 0
je 0x515aa8
mov dword [esi + 0x1130], eax
mov eax, dword [ebp + 0x94]
mov dword [esi + 0x1134], eax
jmp 0x515aa8
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515924
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x191
je 0x515946
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x51598b
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x197
jne 0x51598b
push edi
call fcn.00514960
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x515fc3
cmp dword [esp + 0x18], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00514cd0
push dword [esp + 0x2c]
mov dword [esp + 0x28], eax
call dword [0x75d954]
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x515aa0
push 0xf
push edi
push str.Persistent_Auth
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515a05
cmp dword [esi + 0xdc4], 4
jne 0x515aa8
push edi
call fcn.00514960
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x515fc3
push 5
push eax
push 0x6b6c64
call fcn.0050d350
push dword [esp + 0x24]
test eax, eax
mov byte [ebx + 0x6ad], 1
setne al
mov byte [ebx + 0x6ac], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.0050a640
push dword [esp + 0x34]
call dword [0x75d954]
add esp, 0x20
jmp 0x515aa8
mov eax, dword [ebp + 0x68]
cmp eax, 0x12c
jl 0x515a87
cmp eax, 0x190
jge 0x515a87
push 9
push edi
push str.Location:
call fcn.0050d350
add esp, 0xc
test eax, eax
je 0x515a87
cmp dword [esi + 0x128], 0
jne 0x515a87
push edi
call fcn.00514960
add esp, 4
test eax, eax
je 0x515fc3
cmp byte [eax], 0
jne 0x515a55
push eax
call dword [0x75d954]
add esp, 4
jmp 0x515aa8
cmp byte [esi + 0xb3a], 0
mov dword [esi + 0x128], eax
je 0x515aa8
push eax
call dword [0x75d95c]
add esp, 4
mov dword [esi + 0x12c], eax
test eax, eax
je 0x515fc3
push ebx
call fcn.005165b0
add esp, 4
jmp 0x515aa0
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x515aa8
push edi
push ebx
call fcn.00532540
add esp, 8
test eax, eax
jne 0x515f25
xor eax, eax
cmp byte [esi + 0xb3d], al
setne al
add eax, 2
cmp byte [esi + 0xb42], 0
mov dword [esp + 0x20], eax
je 0x515adc
lea eax, [esi + 0xd1c]
push eax
call fcn.00500d00
push eax
push edi
push 1
push esi
call fcn.0050a4d0
add esp, 0x14
lea eax, [esi + 0xd1c]
push eax
call fcn.00500d00
push eax
push edi
push dword [esp + 0x2c]
push ebx
call fcn.0050a4a0
add esp, 0x14
test eax, eax
jne 0x515f25
lea ebx, [esi + 0xd1c]
push ebx
call fcn.00500d00
add dword [esi + 0x1138], eax
push ebx
adc dword [esi + 0x113c], 0
call fcn.00500d00
add dword [esi + 0xa8], eax
push ebx
adc dword [esi + 0xac], 0
call fcn.00500d20
add esp, 0xc
jmp 0x515edf
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x515bb3
cmp eax, 0xc7
jg 0x515bb3
sub eax, 0x64
je 0x515b7e
sub eax, 1
je 0x515b65
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jmp 0x515c0e
cmp dword [ebp + 0x84], 1
je 0x515fd0
mov byte [ebp + 0x4fc], 0
jmp 0x515c0e
cmp dword [ebp + 0x80], 0
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jle 0x515c0e
or dword [ebp + 0x9c], 2
push 0
push esi
mov dword [ebp + 0x80], 0
call fcn.004fb370
add esp, 8
jmp 0x515c0e
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [ebp + 0x4fc], 0
cmp eax, 0xffffffff
jne 0x515c0e
cmp byte [ebp + 0x501], 0
jne 0x515c0e
cmp byte [ebx + 0x515], 0
jne 0x515c17
cmp dword [ebx + 0x3e8], 0xb
jne 0x515c0e
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
jne 0x515c0e
cmp dword [esi + 0x10a0], 6
je 0x515c0e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.0050a640
push 2
push ebx
call fcn.0050b0d0
add esp, 0x10
cmp byte [ebx + 0x515], 0
je 0x515c96
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x515c2d
cmp dword [ebx + 0x5dc], 2
je 0x515c3d
cmp eax, 0x197
jne 0x515c52
cmp dword [ebx + 0x5e0], 2
jne 0x515c52
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0050a640
add esp, 8
mov byte [esi + 0x10e9], 1
cmp byte [ebx + 0x515], 0
je 0x515c96
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x515c71
cmp dword [ebx + 0x664], 1
je 0x515c81
cmp eax, 0x197
jne 0x515c96
cmp dword [ebx + 0x668], 1
jne 0x515c96
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.0050a640
add esp, 8
mov byte [esi + 0x10e9], 1
cmp dword [ebx + 0x664], 3
jne 0x515cb5
cmp dword [esi + 0xf0], 0x191
je 0x515cb5
mov dword [ebx + 0x664], 4
cmp dword [ebx + 0x668], 3
jne 0x515cd4
cmp dword [esi + 0xf0], 0x197
je 0x515cd4
mov dword [ebx + 0x668], 4
push ebx
call fcn.005167f0
add esp, 4
test eax, eax
jne 0x5160d2
xor ebx, ebx
lea eax, [esi + 0xd1c]
cmp byte [esi + 0xb3d], bl
push eax
setne bl
add ebx, 2
call fcn.00500d00
add esp, 4
mov edi, eax
lea eax, [esi + 0xd1c]
mov dword [esp + 0x20], edi
push edi
push eax
call fcn.00500d10
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x54]
push ebx
call fcn.0050a4a0
add esp, 0x10
test eax, eax
jne 0x515f25
mov eax, edi
cdq
add dword [esi + 0x1138], eax
adc dword [esi + 0x113c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x515d67
cmp eax, 0xc7
jg 0x515d67
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
jmp 0x515d78
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call fcn.00514a30
add esp, 4
test eax, eax
jne 0x515f25
cmp dword [ebp + 0x68], 0x12c
jl 0x515ec3
cmp byte [ebx + 0x521], al
jne 0x515ea5
cmp byte [ebx + 0x515], al
jne 0x515ea5
cmp byte [ebx + 0x522], al
jne 0x515eae
mov eax, dword [esi + 0x10a0]
add eax, 0xfffffffe
cmp eax, 3
ja 0x515ea5
push 0
push esi
call fcn.004fb370
add esp, 8
cmp byte [ebp + 0x4fe], 0
jne 0x515ea5
cmp dword [ebp + 0x68], 0x1a1
jne 0x515e34
cmp byte [esi + 0x10ec], 0
je 0x515e34
push str.Got_417_while_waiting_for_a_100_n
push esi
call fcn.0050a640
mov byte [esi + 0x10ed], 1
mov eax, dword [ebx]
push dword [eax + 0xb60]
call dword [0x75d95c]
push ebp
push ebx
mov dword [esi + 0x12c], eax
call fcn.0050ed50
add esp, 0x14
jmp 0x515ea5
cmp byte [esi + 0xb39], 0
je 0x515e67
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.0050a640
add esp, 8
cmp dword [ebp + 0x80], 0
jle 0x515ea5
or dword [ebp + 0x9c], 2
mov dword [ebp + 0x80], 0
jmp 0x515ea5
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.0050a640
push 2
push ebx
call fcn.0050b0d0
push ebp
push ebx
call fcn.0050ed50
add esp, 0x18
test eax, eax
jne 0x515f25
mov byte [ebp + 0x4fe], 1
cmp byte [esi + 0x10ec], al
je 0x515ea5
mov dword [ebp + 0x80], 3
cmp byte [ebx + 0x522], 0
je 0x515ec3
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.0050a640
add esp, 8
or dword [ebp + 0x9c], 2
cmp byte [ebp + 0x4fc], 0
je 0x516003
lea eax, [esi + 0xd1c]
push eax
call fcn.00500d20
add esp, 4
mov ebx, dword [ebp + 0x58]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
je 0x515f23
mov edi, dword [esp + 0x4c]
jmp 0x515060
push 2
push ebx
call fcn.0050b0d0
add esp, 8
cmp byte [esi + 0xb5e], 0
je 0x516163
mov eax, dword [esp + 0x4c]
mov byte [ebp + 0x4fc], 0
cmp dword [eax], 0
je 0x515f2d
mov dword [ebp + 0x50], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ebp + 0x50], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
pop esi
mov dword [ebp + 0x58], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.0050a560
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push esi
call fcn.00516a80
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
mov byte [ebp + 0x4fc], 0
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.0050a560
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.0050a560
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
push str.Received_101_n
push esi
call fcn.0050a640
add esp, 8
mov dword [ebp + 0x84], 2
mov byte [ebp + 0x4fc], 1
mov eax, 1
mov dword [ebp + 0x54], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp byte [esi + 0xb40], 0
mov edi, dword [esp + 0x50]
je 0x516015
mov byte [edi], 1
jmp 0x516065
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x516040
cmp dword [esi + 0xacc], 2
jne 0x516040
cmp dword [ebp + 4], 0xffffffff
jg 0x516040
jl 0x51603b
cmp dword [ebp], 0xffffffff
ja 0x516040
mov byte [edi], 1
jmp 0x516065
cmp byte [ebp + 0x501], 0
je 0x516065
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
cmp ecx, 0xffffffff
jne 0x516074
cmp eax, ecx
je 0x51608b
push eax
push ecx
push esi
call fcn.005170d0
mov eax, dword [ebp]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jne 0x51609c
cmp dword [ebp + 0xc], 0
jne 0x51609c
mov byte [edi], 1
jmp 0x5160a1
cmp byte [edi], 0
je 0x5160a8
and dword [ebp + 0x9c], 0xfffffffe
cmp byte [esi + 0xb42], 0
je 0x515f23
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push esi
call fcn.0050a4d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [ebp + 0x68]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.0050a560
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x4c]
lea edi, [esi + 0xd1c]
push dword [eax]
push ebx
push edi
call fcn.00500ca0
add esp, 0xc
test eax, eax
jne 0x515f25
cmp dword [ebp + 0x54], eax
jne 0x515f23
push edi
call fcn.00500d00
add esp, 4
push eax
push edi
call fcn.00500d10
mov edi, dword [esp + 0x50]
add esp, 4
push eax
push edi
push esi
call fcn.005162f0
add esp, 0x10
cmp eax, 2
jne 0x515f23
push eax
push edi
mov byte [ebp + 0x4fc], 0
mov dword [ebp + 0x50], eax
call fcn.0050b0d0
add esp, 8
cmp byte [esi + 0xb5e], 0
jne 0x515f23
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.0050a560
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret