Function at 0x100142d0
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]
lea esi, [edi + 0x50]
nop
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.10039ff0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x10015071
sub eax, dword [esi + 0x5c]
inc eax
sub dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.100124c0
add esp, 4
test eax, eax
jne 0x10015226
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x6d4]
xor edx, edx
mov dword [esi + 0x68], ecx
cmp dword [esi + 0x50], edx
jne 0x10014365
cmp dword [esi + 0x58], 5
jbe 0x10014365
mov eax, dword [edi + 0x6d4]
push edi
mov ecx, ebx
call fcn.10012490
add esp, 4
test eax, eax
je 0x100150c2
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10014da6
cmp cl, 0xd
je 0x10014dab
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x100145f9
mov edx, dword [ebx + 0x310]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x10014464
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x178
push edi
lea ecx, [ebp - 4]
push ecx
push str._HTTP__d._d__d
push eax
call fcn.100379de
add esp, 0x14
cmp eax, 1
jne 0x100143e9
cmp dword [ebp - 4], 2
jne 0x10014426
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push edx
call fcn.100379de
add esp, 0xc
cmp eax, 1
jne 0x10014426
mov dword [edi], 0
jmp 0x100143ee
cmp eax, 3
jne 0x10014426
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x100144b2
mov ebx, dword [ebp + 8]
cmp eax, 0x14
je 0x100144b5
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.10023310
add esp, 8
jmp 0x100144b5
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.100379de
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x100144b2
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.10012410
test eax, eax
je 0x1001510b
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x100144b2
test ecx, 0x40000
je 0x1001510b
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x17c
push edi
lea edx, [ebp - 0xc]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.100379de
add esp, 0x14
cmp eax, 3
jne 0x1001510b
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x178
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x47f8]
mov dword [ebx + 0x4888], ecx
mov edx, dword [edi]
mov dword [ebx + 0x4890], edx
test eax, eax
je 0x100144d4
cmp eax, dword [edi]
jle 0x100144dc
mov eax, dword [edi]
mov dword [ebx + 0x47f8], eax
cmp dword [ebx + 0x398], 0
je 0x1001453f
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x1001453f
cmp eax, 0x191
jne 0x10014502
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x288], 0
jne 0x1001453f
cmp eax, 0x197
jne 0x10014515
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x28c], 0
jne 0x1001453f
mov ecx, dword [ebx + 0x4820]
or ecx, dword [ebx + 0x4824]
je 0x100150f6
cmp dword [ebx + 0x268], 1
jne 0x100150f6
cmp eax, 0x1a0
jne 0x100150f6
mov edi, dword [edi]
cmp edi, 0xa
jne 0x10014561
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.10023310
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.10002e30
add esp, 0x10
jmp 0x100145be
cmp edi, 0x14
je 0x100145af
cmp dword [esi + 0x88], 1
jne 0x10014575
cmp dword [esi + 0x78], 0x65
je 0x100145af
cmp edi, 0xb
jl 0x100145be
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x26c], 0
jne 0x100145be
mov ecx, eax
cmp dword [ecx + 0x59c], 0
je 0x100145be
mov edi, eax
push edi
push ebx
call fcn.1001f320
add esp, 8
test eax, eax
jne 0x100145be
mov edx, dword [edi + 0x59c]
mov dword [edx], 1
jmp 0x100145be
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x59c]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x100145d0
sub eax, 0x64
jne 0x100145f9
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x100145e4
mov dword [ebx + 0x4898], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
mov edi, dword [ebp + 8]
jne 0x100146bb
cmp dword [edi + 0x3f8], 0
jne 0x100146bb
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 0x100146bb
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10037945
mov ecx, dword [edi + 0x360]
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [edi + 0x364]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x1001466e
cmp dword [ebp - 0x10], eax
jg 0x1001511b
jl 0x1001466e
cmp ebx, ecx
ja 0x1001511b
cmp dword [ebp - 0x10], 0
jl 0x10014698
jg 0x1001467a
test ebx, ebx
jb 0x10014698
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
call fcn.10020f50
add esp, 0xc
jmp 0x10014d36
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.10002e30
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.10023310
add esp, 0x18
jmp 0x10014d36
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014717
mov eax, dword [esi + 0x68]
push eax
call fcn.10011590
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10015135
cmp byte [ebx], 0
jne 0x100146fc
push ebx
call dword [0x100550dc]
add esp, 4
jmp 0x10014d36
mov ecx, dword [edi + 0x48b0]
push ecx
call dword [0x100550dc]
add esp, 4
mov dword [edi + 0x48b0], ebx
jmp 0x10014d36
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001478a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0x14
jge 0x10014d36
mov ecx, dword [esi + 0x68]
push ecx
call fcn.10011590
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x59c]
add esp, 4
test eax, eax
je 0x1001477b
cmp dword [eax], 1
jne 0x1001477b
push ebx
push edi
call fcn.1001f4c0
add esp, 8
test eax, eax
je 0x1001477b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x59c]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x100550dc]
add esp, 4
jmp 0x10014d36
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x178], 0xa
jne 0x100147d4
cmp dword [ebx + 0x280], 0
je 0x100147d4
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.10012160
add esp, 0xc
test eax, eax
je 0x100147d4
push 0
push ebx
call fcn.10002e30
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.10023310
add esp, 0x10
jmp 0x10014d36
cmp dword [ebx + 0x178], 0xb
jne 0x1001481b
cmp dword [ebx + 0x280], 0
je 0x1001481b
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.10012160
add esp, 0xc
test eax, eax
je 0x1001481b
push 1
push ebx
call fcn.10002e30
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.10023310
add esp, 0x10
jmp 0x10014d36
cmp dword [ebx + 0x178], 0xa
jne 0x10014859
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.10012160
add esp, 0xc
test eax, eax
je 0x10014859
push 0
push ebx
call fcn.10002e30
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.10023310
add esp, 0x10
jmp 0x10014d36
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.10012160
add esp, 0xc
test eax, eax
je 0x10014883
push 2
push ebx
call fcn.10002e30
add esp, 8
jmp 0x10014d36
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100149a3
mov ebx, dword [esi + 0x68]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x100148cd
lea ebx, [ebx]
movzx ecx, al
push ecx
call fcn.100385a5
add esp, 4
test eax, eax
jne 0x100148c5
cmp byte [ebx], 0x2c
jne 0x100148cd
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x100148b0
push 7
push ebx
push str.chunked
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100148fa
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xc8], 1
call fcn.10015250
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x10014d36
push 8
push ebx
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x1001492d
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x100148a4
push 7
push ebx
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014953
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x100148a4
push 4
push ebx
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014979
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x100148a4
push 6
push ebx
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d36
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x100148a4
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a79
cmp dword [edi + 0x440], 0
je 0x10014a79
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x100149f8
jmp 0x100149e0
movzx ecx, al
push ecx
call fcn.100385a5
add esp, 4
test eax, eax
je 0x100149f8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x100149e0
push 8
push ebx
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a1b
mov dword [esi + 0x8c], 0
jmp 0x10014d36
push 7
push ebx
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014a3e
mov dword [esi + 0x8c], 1
jmp 0x10014d36
push 4
push ebx
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x10014a6a
push 6
push ebx
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d36
mov dword [esi + 0x8c], 2
jmp 0x10014d36
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 0x10014b18
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x10014abe
movzx eax, al
push eax
call fcn.100384a0
add esp, 4
test eax, eax
jne 0x10014abe
cmp byte [ebx], 0x2a
je 0x10014abe
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10014aa1
movzx ecx, byte [ebx]
push ecx
call fcn.100384a0
add esp, 4
test eax, eax
je 0x10014b05
push 0xa
push 0
push ebx
call fcn.10037945
add esp, 0xc
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
cmp dword [edi + 0x4820], eax
jne 0x10014d36
cmp dword [edi + 0x4824], edx
jne 0x10014d36
mov dword [esi + 0x6c], 1
jmp 0x10014d36
xor eax, eax
mov dword [edi + 0x4820], eax
mov dword [edi + 0x4824], eax
jmp 0x10014d36
cmp dword [edi + 0x588], 0
je 0x10014b83
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 0x10014b83
push 2
push 2
push edi
call fcn.10023af0
mov eax, dword [ebx + 0x340]
add esp, 0xc
test eax, eax
jne 0x10014b55
mov eax, dword [ebx + 0x98]
mov edx, dword [edi + 0x4808]
mov ecx, dword [edi + 0x588]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.10003ae0
push 2
push edi
call fcn.10023b30
add esp, 0x20
jmp 0x10014d36
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 0x10014bf2
cmp dword [edi + 0x25c], 0
jne 0x10014bac
cmp dword [edi + 0x37c], 0
je 0x10014bf2
push 0
call fcn.1003719a
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x18], edx
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x37c], 0
je 0x10014d36
mov edx, eax
mov dword [edi + 0x4894], edx
jmp 0x10014d36
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c13
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10014c34
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014c86
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10014c86
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov dword [ebp - 8], edx
call fcn.10011590
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10015135
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.10011bd0
push ebx
mov dword [ebp - 8], eax
call dword [0x100550dc]
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x10014d36
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10014d12
cmp eax, 0x190
jge 0x10014d12
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 0x10014d12
cmp dword [edi + 0x108], 0
jne 0x10014d12
mov ecx, dword [esi + 0x68]
push ecx
call fcn.10011590
add esp, 4
test eax, eax
je 0x10015135
cmp byte [eax], 0
jne 0x10014ce0
push eax
call dword [0x100550dc]
add esp, 4
jmp 0x10014d36
cmp dword [edi + 0x3a0], 0
mov dword [edi + 0x108], eax
je 0x10014d36
push eax
call dword [0x100550e4]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x10015135
push ebx
call fcn.100117d0
add esp, 4
jmp 0x10014d2e
mov edx, dword [ebx + 0x310]
test dword [edx + 0x3c], 0x40000
je 0x10014d36
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.100222c0
add esp, 8
test eax, eax
jne 0x10015226
cmp dword [edi + 0x3ac], 0
mov ebx, 2
je 0x10014d49
mov ebx, 3
cmp dword [edi + 0x3c4], 0
je 0x10014d69
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push edi
call fcn.10023230
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call fcn.10023740
add esp, 0x10
test eax, eax
jne 0x10015226
mov ecx, dword [esi + 0x58]
add dword [edi + 0x489c], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [edi + 0x6d4]
add dword [edi + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x10015027
cmp cl, 0xd
jne 0x10014daf
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x10014dbb
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10014e15
cmp eax, 0xc7
jg 0x10014e15
sub eax, 0x64
je 0x10014df4
mov ecx, 1
sub eax, ecx
je 0x10014de3
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
jmp 0x10014e6b
cmp dword [esi + 0x88], ecx
je 0x10015043
mov dword [esi + 0x48], edx
jmp 0x10014e6b
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
jle 0x10014e6b
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x10014e6b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp ecx, 0xffffffff
jne 0x10014e6b
cmp dword [esi + 0xc8], edx
jne 0x10014e6b
cmp dword [ebx + 0x26c], edx
jne 0x10014e73
cmp dword [ebx + 0x178], 0xb
jne 0x10014e6b
mov eax, dword [ebx + 0x310]
test dword [eax + 0x3c], 0x40000
jne 0x10014e6b
cmp dword [edi + 0x268], 5
je 0x10014e6b
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.10023310
push 2
push ebx
call fcn.10002e30
add esp, 0x10
xor edx, edx
cmp dword [ebx + 0x26c], edx
je 0x10014eb1
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
jne 0x10014e89
cmp dword [ebx + 0x388], 2
je 0x10014e99
cmp eax, 0x197
jne 0x10014eb1
cmp dword [ebx + 0x3a0], 2
jne 0x10014eb1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.10023310
add esp, 8
mov dword [edi + 0x47b4], 1
mov edx, ebx
call fcn.10011d70
test eax, eax
jne 0x10015141
lea ecx, [eax + 2]
cmp dword [edi + 0x3ac], eax
je 0x10014ece
lea ecx, [eax + 3]
mov eax, dword [edi + 0x6d4]
mov ebx, dword [esi + 0x68]
sub ebx, eax
push ebx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10023740
add esp, 0x10
test eax, eax
jne 0x10015226
add dword [edi + 0x80], ebx
add dword [edi + 0x489c], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x80]
cmp eax, 0x64
jl 0x10014f15
cmp eax, 0xc7
jg 0x10014f15
mov eax, ecx
jmp 0x10014f17
xor eax, eax
mov edx, dword [ebp + 0xc]
push edx
mov dword [edi + 0x84], eax
call fcn.10012620
add esp, 4
test eax, eax
jne 0x10015226
cmp dword [esi + 0x78], 0x12c
jl 0x10015014
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2b0], 0
jne 0x10014ff3
mov ecx, eax
cmp dword [ecx + 0x26c], 0
jne 0x10014ff3
mov edx, eax
cmp dword [edx + 0x2b4], 0
jne 0x10014ff3
mov eax, dword [edi + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x10014ff3
cmp dword [esi + 0xac], 0
jne 0x10014ff3
cmp dword [edi + 0x39c], 0
je 0x10014fb6
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.10023310
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x10014ff3
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x10014ff3
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.10023310
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.10002e30
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [edi + 0x47fc], 0
je 0x10014ff3
mov dword [esi + 0x84], 3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2b4], 0
je 0x10015014
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.10023310
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x1001515f
mov edx, dword [edi + 0x6d4]
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x100142e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.10023310
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push edx
call fcn.100124c0
add esp, 4
test eax, eax
jne 0x10015226
cmp dword [esi + 0x50], eax
jne 0x10015224
cmp dword [esi + 0x58], 5
jbe 0x10015224
mov eax, dword [edi + 0x6d4]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10012490
add esp, 4
test eax, eax
jne 0x10015224
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x100150e1
pop edi
mov dword [esi + 0x4c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10012580
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10023390
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10023390
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x3b8], 0
mov eax, dword [ebp + 0x14]
je 0x10015176
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x100151be
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x310]
test dword [edx + 0x3c], 0x40000
je 0x100151a7
cmp dword [edi + 0x510], 2
jne 0x100151a7
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x100151aa
jl 0x1001519f
cmp dword [esi], edx
ja 0x100151aa
mov dword [eax], 1
jmp 0x100151be
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x100151be
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x100151cb
cmp ecx, edx
je 0x100151e1
push ecx
push eax
push edi
call fcn.10020f50
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x100151f8
cmp dword [esi + 0x14], 0
jne 0x100151f8
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x10015200
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x10015207
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x3c4], 0
je 0x10015224
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
push ecx
push ebx
push edx
push 1
push edi
call fcn.10023230
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret