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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov eax, dword [ebp + 0xac]
lea esi, [ebp + 0x50]
mov dword [esi + 0x60], eax
mov ecx, dword [ebx]
push ecx
push 0xa
push eax
call fcn.1003b650
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x10017969
mov edi, dword [esi + 0x64]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ebx]
sub edi, ecx
inc edi
sub edx, edi
mov dword [ebx], edx
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esi + 0x5c], eax
sub eax, ecx
push eax
push esi
push ebp
call fcn.10017c20
add esp, 0xc
test eax, eax
jne 0x10017b3f
mov edx, dword [esi + 0x54]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x6c4]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x50]
xor edx, edx
cmp eax, edx
jne 0x10016b2f
cmp dword [esi + 0x58], 5
jbe 0x10016b2f
mov ecx, dword [ebp + 0x6c4]
mov edx, dword [esp + 0x24]
push ecx
push edx
push ebp
call fcn.10017bc0
add esp, 0xc
test eax, eax
je 0x100179c6
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10017632
cmp cl, 0xd
je 0x10017637
mov ecx, dword [esi + 0x50]
cmp ecx, edx
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
jne 0x10016df0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x308]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x10016c40
mov ecx, dword [esp + 0x24]
lea ebx, [esi + 0x78]
push ebx
lea edx, [esp + 0x14]
lea edi, [ecx + 0x178]
push edi
push edx
push str._HTTP__d._d__d
push eax
call fcn.10039417
add esp, 0x14
cmp eax, 1
jne 0x10016bba
cmp dword [esp + 0x10], 2
jne 0x10016bfb
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.10039417
add esp, 0xc
cmp eax, 1
jne 0x10016bfb
mov dword [edi], 0
jmp 0x10016bbf
cmp eax, 3
jne 0x10016bfb
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
lea ecx, [eax + eax*4]
shl ecx, 1
add edx, ecx
mov dword [edi], edx
mov ecx, dword [esi + 0x88]
cmp ecx, 2
mov eax, edx
jne 0x10016ca0
cmp eax, 0x14
je 0x10016ca0
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.10025fd0
add esp, 8
jmp 0x10016ca0
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.10039417
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [edi], 0xa
jne 0x10016ca0
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.10017b50
add esp, 8
test eax, eax
je 0x10016c98
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x10016ca0
test ecx, 0x40000
je 0x10017a0d
mov edx, dword [esp + 0x24]
lea ebx, [esi + 0x78]
push ebx
lea ecx, [esp + 0x18]
lea edi, [edx + 0x17c]
push edi
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.10039417
mov ebp, eax
add esp, 0x14
cmp ebp, 3
jne 0x10017a0d
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi]
shl edx, 1
add eax, edx
mov dword [edi], eax
mov eax, dword [esp + 0x24]
lea edi, [eax + 0x178]
mov dword [edi], 0xb
test ebp, ebp
je 0x10017a0d
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x47e8]
mov dword [ebp + 0x4878], ecx
mov edx, dword [edi]
test eax, eax
mov dword [ebp + 0x4880], edx
je 0x10016cc2
cmp eax, dword [edi]
jle 0x10016cca
mov eax, dword [edi]
mov dword [ebp + 0x47e8], eax
mov eax, dword [ebp + 0x388]
test eax, eax
je 0x10016d33
mov eax, dword [ebx]
cmp eax, 0x190
jl 0x10016d33
cmp eax, 0x191
jne 0x10016cf2
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x288]
test edx, edx
jne 0x10016d33
cmp eax, 0x197
jne 0x10016d07
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x28c]
test ecx, ecx
jne 0x10016d33
mov ecx, dword [ebp + 0x4810]
mov edx, dword [ebp + 0x4814]
or ecx, edx
je 0x100179f7
cmp dword [ebp + 0x25c], 1
jne 0x100179f7
cmp eax, 0x1a0
jne 0x100179f7
mov edi, dword [edi]
cmp edi, 0xa
jne 0x10016d56
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.10025fd0
mov edx, dword [esp + 0x2c]
push 1
push edx
call fcn.10003460
add esp, 0x10
jmp 0x10016db6
cmp edi, 0x14
je 0x10016da6
cmp dword [esi + 0x88], 1
jne 0x10016d69
cmp dword [ebx], 0x65
je 0x10016da6
cmp edi, 0xb
jl 0x10016db6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x26c]
test ecx, ecx
jne 0x10016db6
mov ecx, dword [eax + 0x594]
test ecx, ecx
je 0x10016db6
push eax
push ebp
call fcn.10022400
add esp, 8
test eax, eax
jne 0x10016db6
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x594]
mov dword [edx], 1
jmp 0x10016db6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x594]
mov dword [ecx], 2
mov ebx, dword [ebx]
sub ebx, 0xcc
je 0x10016dc5
sub ebx, 0x64
jne 0x10016df0
mov ecx, dword [ebp + 0x254]
xor eax, eax
cmp ecx, eax
je 0x10016ddb
mov dword [ebp + 0x4888], 1
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb0], 1
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x10016ebc
mov eax, dword [ebp + 0x3e8]
test eax, eax
jne 0x10016ebc
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10016ebc
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1002b380
mov ebx, dword [esp + 0x2c]
mov edi, eax
mov ebp, edx
add esp, 0xc
mov ecx, dword [ebx + 0x350]
mov eax, dword [ebx + 0x354]
mov edx, ecx
or edx, eax
je 0x10016e66
cmp ebp, eax
jg 0x10017a1e
jl 0x10016e66
cmp edi, ecx
ja 0x10017a1e
test ebp, ebp
jl 0x10016e93
jg 0x10016e70
test edi, edi
jb 0x10016e93
push ebp
push edi
mov dword [esi], edi
mov dword [esi + 0x10], edi
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
call fcn.10023e10
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esp, 0xc
jmp 0x100175b6
mov eax, dword [esp + 0x24]
push 2
push eax
call fcn.10003460
push ebp
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.10025fd0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
add esp, 0x18
jmp 0x100175b6
mov ecx, dword [esi + 0x68]
push 0xd
push ecx
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10016f20
mov edx, dword [esi + 0x68]
push edx
call fcn.10013dd0
mov edi, eax
add esp, 4
test edi, edi
je 0x10017a43
cmp byte [edi], 0
jne 0x10016f01
push edi
call dword [0x10048b74]
mov ebx, dword [esp + 0x28]
add esp, 4
jmp 0x100175b6
mov eax, dword [ebp + 0x48a0]
push eax
call dword [0x10048b74]
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 0x48a0], edi
jmp 0x100175b6
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10016f8e
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x178], 0x14
jge 0x100175b6
mov edx, dword [esi + 0x68]
push edx
call fcn.10013dd0
mov edi, eax
mov eax, dword [ebx + 0x594]
add esp, 4
test eax, eax
je 0x10016f7f
cmp dword [eax], 1
jne 0x10016f7f
push edi
push ebp
call fcn.100225b0
add esp, 8
test eax, eax
je 0x10016f7f
mov eax, dword [ebx + 0x594]
mov dword [eax], 0xffffffff
push edi
call dword [0x10048b74]
add esp, 4
jmp 0x100175b6
mov ebx, dword [esp + 0x24]
mov edi, 0xa
cmp dword [ebx + 0x178], edi
jne 0x10016fde
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x10016fde
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.10014cb0
add esp, 0xc
test eax, eax
je 0x10016fde
push 0
push ebx
call fcn.10003460
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
call fcn.10025fd0
add esp, 0x10
jmp 0x100175b6
cmp dword [ebx + 0x178], 0xb
jne 0x10017026
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x10017026
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.10014cb0
add esp, 0xc
test eax, eax
je 0x10017026
push 1
push ebx
call fcn.10003460
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
call fcn.10025fd0
add esp, 0x10
jmp 0x100175b6
cmp dword [ebx + 0x178], edi
jne 0x10017063
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.10014cb0
add esp, 0xc
test eax, eax
je 0x10017063
push 0
push ebx
call fcn.10003460
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
call fcn.10025fd0
add esp, 0x10
jmp 0x100175b6
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.10014cb0
add esp, 0xc
test eax, eax
je 0x1001708d
push 2
push ebx
call fcn.10003460
add esp, 8
jmp 0x100175b6
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100171c5
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x100170f1
cmp dword [0x1004fdbc], 1
jle 0x100170cf
and eax, 0xff
push 8
push eax
call fcn.1003a3af
add esp, 8
jmp 0x100170e0
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x100170e9
cmp byte [edi], 0x2c
jne 0x100170f1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100170b4
push 7
push edi
push str.chunked
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001711b
push ebx
mov dword [esi + 0xc4], 1
call fcn.10017d90
add esp, 4
add edi, 7
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x100175b6
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001714f
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x100170ae
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017175
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x100170ae
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001719b
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x100170ae
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100175b6
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x100170ae
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100172b3
mov eax, dword [ebp + 0x430]
test eax, eax
je 0x100172b3
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x10017232
cmp dword [0x1004fdbc], 1
jle 0x10017215
and eax, 0xff
push 8
push eax
call fcn.1003a3af
add esp, 8
jmp 0x10017226
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x10017232
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100171fa
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017255
mov dword [esi + 0x8c], 0
jmp 0x100175b6
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017278
mov dword [esi + 0x8c], 1
jmp 0x100175b6
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x100172a4
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100175b6
mov dword [esi + 0x8c], 2
jmp 0x100175b6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017398
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x10017317
cmp dword [0x1004fdbc], 1
jle 0x100172f5
and eax, 0xff
push 4
push eax
call fcn.1003a3af
add esp, 8
jmp 0x10017306
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
jne 0x10017317
cmp byte [edi], 0x2a
je 0x10017317
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100172da
cmp dword [0x1004fdbc], 1
jle 0x10017331
xor edx, edx
push 4
mov dl, byte [edi]
push edx
call fcn.1003a3af
add esp, 8
jmp 0x10017341
mov ecx, dword [str.________________________________H]
xor eax, eax
mov al, byte [edi]
mov al, byte [ecx + eax*2]
and eax, 4
xor ecx, ecx
cmp eax, ecx
je 0x10017387
push 0xa
push ecx
push edi
call fcn.1002b380
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov edx, dword [ebp + 0x4810]
mov eax, dword [esi + 0x70]
add esp, 0xc
cmp edx, eax
jne 0x100175b6
mov eax, dword [ebp + 0x4814]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jne 0x100175b6
mov dword [esi + 0x6c], 1
jmp 0x100175b6
mov dword [ebp + 0x4810], ecx
mov dword [ebp + 0x4814], ecx
jmp 0x100175b6
mov eax, dword [ebp + 0x578]
test eax, eax
je 0x10017404
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017404
push 2
push 2
push ebp
call fcn.10026c90
mov eax, dword [ebx + 0x338]
add esp, 0xc
test eax, eax
jne 0x100173d6
mov eax, dword [ebx + 0x98]
mov edx, dword [ebp + 0x47f8]
mov ecx, dword [ebp + 0x578]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push ebp
call fcn.10003580
push 2
push ebp
call fcn.10026ce0
add esp, 0x20
jmp 0x100175b6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001746d
mov eax, dword [ebp + 0x254]
test eax, eax
jne 0x1001742f
mov eax, dword [ebp + 0x36c]
test eax, eax
je 0x1001746d
push 0
call fcn.1003951c
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
add ecx, 0xe
push eax
push ecx
call sym.libcurl.dll_curl_getdate
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x36c]
add esp, 0xc
test ecx, ecx
je 0x100175b6
mov dword [ebp + 0x4884], eax
jmp 0x100175b6
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001748e
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x100174af
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100174f8
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x100174f8
mov ecx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.10013dd0
mov edi, eax
add esp, 4
test edi, edi
je 0x10017a43
mov edx, dword [esp + 0x24]
push edi
push ebx
push edx
call fcn.10014640
push edi
mov ebx, eax
call dword [0x10048b74]
add esp, 0x10
test ebx, ebx
jne 0x10017a39
mov ebx, dword [esp + 0x24]
jmp 0x100175b6
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10017592
cmp eax, 0x190
jge 0x10017592
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10017592
mov eax, dword [ebp + 0x104]
test eax, eax
jne 0x10017592
mov ecx, dword [esi + 0x68]
push ecx
call fcn.10013dd0
add esp, 4
test eax, eax
je 0x10017a43
cmp byte [eax], 0
jne 0x10017557
push eax
call dword [0x10048b74]
add esp, 4
jmp 0x100175b6
mov ecx, dword [ebp + 0x390]
mov dword [ebp + 0x104], eax
test ecx, ecx
je 0x100175b6
push eax
call dword [0x10048b7c]
add esp, 4
mov dword [ebp + 0x108], eax
test eax, eax
je 0x10017a43
push ebx
call fcn.10014130
add esp, 4
test eax, eax
jne 0x10017b3f
jmp 0x100175b6
mov edx, dword [ebx + 0x308]
test dword [edx + 0x3c], 0x40000
je 0x100175b6
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.100256c0
add esp, 8
test eax, eax
jne 0x10017b3f
mov eax, dword [ebp + 0x39c]
mov edi, 2
test eax, eax
je 0x100175ca
mov edi, 3
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x100175e8
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
push ebx
push ecx
push edx
push 1
push ebp
call fcn.10026950
add esp, 0x14
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push eax
push ecx
push edi
push ebx
call fcn.10026780
add esp, 0x10
test eax, eax
jne 0x10017b3f
mov edx, dword [esi + 0x58]
mov edi, dword [ebp + 0x488c]
mov ecx, dword [ebp + 0x80]
add edi, edx
mov dword [ebp + 0x488c], edi
mov eax, dword [esi + 0x58]
add ecx, eax
mov dword [ebp + 0x80], ecx
mov ecx, dword [ebp + 0x6c4]
mov dword [esi + 0x54], ecx
jmp 0x10017902
cmp cl, 0xd
jne 0x1001763b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x10017647
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x100176ac
cmp eax, 0xc7
jg 0x100176ac
sub eax, 0x64
je 0x10017682
dec eax
je 0x1001766d
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
jmp 0x1001770c
cmp dword [esi + 0x88], 1
je 0x1001793a
mov dword [esi + 0x48], edx
jmp 0x1001770c
mov eax, dword [esi + 0x84]
mov dword [esi + 0x48], 1
cmp eax, edx
mov dword [esi + 0x50], edx
jle 0x1001770c
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], edx
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x1001770c
mov eax, dword [esi]
mov edi, dword [esi + 4]
and eax, edi
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x1001770c
cmp dword [esi + 0xc4], edx
jne 0x1001770c
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
jne 0x1001770c
cmp dword [eax + 0x178], 0xb
jne 0x1001770c
mov ecx, dword [eax + 0x308]
test dword [ecx + 0x3c], 0x40000
jne 0x1001770c
cmp dword [ebp + 0x25c], 5
je 0x1001770c
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.10025fd0
mov edx, dword [esp + 0x2c]
push 2
push edx
call fcn.10003460
add esp, 0x10
xor edx, edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x26c], edx
je 0x1001775e
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x10017732
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x380], 2
je 0x10017746
cmp eax, 0x197
jne 0x1001775e
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x398], 2
jne 0x1001775e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.10025fd0
add esp, 8
mov dword [ebp + 0x47a4], 1
mov ebx, dword [esp + 0x24]
push ebx
call fcn.10014800
add esp, 4
test eax, eax
jne 0x10017a50
mov eax, dword [ebp + 0x39c]
mov ecx, 2
test eax, eax
je 0x10017787
mov ecx, 3
mov eax, dword [ebp + 0x6c4]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.10026780
add esp, 0x10
test eax, eax
jne 0x10017b3f
mov ecx, dword [ebp + 0x488c]
mov eax, dword [ebp + 0x80]
add ecx, edi
add eax, edi
mov dword [ebp + 0x488c], ecx
mov dword [ebp + 0x80], eax
mov ecx, eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x100177d7
cmp eax, 0xc7
jg 0x100177d7
mov eax, ecx
jmp 0x100177d9
xor eax, eax
push ebx
mov dword [ebp + 0x84], eax
call fcn.10013ed0
add esp, 4
test eax, eax
jne 0x10017b3f
cmp dword [esi + 0x78], 0x12c
jl 0x100178ee
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x100178c8
mov eax, dword [ebx + 0x26c]
test eax, eax
jne 0x100178c8
mov eax, dword [ebx + 0x2b4]
test eax, eax
jne 0x100178d2
mov eax, dword [ebp + 0x25c]
cmp eax, 2
jl 0x100178c8
cmp eax, 4
jg 0x100178c8
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x100178c8
mov eax, dword [ebp + 0x38c]
test eax, eax
je 0x10017885
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebp
call fcn.10025fd0
mov eax, dword [esi + 0x84]
add esp, 8
test eax, eax
jle 0x100178c8
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x84], 0
or al, 2
mov dword [esi + 0xa4], eax
jmp 0x100178c8
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.10025fd0
push 2
push ebx
call fcn.10003460
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0xa8], 1
and ecx, 0xfffffffd
add esp, 0x10
mov dword [esi + 0xa4], ecx
mov eax, dword [ebp + 0x47ec]
test eax, eax
je 0x100178c8
mov dword [esi + 0x84], 3
mov eax, dword [ebx + 0x2b4]
test eax, eax
je 0x100178ee
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.10025fd0
mov eax, dword [esi + 0xa4]
add esp, 8
or al, 2
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10017a6f
mov eax, dword [ebp + 0x6c4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
je 0x10017b3d
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.1003b650
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x10017969
mov ebx, dword [esp + 0x28]
jmp 0x10016ac4
push str.Received_101_n
push ebp
call fcn.10025fd0
add esp, 8
mov eax, 1
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
push esi
push ebp
call fcn.10017c20
add esp, 0xc
test eax, eax
jne 0x10017b3f
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x10017b3d
cmp dword [esi + 0x58], 5
jbe 0x10017b3d
mov edx, dword [ebp + 0x6c4]
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
call fcn.10017bc0
add esp, 0xc
test eax, eax
jne 0x10017b3d
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x48], 0
mov eax, dword [ebx]
test eax, eax
je 0x100179e4
mov dword [esi + 0x4c], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x4c], 2
mov dword [ebx], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebp
call fcn.10017cf0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x48], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.10026040
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.10026040
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x3a8]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x10017a88
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x10017ad4
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x308]
test dword [eax + 0x3c], 0x40000
je 0x10017abc
cmp dword [ebp + 0x500], 2
jne 0x10017abc
mov eax, dword [esi + 4]
or edx, 0xffffffff
cmp eax, edx
jg 0x10017abf
jl 0x10017ab4
cmp dword [esi], edx
ja 0x10017abf
mov dword [ebx], 1
jmp 0x10017ad4
or edx, 0xffffffff
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x10017ad4
mov dword [esi], edx
mov dword [esi + 0x10], edx
mov dword [esi + 4], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x10017ae1
cmp ecx, edx
je 0x10017af7
push ecx
push eax
push ebp
call fcn.10023e10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi + 0x10], ecx
add esp, 0xc
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x10017b0b
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x10017b0b
mov dword [ebx], 1
cmp dword [ebx], 0
je 0x10017b1e
mov eax, dword [esi + 0xa4]
and al, 0xfe
mov dword [esi + 0xa4], eax
mov eax, dword [ebp + 0x3b4]
test eax, eax
je 0x10017b3d
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
push eax
push edi
push ecx
push 1
push ebp
call fcn.10026950
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret