Function at 0x100145a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x70]
nop
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x70], eax
push dword [edi]
push 0xa
push eax
call fcn.10040380
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x100154ee
sub eax, dword [esi + 0x6c]
inc eax
sub dword [edi], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push ebx
call fcn.100156c0
add esp, 0xc
test eax, eax
jne 0x1001552c
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x6e4]
mov dword [esi + 0x78], eax
jne 0x1001462d
cmp dword [esi + 0x68], 5
jbe 0x1001462d
push dword [ebx + 0x6e4]
push edi
push ebx
call fcn.100155c0
add esp, 0xc
test al, al
je 0x1001534c
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x10015095
cmp al, 0xd
je 0x10015099
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x1001490b
mov eax, dword [edi + 0x3d0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x10014776
lea ecx, [esi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [edi + 0x180]
push eax
lea eax, [ebp - 4]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.10004f60
add esp, 0x18
cmp eax, 1
jne 0x100146c9
cmp dword [ebp - 4], 2
jne 0x1001537d
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.10004f60
add esp, 0xc
cmp eax, 1
jne 0x1001537d
lea ecx, [edi + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x100146de
cmp eax, 4
jne 0x10014717
cmp byte [ebp + 0xb], 0x20
jne 0x1001537d
lea ecx, [edi + 0x180]
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0xa4], 2
jne 0x100147c4
cmp dword [ecx], 0x14
je 0x100147c4
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.10024510
add esp, 8
lea ecx, [edi + 0x180]
jmp 0x100147c4
test eax, eax
jne 0x1001537d
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.10004f60
add esp, 0xc
mov dword [edi + 0x180], 0xa
lea ecx, [edi + 0x180]
test eax, eax
jne 0x100147c4
push dword [esi + 0x78]
push ebx
call fcn.10015540
add esp, 8
test al, al
je 0x10015526
lea ecx, [edi + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x100147c4
test eax, 0x40000
je 0x10015526
lea eax, [esi + 0x88]
push eax
lea ecx, [edi + 0x184]
push ecx
lea eax, [ebp - 0xc]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.10004f60
add esp, 0x14
cmp eax, 3
jne 0x10015526
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi + 0x184], eax
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x4a80], eax
mov eax, dword [ecx]
mov dword [ebx + 0x4a88], eax
mov eax, dword [ebx + 0x4a00]
test eax, eax
je 0x100147e6
cmp eax, dword [ecx]
jle 0x100147ee
mov eax, dword [ecx]
mov dword [ebx + 0x4a00], eax
cmp byte [ebx + 0x380], 0
je 0x10014852
mov edx, dword [esi + 0x88]
cmp edx, 0x190
jl 0x10014852
cmp edx, 0x191
jne 0x10014816
cmp byte [edi + 0x394], 0
jne 0x10014852
cmp edx, 0x197
jne 0x10014827
cmp byte [edi + 0x395], 0
jne 0x10014852
mov eax, dword [ebx + 0x4a18]
or eax, dword [ebx + 0x4a1c]
je 0x10015397
cmp dword [ebx + 0x288], 1
jne 0x10015397
cmp edx, 0x1a0
jne 0x10015397
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x10014871
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.10024510
push 1
push edi
call fcn.10002150
add esp, 0x10
jmp 0x100148c7
cmp eax, 0x14
je 0x100148bb
cmp dword [esi + 0xa4], 1
jne 0x10014888
cmp dword [esi + 0x88], 0x65
je 0x100148bb
cmp eax, 0xb
jl 0x100148c7
cmp byte [edi + 0x38d], 0
jne 0x100148c7
cmp dword [edi + 0x6d4], 0
je 0x100148c7
push edi
push ebx
call fcn.10020600
add esp, 8
test al, al
jne 0x100148c7
mov eax, dword [edi + 0x6d4]
mov dword [eax], 1
jmp 0x100148c7
mov eax, dword [edi + 0x6d4]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x100148d9
sub eax, 0x64
jne 0x1001490b
cmp dword [ebx + 0x27c], 0
je 0x100148e9
mov byte [ebx + 0x4a90], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x100149c6
cmp byte [ebx + 0x3a7], 0
jne 0x100149c6
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100149c6
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.100573fa
mov ecx, dword [ebx + 0x360]
add esp, 0xc
or ecx, dword [ebx + 0x364]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
je 0x10014980
cmp edx, dword [ebx + 0x364]
jg 0x100153ac
jl 0x10014980
cmp eax, dword [ebx + 0x360]
ja 0x100153ac
test edx, edx
jl 0x100149a5
jg 0x1001498a
test eax, eax
jb 0x100149a5
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.10021bf0
add esp, 0xc
jmp 0x10015034
push 2
push edi
call fcn.10002150
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.10024510
add esp, 0x18
jmp 0x10015034
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a1f
push dword [esi + 0x78]
call fcn.10013fb0
mov edi, eax
add esp, 4
test edi, edi
je 0x100153c6
cmp byte [edi], 0
jne 0x10014a05
push edi
call dword [0x100a300c]
add esp, 4
jmp 0x10015034
push dword [ebx + 0x4aa8]
call dword [0x100a300c]
add esp, 4
mov dword [ebx + 0x4aa8], edi
jmp 0x10015034
push 7
push dword [esi + 0x78]
push str.Server:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a8b
cmp dword [edi + 0x180], 0x14
jge 0x10015034
push dword [esi + 0x78]
call fcn.10013fb0
mov ecx, dword [edi + 0x6d4]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10014a7c
cmp dword [ecx], 1
jne 0x10014a7c
push eax
push ebx
call fcn.10020400
add esp, 8
test al, al
je 0x10014a79
mov eax, dword [edi + 0x6d4]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x100a300c]
add esp, 4
jmp 0x10015034
cmp dword [edi + 0x180], 0xa
jne 0x10014ad1
cmp byte [edi + 0x392], 0
je 0x10014ad1
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.10013ee0
add esp, 0xc
test al, al
je 0x10014ad1
push 0
push edi
call fcn.10002150
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.10024510
add esp, 0x10
jmp 0x10015034
cmp dword [edi + 0x180], 0xb
jne 0x10014b17
cmp byte [edi + 0x392], 0
je 0x10014b17
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.10013ee0
add esp, 0xc
test al, al
je 0x10014b17
push 1
push edi
call fcn.10002150
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.10024510
add esp, 0x10
jmp 0x10015034
cmp dword [edi + 0x180], 0xa
jne 0x10014b54
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.10013ee0
add esp, 0xc
test al, al
je 0x10014b54
push 0
push edi
call fcn.10002150
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.10024510
add esp, 0x10
jmp 0x10015034
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.10013ee0
add esp, 0xc
test al, al
je 0x10014b7d
push 2
push edi
call fcn.10002150
add esp, 8
jmp 0x10015034
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ca2
mov edi, dword [esi + 0x78]
add edi, 0x12
nop dword [eax]
mov al, byte [edi]
test al, al
je 0x10014bc3
movzx eax, al
push eax
call fcn.10057acf
add esp, 4
test eax, eax
jne 0x10014bbb
cmp byte [edi], 0x2c
jne 0x10014bc3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014ba6
push 7
push edi
push str.chunked
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014bec
push dword [ebp + 0xc]
mov byte [esi + 0xdc], 1
call fcn.10015ef0
add esp, 4
add edi, 7
cmp dword [esi + 0xa8], 0
jne 0x10015034
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c20
mov eax, 8
mov dword [esi + 0xa8], 0
add edi, eax
jmp 0x10014ba0
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c4a
mov eax, 7
mov dword [esi + 0xa8], 1
add edi, eax
jmp 0x10014ba0
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c74
mov eax, 4
mov dword [esi + 0xa8], 2
add edi, eax
jmp 0x10014ba0
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015034
mov eax, 6
mov dword [esi + 0xa8], 2
add edi, eax
jmp 0x10014ba0
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d6e
cmp dword [ebx + 0x3e4], 0
je 0x10014d6e
mov edi, dword [esi + 0x78]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x10014ced
movzx eax, al
push eax
call fcn.10057acf
add esp, 4
test eax, eax
je 0x10014ced
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014cd5
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d10
mov dword [esi + 0xa8], 0
jmp 0x10015034
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d33
mov dword [esi + 0xa8], 1
jmp 0x10015034
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x10014d5f
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015034
mov dword [esi + 0xa8], 2
jmp 0x10015034
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014e1a
mov edi, dword [esi + 0x78]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x10014db1
movzx eax, al
push eax
call fcn.100579ea
add esp, 4
test eax, eax
jne 0x10014db1
cmp byte [edi], 0x2a
je 0x10014db1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014d94
movzx eax, byte [edi]
push eax
call fcn.100579ea
add esp, 4
test eax, eax
je 0x10014e01
push 0xa
push 0
push edi
call fcn.100573fa
mov dword [esi + 0x80], eax
add esp, 0xc
mov dword [esi + 0x84], edx
mov eax, dword [ebx + 0x4a18]
cmp eax, dword [esi + 0x80]
jne 0x10015034
cmp dword [ebx + 0x4a1c], edx
jne 0x10015034
mov byte [esi + 0x7c], 1
jmp 0x10015034
mov dword [ebx + 0x4a18], 0
mov dword [ebx + 0x4a1c], 0
jmp 0x10015034
cmp dword [ebx + 0x530], 0
je 0x10014e82
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014e82
push 2
push 2
push ebx
call fcn.10024ca0
mov eax, dword [edi + 0x400]
add esp, 0xc
test eax, eax
jne 0x10014e56
mov eax, dword [edi + 0xa0]
push dword [ebx + 0x4a0c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x530]
push ebx
call fcn.100037c0
push 2
push ebx
call fcn.10024ce0
add esp, 0x20
jmp 0x10015034
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014eee
cmp dword [ebx + 0x27c], 0
jne 0x10014eaa
cmp byte [ebx + 0x379], 0
je 0x10014eee
push 0
call fcn.100556ad
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 0x14], edx
push eax
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [ebx + 0x379], 0
je 0x10015034
mov dword [ebx + 0x4a8c], eax
jmp 0x10015034
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014f14
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x10014f3a
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014f84
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x10014f84
push dword [esi + 0x78]
call fcn.10013fb0
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100153c6
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.10014250
push dword [ebp - 0x10]
mov edi, eax
call dword [0x100a300c]
add esp, 0x10
test edi, edi
je 0x10015034
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x10015011
cmp eax, 0x190
jge 0x10015011
push 9
push dword [esi + 0x78]
push str.Location:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015011
cmp dword [ebx + 0x13c], 0
jne 0x10015011
push dword [esi + 0x78]
call fcn.10013fb0
add esp, 4
test eax, eax
je 0x100153c6
cmp byte [eax], 0
jne 0x10014fdf
push eax
call dword [0x100a300c]
add esp, 4
jmp 0x10015034
cmp byte [ebx + 0x382], 0
mov dword [ebx + 0x13c], eax
je 0x10015034
push eax
call dword [0x100a3014]
add esp, 4
mov dword [ebx + 0x140], eax
test eax, eax
je 0x100153c6
push edi
call fcn.10015890
add esp, 4
jmp 0x1001502c
mov eax, dword [edi + 0x3d0]
test dword [eax + 0x40], 0x40000
je 0x10015034
push dword [esi + 0x78]
push edi
call fcn.10023730
add esp, 8
test eax, eax
jne 0x1001552c
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp byte [ebx + 0x385], al
setne al
add eax, 2
cmp byte [ebx + 0x390], 0
mov dword [ebp - 0x10], eax
je 0x10015066
push edi
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push ebx
call fcn.10024360
mov eax, dword [ebp - 0x10]
add esp, 0x14
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push edi
call fcn.10024330
add esp, 0x10
test eax, eax
jne 0x1001552c
mov eax, dword [esi + 0x68]
add dword [ebx + 0x4a94], eax
mov eax, dword [esi + 0x68]
add dword [ebx + 0xa0], eax
jmp 0x10015327
cmp al, 0xd
jne 0x1001509f
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x100150ab
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1001511f
cmp eax, 0xc7
jg 0x1001511f
sub eax, 0x64
je 0x100150ed
sub eax, 1
je 0x100150d7
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x10015176
cmp dword [esi + 0xa4], 1
je 0x100153d2
mov byte [esi + 0x58], 0
jmp 0x10015176
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x10015176
or dword [esi + 0xc4], 2
push 0
push ebx
mov dword [esi + 0xa0], 0
call fcn.1001c160
add esp, 8
jmp 0x10015176
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x10015176
cmp byte [esi + 0xdc], 0
jne 0x10015176
cmp byte [edi + 0x38d], 0
jne 0x1001517f
cmp dword [edi + 0x180], 0xb
jne 0x10015176
mov eax, dword [edi + 0x3d0]
test dword [eax + 0x40], 0x40000
jne 0x10015176
cmp dword [ebx + 0x288], 5
je 0x10015176
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.10024510
push 2
push edi
call fcn.10002150
add esp, 0x10
cmp byte [edi + 0x38d], 0
je 0x100151ba
mov eax, dword [ebx + 0xf8]
cmp eax, 0x191
jne 0x10015195
cmp dword [edi + 0x478], 2
je 0x100151a5
cmp eax, 0x197
jne 0x100151ba
cmp dword [edi + 0x4b4], 2
jne 0x100151ba
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.10024510
add esp, 8
mov byte [ebx + 0x4814], 1
push edi
call fcn.10015a30
add esp, 4
test eax, eax
jne 0x100154ce
mov eax, dword [ebx + 0x6e4]
mov ecx, dword [esi + 0x78]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 8], ecx
cmp byte [ebx + 0x385], al
setne al
add eax, 2
push eax
push edi
call fcn.10024330
add esp, 0x10
test eax, eax
jne 0x1001552c
mov eax, dword [ebp - 8]
add dword [ebx + 0xa0], eax
add dword [ebx + 0x4a94], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [ebx + 0xa0]
cmp eax, 0x64
jl 0x10015222
cmp eax, 0xc7
jle 0x10015224
xor ecx, ecx
push edi
mov dword [ebx + 0xa4], ecx
call fcn.10014080
add esp, 4
test eax, eax
jne 0x1001552c
cmp dword [esi + 0x88], 0x12c
jl 0x1001531d
cmp byte [edi + 0x39e], al
jne 0x100152ff
cmp byte [edi + 0x38d], al
jne 0x100152ff
cmp byte [edi + 0x39f], al
jne 0x10015308
mov eax, dword [ebx + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100152ff
push 0
push ebx
call fcn.1001c160
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x100152ff
cmp byte [ebx + 0x381], 0
je 0x100152c8
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.10024510
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x100152ff
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x100152ff
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.10024510
push 2
push edi
call fcn.10002150
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [ebx + 0x4a04], 0
je 0x100152ff
mov dword [esi + 0xa0], 3
cmp byte [edi + 0x39f], 0
je 0x1001531d
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.10024510
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x10015401
mov eax, dword [ebx + 0x6e4]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
jne 0x100145b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [ecx], 0
je 0x10015368
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push ebx
call fcn.10024440
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10015cb0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.10024440
add esp, 8
mov eax, 0x3f
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 ebx
call fcn.10024510
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x388], 0
je 0x10015412
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10015463
mov eax, dword [edi + 0x3d0]
test dword [eax + 0x40], 0x40000
je 0x1001543f
cmp dword [ebx + 0x4c0], 2
jne 0x1001543f
cmp dword [esi + 4], 0xffffffff
jg 0x1001543f
jl 0x10015437
cmp dword [esi], 0xffffffff
ja 0x1001543f
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10015463
cmp byte [esi + 0xdc], 0
je 0x10015463
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x10015471
cmp eax, ecx
je 0x10015487
push eax
push ecx
push ebx
call fcn.10021bf0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x1001549b
cmp dword [esi + 0x14], 0
jne 0x1001549b
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x100154a3
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x100154aa
and dword [esi + 0xc4], 0xfffffffe
cmp byte [ebx + 0x390], 0
je 0x1001552a
push edi
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push ebx
call fcn.10024360
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.10024440
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
push esi
push ebx
call fcn.100156c0
add esp, 0xc
test eax, eax
jne 0x1001552c
cmp dword [esi + 0x60], eax
jne 0x1001552a
cmp dword [esi + 0x68], 5
jbe 0x1001552a
push dword [ebx + 0x6e4]
push dword [ebp + 0xc]
push ebx
call fcn.100155c0
add esp, 0xc
test al, al
jne 0x1001552a
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret