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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
push esi
push edi
mov dword [ebp - 8], ebx
lea edi, [ebx + 0x50]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.10047040
mov esi, eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, edi
mov dword [edi + 0x64], esi
mov ecx, ebx
test esi, esi
je 0x1001aa4a
sub esi, dword [edi + 0x5c]
inc esi
sub dword [eax], esi
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
call fcn.10019a40
add esp, 4
test eax, eax
jne 0x1001aa87
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x54]
mov ebx, dword [edi + 0x50]
mov dword [edi + 0x64], eax
mov eax, dword [edx + 0x53c]
mov dword [edi + 0x68], eax
test ebx, ebx
jne 0x10019c71
cmp dword [edi + 0x58], 5
jbe 0x10019c71
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0x53c]
mov eax, dword [eax + 0x1ec]
test dword [eax + 0x3c], 0x40000
je 0x10019c5c
push 5
mov ecx, str.RTSP_
call fcn.1002cd00
add esp, 4
test eax, eax
setne al
jmp 0x10019c66
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.10019940
test al, al
je 0x1001a8fa
mov edx, dword [ebp - 8]
mov ecx, dword [edi + 0x68]
mov al, byte [ecx]
cmp al, 0xa
je 0x1001a6ac
cmp al, 0xd
je 0x1001a6b0
lea eax, [ebx + 1]
mov dword [edi + 0x50], eax
test ebx, ebx
jne 0x10019e79
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1ec]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x10019d11
lea ebx, [edi + 0x78]
push ebx
lea esi, [edx + 0x13c]
push esi
lea eax, [ebp - 0xc]
push eax
push str._HTTP__d._d__d
push ecx
call fcn.10046116
add esp, 0x14
cmp eax, 3
jne 0x10019cd5
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
jmp 0x10019d5b
push ebx
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.10046116
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x10019d5b
mov edx, dword [edi + 0x68]
mov ecx, dword [ebp - 8]
call fcn.10019940
test al, al
je 0x1001aa81
mov dword [ebx], 0xc8
mov dword [esi], 0xa
jmp 0x10019d5b
test eax, 0x40000
je 0x1001aa81
lea ebx, [edi + 0x78]
push ebx
lea esi, [edx + 0x140]
push esi
lea eax, [ebp - 0x10]
push eax
push str._RTSP__d._d__3d
push ecx
call fcn.10046116
add esp, 0x14
cmp eax, 3
jne 0x1001aa81
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
mov esi, dword [ebp - 4]
add esi, 0x13c
mov dword [esi], 0xb
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
mov dword [edx + 0x866c], eax
mov eax, dword [esi]
mov dword [edx + 0x8674], eax
mov eax, dword [edx + 0x8618]
test eax, eax
je 0x10019d7c
cmp eax, dword [esi]
jle 0x10019d84
mov eax, dword [esi]
mov dword [edx + 0x8618], eax
cmp byte [edx + 0x2c0], 0
je 0x10019de7
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x10019de7
mov eax, dword [ebp - 4]
cmp ecx, 0x191
jne 0x10019dab
cmp byte [eax + 0x1c4], 0
jne 0x10019de7
cmp ecx, 0x197
jne 0x10019dbc
cmp byte [eax + 0x1c5], 0
jne 0x10019de7
mov eax, dword [edx + 0x8630]
or eax, dword [edx + 0x8634]
je 0x1001a928
cmp dword [edx + 0x248], 1
jne 0x1001a928
cmp ecx, 0x1a0
jne 0x1001a928
mov eax, dword [esi]
cmp eax, 0xa
jne 0x10019e08
push str.HTTP_1.0__assume_close_after_body_n
push edx
call fcn.10010cc0
mov eax, dword [ebp - 4]
add esp, 8
mov byte [eax + 0x1c0], 1
jmp 0x10019e34
cmp eax, 0xb
jl 0x10019e34
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c0], 0
jne 0x10019e34
mov esi, dword [eax + 0x458]
test esi, esi
je 0x10019e34
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.10013280
test al, al
jne 0x10019e34
mov byte [esi], 1
mov eax, dword [ebx]
sub eax, 0xcc
je 0x10019e42
sub eax, 0x64
jne 0x10019e79
mov ebx, dword [ebp - 8]
cmp dword [ebx + 0x238], 0
je 0x10019e55
mov byte [ebx + 0x867c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0xae], 1
jmp 0x10019e7c
mov ebx, dword [ebp - 8]
cmp byte [edi + 0xae], 0
jne 0x10019fa1
cmp byte [ebx + 0x2e7], 0
jne 0x10019fa1
mov esi, dword [edi + 0x68]
mov ecx, str.Content_Length:
push 0xf
mov edx, esi
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x10019fa1
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.10044e0b
mov ebx, dword [ebx + 0x2a0]
mov ecx, eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov esi, dword [eax + 0x2a4]
mov eax, ebx
or eax, esi
je 0x10019eeb
cmp edx, esi
jg 0x1001a93b
jl 0x10019eeb
cmp ecx, ebx
ja 0x1001a93b
test edx, edx
jl 0x10019f80
jg 0x10019efd
test ecx, ecx
jb 0x10019f80
push edx
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
push ecx
mov ecx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 0x14], edx
call fcn.1001aff0
add esp, 8
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov esi, 2
mov ecx, 3
cmp byte [eax + 0x2c4], 0
cmovne esi, ecx
cmp byte [eax + 0x2d0], 0
je 0x10019f4c
push ebx
push dword [edi + 0x58]
lea edx, [ecx - 2]
mov ecx, eax
push dword [edi + 0x68]
call fcn.100115c0
add esp, 0xc
push dword [edi + 0x58]
mov edx, esi
mov ecx, ebx
push dword [edi + 0x68]
call fcn.10011290
add esp, 8
test eax, eax
jne 0x1001aa87
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x58]
add dword [edx + 0x8680], eax
mov eax, dword [edi + 0x58]
add dword [edx + 0x80], eax
jmp 0x1001a82e
mov ebx, dword [ebp - 4]
push edx
push ecx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push dword [ebp - 8]
mov byte [ebx + 0x1c0], 1
call fcn.10010cc0
add esp, 0x10
jmp 0x10019f18
mov esi, dword [edi + 0x68]
mov ecx, str.Content_Type:
push 0xd
mov edx, esi
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a007
mov ecx, esi
call fcn.10016bf0
mov esi, eax
test esi, esi
je 0x1001a957
cmp byte [esi], 0
jne 0x10019fde
push esi
call dword [0x1005f678]
add esp, 4
jmp 0x10019f15
mov eax, dword [ebx + 0x8694]
test eax, eax
je 0x10019ffc
push eax
call dword [0x1005f678]
add esp, 4
mov dword [ebx + 0x8694], 0
mov dword [ebx + 0x8694], esi
jmp 0x10019f15
push 7
mov edx, esi
mov ecx, str.Server:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a06c
mov ecx, esi
call fcn.10016bf0
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
test eax, eax
je 0x1001a052
cmp byte [eax], 0
je 0x1001a052
mov edx, esi
mov ecx, ebx
call fcn.10013480
mov ebx, dword [ebp - 4]
test al, al
je 0x1001a055
mov eax, dword [ebx + 0x458]
mov byte [eax], 0
jmp 0x1001a055
mov ebx, dword [ebp - 4]
test esi, esi
je 0x10019f18
push esi
call dword [0x1005f678]
add esp, 4
jmp 0x10019f18
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 0xa
jne 0x1001a0b3
cmp byte [eax + 0x1c3], 0
je 0x1001a0b3
push str.keep_alive
mov edx, str.Proxy_Connection:
mov ecx, esi
call fcn.10017a80
add esp, 4
test al, al
je 0x1001a0b3
mov eax, dword [ebp - 4]
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [eax + 0x1c0], 0
call fcn.10010cc0
jmp 0x10019f12
mov esi, dword [ebp - 4]
cmp dword [esi + 0x13c], 0xb
jne 0x1001a0fd
cmp byte [esi + 0x1c3], 0
je 0x1001a0fd
mov ecx, dword [edi + 0x68]
mov edx, str.Proxy_Connection:
push str.close
call fcn.10017a80
add esp, 4
test al, al
je 0x1001a0fd
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x1c0], 1
call fcn.10010cc0
add esp, 8
mov ebx, esi
jmp 0x10019f18
cmp dword [esi + 0x13c], 0xa
jne 0x1001a13b
mov ecx, dword [edi + 0x68]
mov edx, str.Connection:
push str.keep_alive
call fcn.10017a80
add esp, 4
test al, al
je 0x1001a13b
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1c0], 0
call fcn.10010cc0
add esp, 8
mov ebx, esi
jmp 0x10019f18
mov ecx, dword [edi + 0x68]
mov edx, str.Connection:
push str.close
call fcn.10017a80
add esp, 4
test al, al
je 0x1001a162
mov ebx, esi
mov byte [ebx + 0x1c0], 1
jmp 0x10019f18
mov esi, dword [edi + 0x68]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, esi
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a2d6
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x1001a1a4
movzx eax, al
push eax
call fcn.10040931
add esp, 4
test eax, eax
jne 0x1001a19c
cmp byte [esi], 0x2c
jne 0x1001a1a4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001a187
push 7
mov edx, esi
mov ecx, str.chunked
call fcn.1002cd00
mov ebx, dword [ebp - 4]
add esp, 4
test eax, eax
je 0x1001a1db
mov byte [edi + 0xc0], 1
add esi, 7
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x20], 0
cmp dword [edi + 0x8c], 0
jne 0x10019f18
push 8
mov edx, esi
mov ecx, str.identity
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a20f
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x1001a181
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a236
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x1001a181
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a25d
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x1001a181
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a284
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x1001a181
push 8
mov edx, esi
mov ecx, str.compress
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a2ab
mov dword [edi + 0x8c], 3
add esi, 8
jmp 0x1001a181
push 0xa
mov edx, esi
mov ecx, str.x_compress
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x10019f18
mov dword [edi + 0x8c], 3
add esi, 0xa
jmp 0x1001a181
push 0x11
mov edx, esi
mov ecx, str.Content_Encoding:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a3e8
cmp dword [ebx + 0x318], 0
jne 0x1001a308
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 0x14
jne 0x1001a3e8
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x1001a32a
movzx eax, al
push eax
call fcn.10040931
add esp, 4
test eax, eax
je 0x1001a32a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001a312
push 8
mov edx, esi
mov ecx, str.identity
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a34e
mov dword [edi + 0x8c], 0
jmp 0x10019f15
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a372
mov dword [edi + 0x8c], 1
jmp 0x10019f15
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.1002cd00
add esp, 4
test eax, eax
jne 0x1001a3d9
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.1002cd00
add esp, 4
test eax, eax
jne 0x1001a3d9
push 8
mov edx, esi
mov ecx, str.compress
call fcn.1002cd00
add esp, 4
test eax, eax
jne 0x1001a3ca
push 0xa
mov edx, esi
mov ecx, str.x_compress
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x10019f15
mov dword [edi + 0x8c], 3
jmp 0x10019f15
mov dword [edi + 0x8c], 2
jmp 0x10019f15
push 0xe
mov edx, esi
mov ecx, str.Content_Range:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a490
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x1001a42d
jmp 0x1001a410
movzx eax, al
push eax
call fcn.10040881
add esp, 4
test eax, eax
jne 0x1001a42d
cmp byte [esi], 0x2a
je 0x1001a42d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001a410
movzx eax, byte [esi]
push eax
call fcn.10040881
add esp, 4
test eax, eax
je 0x1001a477
push 0xa
push 0
push esi
call fcn.10044e0b
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8630]
cmp eax, dword [edi + 0x70]
jne 0x10019f15
cmp dword [ebx + 0x8634], edx
mov ebx, dword [ebp - 4]
jne 0x10019f18
mov byte [edi + 0x6c], 1
jmp 0x10019f18
mov dword [ebx + 0x8630], 0
mov dword [ebx + 0x8634], 0
jmp 0x10019f15
cmp dword [ebx + 0x410], 0
je 0x1001a502
push 0xb
mov edx, esi
mov ecx, str.Set_Cookie:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a502
push ecx
mov edx, 2
mov ecx, ebx
call fcn.10016190
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ecx + 0x21c]
test eax, eax
jne 0x1001a4d1
mov eax, dword [ecx + 0x98]
push dword [ebx + 0x8624]
mov edx, dword [ebx + 0x410]
mov ecx, ebx
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
call fcn.10011ce0
add esp, 0x10
mov edx, 2
mov ecx, ebx
call fcn.100161d0
jmp 0x10019f15
push 0xe
mov edx, esi
mov ecx, str.Last_Modified:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a562
cmp dword [ebx + 0x238], 0
jne 0x1001a529
cmp byte [ebx + 0x2b9], 0
je 0x1001a562
push 0
call fcn.100467a0
mov ecx, dword [edi + 0x68]
add esp, 4
add ecx, 0xe
call fcn.10032df0
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x10019f15
mov dword [ebx + 0x8678], eax
jmp 0x10019f15
push 0x11
mov edx, esi
mov ecx, str.WWW_Authenticate:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a581
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x1001a5a0
push 0x13
mov edx, esi
mov ecx, str.Proxy_authenticate:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a5e4
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x1001a5e4
cmp eax, 0x197
mov ecx, esi
sete bl
call fcn.10016bf0
mov esi, eax
test esi, esi
je 0x1001a957
mov ecx, dword [ebp - 4]
mov dl, bl
push esi
call fcn.100173d0
add esp, 4
mov ebx, eax
push esi
call dword [0x1005f678]
add esp, 4
test ebx, ebx
je 0x10019f15
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x1001a680
cmp eax, 0x190
jge 0x1001a680
push 9
mov edx, esi
mov ecx, str.Location:
call fcn.1002cd00
add esp, 4
test eax, eax
je 0x1001a680
cmp dword [ebx + 0x100], 0
jne 0x1001a680
mov ecx, esi
call fcn.10016bf0
test eax, eax
je 0x1001a957
cmp byte [eax], 0
jne 0x1001a63e
push eax
call dword [0x1005f678]
add esp, 4
jmp 0x10019f15
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x10019f15
push eax
call dword [0x1005f670]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x1001a957
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.10016e40
test eax, eax
jne 0x1001aa87
jmp 0x10019f18
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1ec]
test dword [eax + 0x3c], 0x40000
je 0x10019f18
mov edx, esi
mov ecx, ebx
call fcn.100214d0
test eax, eax
jne 0x1001aa87
jmp 0x10019f18
cmp al, 0xd
jne 0x1001a6b6
lea eax, [ecx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x1001a6c2
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x1001a884
cmp eax, 0xc7
jg 0x1001a884
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
sub eax, 0x64
je 0x1001a85e
dec eax
jne 0x1001a6fd
cmp dword [edi + 0x88], 1
je 0x1001a963
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.10017500
test eax, eax
jne 0x1001aa2b
mov eax, dword [ebp - 8]
mov ecx, 3
mov esi, dword [edi + 0x68]
mov edx, 2
cmp byte [eax + 0x2c4], 0
mov eax, dword [eax + 0x53c]
cmovne edx, ecx
sub esi, eax
push esi
push eax
mov ecx, ebx
call fcn.10011290
add esp, 8
test eax, eax
jne 0x1001aa87
mov edx, dword [ebp - 8]
add dword [edx + 0x80], esi
add dword [edx + 0x8680], esi
mov eax, dword [edi + 0x78]
mov ecx, dword [edx + 0x80]
cmp eax, 0x64
jl 0x1001a769
cmp eax, 0xc7
jle 0x1001a76b
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x84], ecx
cmp byte [eax], 0
jne 0x1001a824
mov ecx, ebx
call fcn.10016f60
test eax, eax
jne 0x1001aa87
cmp dword [edi + 0x78], 0x12c
mov edx, dword [ebp - 8]
jl 0x1001a800
cmp byte [ebx + 0x1ce], al
jne 0x1001a800
cmp byte [ebx + 0x1c0], al
jne 0x1001a800
cmp byte [ebx + 0x1cf], al
jne 0x1001a809
mov eax, dword [edx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1001a800
cmp byte [edi + 0xac], 0
jne 0x1001a800
push str.HTTP_error_before_end_of_send__stop_sending_n
push edx
call fcn.10010cc0
mov edx, dword [ebp - 8]
add esp, 8
mov byte [ebx + 0x1c0], 1
and dword [edi + 0xa8], 0xfffffffd
mov byte [edi + 0xac], 1
cmp byte [edx + 0x861c], 0
je 0x1001a800
mov dword [edi + 0x84], 3
cmp byte [ebx + 0x1cf], 0
je 0x1001a821
push str.Keep_sending_data_to_get_tossed_away__n
push edx
call fcn.10010cc0
mov edx, dword [ebp - 8]
add esp, 8
or dword [edi + 0xa8], 2
mov eax, dword [ebp + 0xc]
cmp byte [edi + 0x48], 0
je 0x1001a987
mov eax, dword [edx + 0x53c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x1001aa85
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
je 0x1001aa85
mov ebx, dword [ebp - 8]
jmp 0x10019bc4
cmp dword [edi + 0x84], 0
mov ebx, dword [ebp - 4]
je 0x1001a700
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x1001a700
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x1001a6fd
cmp byte [edi + 0xc0], 0
mov ebx, dword [ebp - 4]
jne 0x1001a700
cmp byte [ebx + 0x1c0], 0
jne 0x1001a700
cmp dword [ebx + 0x13c], 0xb
jne 0x1001a700
mov eax, dword [ebx + 0x1ec]
test dword [eax + 0x3c], 0x40000
jne 0x1001a700
cmp dword [edx + 0x248], 5
je 0x1001a700
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edx
call fcn.10010cc0
add esp, 8
mov byte [ebx + 0x1c0], 1
jmp 0x1001a700
mov eax, dword [ebp + 8]
mov byte [edi + 0x48], 0
cmp dword [eax], 0
je 0x1001a916
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x4c], 2
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.10019b10
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push dword [ebp - 8]
call fcn.10010d80
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
push str.Received_101_n
push edx
call fcn.10010cc0
add esp, 8
mov dword [edi + 0x88], 2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0x2c7], 0
je 0x1001a995
mov byte [eax], 1
jmp 0x1001a9b9
cmp byte [edi + 0xc0], 0
je 0x1001a9b9
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x1001a9c7
cmp eax, ecx
je 0x1001a9e1
push eax
push ecx
mov ecx, edx
call fcn.1001aff0
mov eax, dword [edi]
add esp, 8
mov edx, dword [ebp - 8]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x1001a9f5
cmp dword [edi + 0x14], 0
jne 0x1001a9f5
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x1001a9fd
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1001aa04
and dword [edi + 0xa8], 0xfffffffe
cmp byte [edx + 0x2d0], 0
je 0x1001aa85
mov ecx, dword [ebp - 8]
mov edx, 1
push ebx
push esi
push dword [edi + 0x60]
call fcn.100115c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push dword [ebp - 8]
call fcn.10010d80
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [eax]
call fcn.10019a40
add esp, 4
test eax, eax
jne 0x1001aa87
cmp dword [edi + 0x50], eax
jne 0x1001aa85
cmp dword [edi + 0x58], 5
jbe 0x1001aa85
push dword [ebx + 0x53c]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10019a00
add esp, 4
test al, al
jne 0x1001aa85
mov dword [edi + 0x4c], 2
mov byte [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret