Function at 0x100142c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0x50
mov dword [ebp - 8], edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.10038db0
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [edi + 0x64], eax
mov esi, edi
test eax, eax
je 0x10015035
sub eax, dword [edi + 0x5c]
mov ecx, dword [ebp + 0x10]
inc eax
sub dword [ecx], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
call fcn.10014160
add esp, 4
test eax, eax
jne 0x100151f4
mov eax, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
mov dword [edi + 0x64], eax
mov ecx, dword [ebx + 0x6d4]
xor edx, edx
mov dword [edi + 0x68], ecx
cmp esi, edx
jne 0x1001435a
cmp dword [edi + 0x58], 5
jbe 0x1001435a
mov eax, dword [ebx + 0x6d4]
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.10014130
add esp, 4
test eax, eax
je 0x1001508b
xor edx, edx
mov eax, dword [edi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10014d59
cmp cl, 0xd
je 0x10014d5e
lea ecx, [esi + 1]
mov dword [edi + 0x50], ecx
cmp esi, edx
jne 0x100145ec
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x310]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x1001445e
mov esi, edx
lea ecx, [edi + 0x78]
push ecx
add esi, 0x178
push esi
lea edx, [ebp - 4]
push edx
push str._HTTP__d._d__d
push eax
call fcn.100360ab
add esp, 0x14
cmp eax, 1
jne 0x100143e0
cmp dword [ebp - 4], 2
jne 0x1001441a
lea eax, [edi + 0x78]
push eax
mov eax, dword [edi + 0x68]
push str._HTTP_2__d
push eax
call fcn.100360ab
add esp, 0xc
cmp eax, 1
jne 0x1001441a
mov dword [esi], 0
jmp 0x100143e5
cmp eax, 3
jne 0x1001441a
mov eax, dword [ebp - 4]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [esi], ecx
cmp dword [edi + 0x88], 2
mov eax, dword [esi]
jne 0x100144ab
cmp eax, 0x14
je 0x100144ab
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.10022c60
add esp, 8
jmp 0x100144ab
mov edx, dword [edi + 0x68]
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push edx
call fcn.100360ab
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x100144ab
mov ebx, dword [edi + 0x68]
mov eax, dword [ebp + 8]
call fcn.100140b0
test eax, eax
je 0x100150d4
mov ebx, dword [ebp + 8]
mov dword [edi + 0x78], 0xc8
mov dword [esi], 0xa
jmp 0x100144ab
test ecx, 0x40000
je 0x100150d4
lea ecx, [edi + 0x78]
push ecx
mov esi, edx
add esi, 0x17c
push esi
lea ecx, [ebp - 0xc]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.100360ab
add esp, 0x14
cmp eax, 3
jne 0x100150d4
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax*4]
add edx, edx
add dword [esi], edx
mov esi, dword [ebp + 0xc]
add esi, 0x178
mov dword [esi], 0xb
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x4888], eax
mov eax, dword [ebx + 0x47f8]
mov ecx, dword [esi]
mov dword [ebx + 0x4890], ecx
test eax, eax
je 0x100144ca
cmp eax, dword [esi]
jle 0x100144d2
mov edx, dword [esi]
mov dword [ebx + 0x47f8], edx
cmp dword [ebx + 0x398], 0
je 0x10014535
mov eax, dword [edi + 0x78]
cmp eax, 0x190
jl 0x10014535
cmp eax, 0x191
jne 0x100144f8
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x288], 0
jne 0x10014535
cmp eax, 0x197
jne 0x1001450b
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x28c], 0
jne 0x10014535
mov ecx, dword [ebx + 0x4820]
or ecx, dword [ebx + 0x4824]
je 0x100150bf
cmp dword [ebx + 0x268], 1
jne 0x100150bf
cmp eax, 0x1a0
jne 0x100150bf
mov esi, dword [esi]
cmp esi, 0xa
jne 0x10014557
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.10022c60
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [esi - 9]
call fcn.10003570
jmp 0x100145b4
cmp esi, 0x14
je 0x100145a5
cmp dword [edi + 0x88], 1
jne 0x1001456b
cmp dword [edi + 0x78], 0x65
je 0x100145a5
cmp esi, 0xb
jl 0x100145b4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x26c], 0
jne 0x100145b4
mov eax, edx
cmp dword [eax + 0x59c], 0
je 0x100145b4
mov esi, eax
push esi
push ebx
call fcn.1001f180
add esp, 8
test eax, eax
jne 0x100145b4
mov ecx, dword [esi + 0x59c]
mov dword [ecx], 1
jmp 0x100145b4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x59c]
mov dword [eax], 2
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x100145c3
sub eax, 0x64
jne 0x100145ec
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x100145d7
mov dword [ebx + 0x4898], 1
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
jne 0x100146a7
cmp dword [ebx + 0x3f8], 0
jne 0x100146a7
mov esi, dword [edi + 0x68]
push 0xf
push esi
push str.Content_Length:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100146a7
push 0xa
push 0
add esi, 0xf
push esi
call fcn.10036a7f
mov ecx, dword [ebx + 0x360]
mov esi, eax
mov eax, dword [ebx + 0x364]
add esp, 0xc
or ecx, eax
mov dword [ebp - 0x14], edx
je 0x1001465c
cmp edx, eax
jg 0x100150e4
jl 0x1001465c
cmp esi, dword [ebx + 0x360]
ja 0x100150e4
test edx, edx
jl 0x10014682
jg 0x10014666
test esi, esi
jb 0x10014682
push edx
push esi
mov eax, ebx
mov dword [edi], esi
mov dword [edi + 4], edx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], edx
call fcn.10020ca0
add esp, 8
jmp 0x10014ce7
mov edx, dword [ebp + 0xc]
mov eax, 2
call fcn.10003570
mov ecx, dword [ebp - 0x14]
push ecx
push esi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.10022c60
add esp, 0x10
jmp 0x10014ce7
mov esi, dword [edi + 0x68]
push 0xd
push esi
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100146fe
mov eax, esi
call fcn.10011440
mov esi, eax
test esi, esi
je 0x100150fe
cmp byte [esi], 0
jne 0x100146e3
push esi
call dword [0x100560ec]
add esp, 4
jmp 0x10014ce7
mov edx, dword [ebx + 0x48b0]
push edx
call dword [0x100560ec]
add esp, 4
mov dword [ebx + 0x48b0], esi
jmp 0x10014ce7
push 7
push esi
push str.Server:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001476a
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x178], 0x14
jge 0x10014ce7
mov eax, esi
call fcn.10011440
mov esi, eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x1001475b
cmp dword [eax], 1
jne 0x1001475b
mov eax, dword [ebp + 8]
push eax
mov ebx, esi
call fcn.1001f2e0
add esp, 4
test eax, eax
je 0x1001475b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x59c]
mov dword [edx], 0xffffffff
push esi
call dword [0x100560ec]
add esp, 4
jmp 0x10014ce7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0xa
jne 0x100147b7
cmp dword [eax + 0x280], 0
je 0x100147b7
push str.keep_alive
mov ecx, str.Proxy_Connection:
mov eax, esi
call fcn.10012230
add esp, 4
test eax, eax
je 0x100147b4
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.10003570
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.10022c60
add esp, 8
jmp 0x10014ce7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0xb
jne 0x10014802
cmp dword [eax + 0x280], 0
je 0x10014802
mov eax, dword [edi + 0x68]
push str.close
mov ecx, str.Proxy_Connection:
call fcn.10012230
add esp, 4
test eax, eax
je 0x10014802
mov edx, dword [ebp + 0xc]
mov eax, 1
call fcn.10003570
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.10022c60
add esp, 8
jmp 0x10014ce7
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0xa
jne 0x10014844
mov eax, dword [edi + 0x68]
push str.keep_alive
mov ecx, str.Connection:
call fcn.10012230
add esp, 4
test eax, eax
je 0x10014844
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.10003570
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.10022c60
add esp, 8
jmp 0x10014ce7
mov eax, dword [edi + 0x68]
push str.close
mov ecx, str.Connection:
call fcn.10012230
add esp, 4
test eax, eax
je 0x1001486f
mov edx, dword [ebp + 0xc]
mov eax, 2
call fcn.10003570
jmp 0x10014ce7
mov esi, dword [edi + 0x68]
push 0x12
push esi
push str.Transfer_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014982
lea ebx, [esi + 0x12]
lea ecx, [ecx]
mov al, byte [ebx]
test al, al
je 0x100148b3
movzx ecx, al
push ecx
call fcn.10037455
add esp, 4
test eax, eax
jne 0x100148ab
cmp byte [ebx], 0x2c
jne 0x100148b3
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10014896
push 7
push ebx
push str.chunked
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100148dc
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc8], 1
call fcn.10015220
add ebx, 7
cmp dword [edi + 0x8c], 0
jne 0x10014ce7
push 8
push ebx
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001490c
mov dword [edi + 0x8c], 0
add ebx, 8
jmp 0x10014890
push 7
push ebx
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014932
mov dword [edi + 0x8c], 1
add ebx, 7
jmp 0x10014890
push 4
push ebx
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014958
mov dword [edi + 0x8c], 2
add ebx, 4
jmp 0x10014890
push 6
push ebx
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ce7
mov dword [edi + 0x8c], 2
add ebx, 6
jmp 0x10014890
push 0x11
push esi
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a4a
cmp dword [ebx + 0x440], 0
je 0x10014a4a
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x100149c9
movzx edx, al
push edx
call fcn.10037455
add esp, 4
test eax, eax
je 0x100149c9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100149b1
push 8
push esi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100149ec
mov dword [edi + 0x8c], 0
jmp 0x10014ce7
push 7
push esi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a0f
mov dword [edi + 0x8c], 1
jmp 0x10014ce7
push 4
push esi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x10014a3b
push 6
push esi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ce7
mov dword [edi + 0x8c], 2
jmp 0x10014ce7
push 0xe
push esi
push str.Content_Range:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ae7
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x10014a8d
lea esp, [esp]
movzx eax, al
push eax
call fcn.10037350
add esp, 4
test eax, eax
jne 0x10014a8d
cmp byte [esi], 0x2a
je 0x10014a8d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10014a70
movzx ecx, byte [esi]
push ecx
call fcn.10037350
add esp, 4
test eax, eax
je 0x10014ad4
push 0xa
push 0
push esi
call fcn.10036a7f
add esp, 0xc
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
cmp dword [ebx + 0x4820], eax
jne 0x10014ce7
cmp dword [ebx + 0x4824], edx
jne 0x10014ce7
mov dword [edi + 0x6c], 1
jmp 0x10014ce7
xor eax, eax
mov dword [ebx + 0x4820], eax
mov dword [ebx + 0x4824], eax
jmp 0x10014ce7
cmp dword [ebx + 0x588], 0
je 0x10014b54
push 0xb
push esi
push str.Set_Cookie:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014b54
mov esi, dword [ebp + 8]
mov ecx, 2
call fcn.100237b0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x340]
test eax, eax
jne 0x10014b24
mov eax, dword [ecx + 0x98]
mov ecx, dword [esi + 0x4808]
mov edx, dword [edi + 0x68]
push ecx
mov ecx, dword [esi + 0x588]
add edx, 0xb
push edx
push 1
push esi
mov edx, eax
call fcn.10003970
add esp, 0x10
mov ecx, 2
call fcn.100237e0
jmp 0x10014ce7
push 0xe
push esi
push str.Last_Modified:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014bbd
cmp dword [ebx + 0x25c], 0
jne 0x10014b7a
cmp dword [ebx + 0x37c], 0
je 0x10014bbd
push 0
call fcn.1003712a
mov ecx, dword [edi + 0x68]
add esp, 4
lea eax, [ebp - 0x18]
push eax
add ecx, 0xe
push ecx
call sym.libcurl.dll_curl_getdate
add esp, 8
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [ebx + 0x37c], 0
je 0x10014ce7
mov edx, eax
mov dword [ebx + 0x4894], edx
jmp 0x10014ce7
push 0x11
push esi
push str.WWW_Authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014bdb
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x10014bf9
push 0x13
push esi
push str.Proxy_authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c3d
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x10014c3d
xor ebx, ebx
cmp eax, 0x197
mov eax, esi
sete bl
call fcn.10011440
mov esi, eax
test esi, esi
je 0x100150fe
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov eax, esi
call fcn.10011c50
push esi
mov ebx, eax
call dword [0x100560ec]
add esp, 0xc
test ebx, ebx
je 0x10014ce7
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x10014cc4
cmp eax, 0x190
jge 0x10014cc4
push 9
push esi
push str.Location:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014cc4
cmp dword [ebx + 0x108], 0
jne 0x10014cc4
mov eax, esi
call fcn.10011440
test eax, eax
je 0x100150fe
cmp byte [eax], 0
jne 0x10014c8f
push eax
call dword [0x100560ec]
add esp, 4
jmp 0x10014ce7
cmp dword [ebx + 0x3a0], 0
mov dword [ebx + 0x108], eax
je 0x10014ce7
push eax
call dword [0x100560f4]
add esp, 4
mov dword [ebx + 0x10c], eax
test eax, eax
je 0x100150fe
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10011680
add esp, 4
jmp 0x10014cdf
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x310]
test dword [eax + 0x3c], 0x40000
je 0x10014ce7
mov ecx, esi
mov eax, edx
call fcn.100221b0
test eax, eax
jne 0x100151f4
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3ac], 0
mov ebx, 2
je 0x10014cfd
mov ebx, 3
cmp dword [esi + 0x3c4], 0
je 0x10014d1e
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x68]
push ecx
push edx
push eax
push 1
mov ecx, esi
call fcn.100234c0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x68]
push ebx
push ecx
mov ecx, dword [edi + 0x58]
call fcn.100232b0
add esp, 8
test eax, eax
jne 0x100151f4
mov edx, dword [edi + 0x58]
add dword [esi + 0x489c], edx
mov eax, dword [edi + 0x58]
mov ecx, dword [esi + 0x6d4]
add dword [esi + 0x80], eax
mov dword [edi + 0x54], ecx
jmp 0x10014fee
cmp cl, 0xd
jne 0x10014d62
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x10014d6e
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x10014dcb
cmp eax, 0xc7
jg 0x10014dcb
sub eax, 0x64
je 0x10014daa
mov esi, 1
sub eax, esi
je 0x10014d96
mov dword [edi + 0x48], esi
mov dword [edi + 0x50], edx
jmp 0x10014e29
cmp dword [edi + 0x88], esi
je 0x1001500a
mov dword [edi + 0x48], edx
jmp 0x10014e29
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], edx
cmp dword [edi + 0x84], edx
jle 0x10014e29
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], edx
jmp 0x10014e29
mov eax, dword [edi]
and eax, dword [edi + 4]
mov dword [edi + 0x48], edx
cmp eax, 0xffffffff
jne 0x10014e29
cmp dword [edi + 0xc8], edx
jne 0x10014e29
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x26c], edx
jne 0x10014e29
cmp dword [eax + 0x178], 0xb
jne 0x10014e29
mov ecx, dword [eax + 0x310]
test dword [ecx + 0x3c], 0x40000
jne 0x10014e29
cmp dword [ebx + 0x268], 5
je 0x10014e29
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.10022c60
mov edx, dword [ebp + 0xc]
add esp, 8
mov eax, 2
call fcn.10003570
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x26c], edx
je 0x10014e78
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x10014e4d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x388], 2
je 0x10014e60
cmp eax, 0x197
jne 0x10014e78
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x3a0], 2
jne 0x10014e78
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.10022c60
add esp, 8
mov dword [ebx + 0x47b4], 1
mov edx, dword [ebp + 0xc]
call fcn.10011df0
test eax, eax
jne 0x1001510a
lea ecx, [eax + 2]
cmp dword [ebx + 0x3ac], eax
je 0x10014e98
mov ecx, 3
mov eax, dword [ebx + 0x6d4]
mov esi, dword [edi + 0x68]
push ecx
mov ecx, edx
sub esi, eax
push ecx
mov ecx, esi
call fcn.100232b0
add esp, 8
test eax, eax
jne 0x100151f4
add dword [ebx + 0x80], esi
add dword [ebx + 0x489c], esi
mov edi, dword [edi + 0x78]
mov eax, dword [ebx + 0x80]
cmp edi, 0x64
jl 0x10014edb
cmp edi, 0xc7
jle 0x10014edd
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x84], eax
call fcn.10011820
test eax, eax
jne 0x100151f4
mov edi, dword [ebp - 8]
cmp dword [edi + 0x78], 0x12c
jl 0x10014fdb
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2b0], 0
jne 0x10014fba
cmp dword [eax + 0x26c], 0
jne 0x10014fba
cmp dword [eax + 0x2b4], 0
jne 0x10014fba
mov eax, dword [ebx + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x10014fba
cmp dword [edi + 0xac], 0
jne 0x10014fba
cmp dword [ebx + 0x39c], 0
je 0x10014f7b
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.10022c60
add esp, 8
cmp dword [edi + 0x84], 0
jle 0x10014fba
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x10014fba
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.10022c60
mov edx, dword [ebp + 0xc]
add esp, 8
mov eax, 2
call fcn.10003570
and dword [edi + 0xa8], 0xfffffffd
mov dword [edi + 0xac], 1
cmp dword [ebx + 0x47fc], 0
je 0x10014fba
mov dword [edi + 0x84], 3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2b4], 0
je 0x10014fdb
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.10022c60
add esp, 8
or dword [edi + 0xa8], 2
cmp dword [edi + 0x48], 0
je 0x10015128
mov eax, dword [ebx + 0x6d4]
mov dword [edi + 0x54], eax
mov ecx, dword [edi + 0x5c]
mov dword [edi + 0x58], 0
cmp byte [ecx], 0
jne 0x100142d2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push ebx
call fcn.10022c60
add esp, 8
mov dword [edi + 0x88], 2
mov dword [edi + 0x48], esi
mov dword [edi + 0x50], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.10014160
add esp, 4
test eax, eax
jne 0x100151f4
cmp dword [edi + 0x50], eax
jne 0x100151f2
cmp dword [edi + 0x58], 5
jbe 0x100151f2
mov ecx, dword [ebp + 0xc]
mov eax, ebx
push eax
mov eax, dword [eax + 0x6d4]
call fcn.10014130
add esp, 4
test eax, eax
jne 0x100151f2
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x48], 0
cmp dword [eax], 0
je 0x100150aa
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x4c], 2
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10014220
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.10022ce0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.10022ce0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x3b8], 0
je 0x1001513f
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x1001518a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x310]
test dword [edx + 0x3c], 0x40000
je 0x10015173
cmp dword [ebx + 0x510], 2
jne 0x10015173
or edx, 0xffffffff
cmp dword [edi + 4], edx
jg 0x10015176
jl 0x10015168
cmp dword [edi], edx
ja 0x10015176
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x1001518a
or edx, 0xffffffff
cmp dword [edi + 0xc8], 0
je 0x1001518a
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, edx
jne 0x10015197
cmp ecx, edx
je 0x100151ae
push ecx
push eax
mov eax, ebx
call fcn.10020ca0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add esp, 8
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
cmp dword [edi + 0x10], 0
jne 0x100151c5
cmp dword [edi + 0x14], 0
jne 0x100151c5
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x100151cd
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x100151d4
and dword [edi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x3c4], 0
je 0x100151f2
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x60]
push edx
push esi
push eax
push 1
mov ecx, ebx
call fcn.100234c0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret