Function at 0x1003ce70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1010d770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 0x50]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
lea ebx, [ebx]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.1005ef40
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov edx, edi
mov dword [edi + 0x64], esi
mov ecx, ebx
test esi, esi
je 0x1003dd7e
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.1003cd00
add esp, 4
test eax, eax
jne 0x1003ddbb
mov eax, dword [edi + 0x54]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x53c]
mov ebx, dword [edi + 0x50]
mov dword [edi + 0x68], eax
test ebx, ebx
jne 0x1003cf22
cmp dword [edi + 0x58], 5
jbe 0x1003cf22
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [ebp - 0x10]
push dword [eax + 0x53c]
call fcn.1003ccd0
add esp, 4
test al, al
je 0x1003dbc9
mov ecx, dword [edi + 0x68]
mov al, byte [ecx]
cmp al, 0xa
je 0x1003d930
cmp al, 0xd
je 0x1003d934
lea eax, [ebx + 1]
mov dword [edi + 0x50], eax
test ebx, ebx
jne 0x1003d181
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1ec]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x1003cfed
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.100602df
add esp, 0x14
cmp eax, 3
jne 0x1003cfb1
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
cmp dword [edi + 0x88], 2
jne 0x1003d037
cmp dword [esi], 0x14
je 0x1003d037
mov eax, dword [ebp - 0x14]
push str.Lying_server__not_serving_HTTP_2_n
push eax
call fcn.10033a30
add esp, 8
jmp 0x1003d037
push ebx
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.100602df
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x1003d037
mov edx, dword [edi + 0x68]
mov ecx, dword [ebp - 0x14]
call fcn.1003cc40
test al, al
je 0x1003ddb5
mov dword [ebx], 0xc8
mov dword [esi], 0xa
jmp 0x1003d037
test eax, 0x40000
je 0x1003ddb5
lea ebx, [edi + 0x78]
push ebx
lea esi, [edx + 0x140]
push esi
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push ecx
call fcn.100602df
add esp, 0x14
cmp eax, 3
jne 0x1003ddb5
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
mov esi, dword [ebp - 0x10]
add esi, 0x13c
mov dword [esi], 0xb
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [edx + 0x8674], eax
mov eax, dword [esi]
mov dword [edx + 0x867c], eax
mov eax, dword [edx + 0x8618]
test eax, eax
je 0x1003d058
cmp eax, dword [esi]
jle 0x1003d060
mov eax, dword [esi]
mov dword [edx + 0x8618], eax
cmp byte [edx + 0x2c0], 0
je 0x1003d0c3
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x1003d0c3
mov eax, dword [ebp - 0x10]
cmp ecx, 0x191
jne 0x1003d087
cmp byte [eax + 0x1c4], 0
jne 0x1003d0c3
cmp ecx, 0x197
jne 0x1003d098
cmp byte [eax + 0x1c5], 0
jne 0x1003d0c3
mov eax, dword [edx + 0x8630]
or eax, dword [edx + 0x8634]
je 0x1003dc0b
cmp dword [edx + 0x248], 1
jne 0x1003dc0b
cmp ecx, 0x1a0
jne 0x1003dc0b
mov eax, dword [esi]
cmp eax, 0xa
jne 0x1003d0e4
push str.HTTP_1.0__assume_close_after_body_n
push edx
call fcn.10033a30
mov esi, dword [ebp - 0x10]
add esp, 8
mov byte [esi + 0x1c0], 1
jmp 0x1003d13c
cmp eax, 0x14
je 0x1003d12d
cmp dword [edi + 0x88], 1
jne 0x1003d0f7
cmp dword [ebx], 0x65
je 0x1003d12d
cmp eax, 0xb
jl 0x1003d13c
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0x1c0], 0
jne 0x1003d13c
cmp dword [esi + 0x450], 0
je 0x1003d13c
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.10036fd0
test al, al
jne 0x1003d13c
mov eax, dword [esi + 0x450]
mov dword [eax], 1
jmp 0x1003d13c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x450]
mov dword [eax], 2
mov eax, dword [ebx]
sub eax, 0xcc
je 0x1003d14a
sub eax, 0x64
jne 0x1003d181
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x238], 0
je 0x1003d15d
mov byte [ebx + 0x8684], 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 0x1003d184
mov ebx, dword [ebp - 0x14]
cmp byte [edi + 0xae], 0
jne 0x1003d23e
cmp byte [ebx + 0x2e7], 0
jne 0x1003d23e
mov esi, dword [edi + 0x68]
mov ecx, str.Content_Length:
push 0xf
mov edx, esi
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d23e
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.100620ab
mov ebx, dword [ebx + 0x2a0]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov esi, dword [eax + 0x2a4]
mov eax, ebx
or eax, esi
je 0x1003d1f3
cmp edx, esi
jg 0x1003dc28
jl 0x1003d1f3
cmp ecx, ebx
ja 0x1003dc28
test edx, edx
jl 0x1003d21d
jg 0x1003d1fd
test ecx, ecx
jb 0x1003d21d
push edx
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
push ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], edx
mov dword [edi + 0x14], edx
call fcn.1003e3d0
mov ebx, dword [ebp - 0x10]
add esp, 8
jmp 0x1003d8c8
mov ebx, dword [ebp - 0x10]
push edx
push ecx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push dword [ebp - 0x14]
mov byte [ebx + 0x1c0], 1
call fcn.10033a30
add esp, 0x10
jmp 0x1003d8c8
mov esi, dword [edi + 0x68]
mov ecx, str.Content_Type:
push 0xd
mov edx, esi
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d29b
mov ecx, esi
call fcn.1003a0e0
mov esi, eax
test esi, esi
je 0x1003dc4e
cmp byte [esi], 0
jne 0x1003d27e
push esi
call dword [0x1010f540]
mov ebx, dword [ebp - 0x10]
add esp, 4
jmp 0x1003d8c8
push dword [ebx + 0x869c]
call dword [0x1010f540]
mov dword [ebx + 0x869c], esi
add esp, 4
mov ebx, dword [ebp - 0x10]
jmp 0x1003d8c8
push 7
mov edx, esi
mov ecx, str.Server:
call fcn.1004d510
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x1003d317
cmp dword [eax + 0x13c], 0x14
jge 0x1003d8c6
mov ecx, esi
call fcn.1003a0e0
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x450]
test ecx, ecx
je 0x1003d306
cmp dword [ecx], 1
jne 0x1003d306
mov edx, esi
mov ecx, ebx
call fcn.10037170
mov ebx, dword [ebp - 0x10]
test al, al
je 0x1003d308
mov eax, dword [ebx + 0x450]
push esi
mov dword [eax], 0xffffffff
call dword [0x1010f540]
add esp, 4
jmp 0x1003d8c8
mov ebx, eax
push esi
call dword [0x1010f540]
add esp, 4
jmp 0x1003d8c8
cmp dword [eax + 0x13c], 0xa
jne 0x1003d361
cmp byte [eax + 0x1c3], 0
je 0x1003d361
push str.keep_alive
mov edx, str.Proxy_Connection:
mov ecx, esi
call fcn.1003ae90
add esp, 4
test al, al
je 0x1003d361
mov eax, dword [ebp - 0x10]
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [eax + 0x1c0], 0
call fcn.10033a30
mov ebx, dword [ebp - 0x10]
add esp, 8
jmp 0x1003d8c8
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x13c], 0xb
jne 0x1003d3ab
cmp byte [esi + 0x1c3], 0
je 0x1003d3ab
mov ecx, dword [edi + 0x68]
mov edx, str.Proxy_Connection:
push str.close
call fcn.1003ae90
add esp, 4
test al, al
je 0x1003d3ab
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x1c0], 1
call fcn.10033a30
add esp, 8
mov ebx, esi
jmp 0x1003d8c8
cmp dword [esi + 0x13c], 0xa
jne 0x1003d3e9
mov ecx, dword [edi + 0x68]
mov edx, str.Connection:
push str.keep_alive
call fcn.1003ae90
add esp, 4
test al, al
je 0x1003d3e9
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1c0], 0
call fcn.10033a30
add esp, 8
mov ebx, esi
jmp 0x1003d8c8
mov ecx, dword [edi + 0x68]
mov edx, str.Connection:
push str.close
call fcn.1003ae90
add esp, 4
test al, al
je 0x1003d410
mov byte [esi + 0x1c0], 1
mov ebx, esi
jmp 0x1003d8c8
mov esi, dword [edi + 0x68]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, esi
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d526
add esi, 0x12
nop
mov al, byte [esi]
test al, al
je 0x1003d453
movzx eax, al
push eax
call fcn.100613ee
add esp, 4
test eax, eax
jne 0x1003d44b
cmp byte [esi], 0x2c
jne 0x1003d453
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1003d436
push 7
mov edx, esi
mov ecx, str.chunked
call fcn.1004d510
mov ebx, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x1003d47c
mov ecx, ebx
mov byte [edi + 0xc0], 1
call fcn.10053ae0
add esi, 7
cmp dword [edi + 0x8c], 0
jne 0x1003d8c8
push 8
mov edx, esi
mov ecx, str.identity
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d4ad
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x1003d430
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d4d4
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x1003d430
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d4fb
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x1003d430
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d8c8
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x1003d430
push 0x11
mov edx, esi
mov ecx, str.Content_Encoding:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d608
cmp dword [ebx + 0x318], 0
jne 0x1003d558
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x13c], 0x14
jne 0x1003d608
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x1003d57a
movzx eax, al
push eax
call fcn.100613ee
add esp, 4
test eax, eax
je 0x1003d57a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1003d562
push 8
mov edx, esi
mov ecx, str.identity
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d5a1
mov ebx, dword [ebp - 0x10]
mov dword [edi + 0x8c], 0
jmp 0x1003d8c8
push 7
mov edx, esi
mov ecx, str.deflate
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d5c8
mov ebx, dword [ebp - 0x10]
mov dword [edi + 0x8c], 1
jmp 0x1003d8c8
push 4
mov edx, esi
mov ecx, str.gzip
call fcn.1004d510
add esp, 4
test eax, eax
jne 0x1003d5f6
push 6
mov edx, esi
mov ecx, str.x_gzip
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d804
mov ebx, dword [ebp - 0x10]
mov dword [edi + 0x8c], 2
jmp 0x1003d8c8
push 0xe
mov edx, esi
mov ecx, str.Content_Range:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d6b3
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x1003d64d
jmp 0x1003d630
movzx eax, al
push eax
call fcn.1006133e
add esp, 4
test eax, eax
jne 0x1003d64d
cmp byte [esi], 0x2a
je 0x1003d64d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1003d630
movzx eax, byte [esi]
push eax
call fcn.1006133e
add esp, 4
test eax, eax
je 0x1003d697
push 0xa
push 0
push esi
call fcn.100620ab
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8630]
cmp eax, dword [edi + 0x70]
jne 0x1003d804
cmp dword [ebx + 0x8634], edx
mov ebx, dword [ebp - 0x10]
jne 0x1003d8c8
mov byte [edi + 0x6c], 1
jmp 0x1003d8c8
mov dword [ebx + 0x8630], 0
mov dword [ebx + 0x8634], 0
mov ebx, dword [ebp - 0x10]
jmp 0x1003d8c8
cmp dword [ebx + 0x410], 0
je 0x1003d728
push 0xb
mov edx, esi
mov ecx, str.Set_Cookie:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d728
push ecx
mov edx, 2
mov ecx, ebx
call fcn.10042e30
mov ecx, dword [ebp - 0x10]
add esp, 4
mov eax, dword [ecx + 0x21c]
test eax, eax
jne 0x1003d6f4
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.10034840
add esp, 0x10
mov edx, 2
mov ecx, ebx
call fcn.10042e70
mov ebx, dword [ebp - 0x10]
jmp 0x1003d8c8
push 0xe
mov edx, esi
mov ecx, str.Last_Modified:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d78b
cmp dword [ebx + 0x238], 0
jne 0x1003d74f
cmp byte [ebx + 0x2b9], 0
je 0x1003d78b
push 0
call fcn.1005f1f4
mov ecx, dword [edi + 0x68]
add esp, 4
add ecx, 0xe
call fcn.10053940
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x1003d804
mov dword [ebx + 0x8680], eax
mov ebx, dword [ebp - 0x10]
jmp 0x1003d8c8
push 0x11
mov edx, esi
mov ecx, str.WWW_Authenticate:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d7aa
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x1003d7c9
push 0x13
mov edx, esi
mov ecx, str.Proxy_authenticate:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d80c
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x1003d80c
cmp eax, 0x197
mov ecx, esi
sete bl
call fcn.1003a0e0
mov esi, eax
test esi, esi
je 0x1003dc4e
mov ecx, dword [ebp - 0x10]
mov dl, bl
push esi
call fcn.1003a8c0
add esp, 4
mov ebx, eax
push esi
call dword [0x1010f540]
add esp, 4
test ebx, ebx
jne 0x1003dc64
mov ebx, dword [ebp - 0x10]
jmp 0x1003d8c8
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x1003d8a1
cmp eax, 0x190
jge 0x1003d8a1
push 9
mov edx, esi
mov ecx, str.Location:
call fcn.1004d510
add esp, 4
test eax, eax
je 0x1003d8a1
cmp dword [ebx + 0x100], 0
jne 0x1003d8a1
mov ecx, esi
call fcn.1003a0e0
test eax, eax
je 0x1003dc4e
cmp byte [eax], 0
jne 0x1003d866
push eax
call dword [0x1010f540]
mov ebx, dword [ebp - 0x10]
add esp, 4
jmp 0x1003d8c8
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x1003d804
push eax
call dword [0x1010f534]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x1003dc4e
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.1003a320
test eax, eax
jne 0x1003ddbb
jmp 0x1003d8c8
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x1ec]
test dword [eax + 0x3c], 0x40000
je 0x1003d8c8
mov edx, esi
mov ecx, ebx
call fcn.10043ab0
test eax, eax
jne 0x1003ddbb
jmp 0x1003d8c8
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov esi, 2
mov ecx, 3
cmp byte [eax + 0x2c4], 0
cmovne esi, ecx
cmp byte [eax + 0x2d0], 0
je 0x1003d8fc
push ebx
push dword [edi + 0x58]
lea edx, [ecx - 2]
mov ecx, eax
push dword [edi + 0x68]
call fcn.10034240
add esp, 0xc
push dword [edi + 0x58]
mov edx, esi
mov ecx, ebx
push dword [edi + 0x68]
call fcn.10034020
add esp, 8
test eax, eax
jne 0x1003ddbb
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x58]
add dword [esi + 0x8688], eax
mov eax, dword [edi + 0x58]
add dword [esi + 0x80], eax
jmp 0x1003daf1
cmp al, 0xd
jne 0x1003d93a
lea eax, [ecx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x1003d946
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x1003db4d
cmp eax, 0xc7
jg 0x1003db4d
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
sub eax, 0x64
je 0x1003db24
dec eax
jne 0x1003d981
cmp dword [edi + 0x88], 1
je 0x1003dc77
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x1c0], 0
je 0x1003d9cb
mov eax, dword [esi + 0xc8]
cmp eax, 0x191
jne 0x1003d9a6
cmp dword [ebx + 0x248], 2
je 0x1003d9b6
cmp eax, 0x197
jne 0x1003d9cb
cmp dword [ebx + 0x260], 2
jne 0x1003d9cb
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.10033a30
add esp, 8
mov byte [esi + 0x85e4], 1
mov ecx, ebx
call fcn.1003aa40
test eax, eax
jne 0x1003dd57
cmp byte [esi + 0x2c4], al
mov edx, 2
mov ebx, dword [edi + 0x68]
mov eax, 3
mov ecx, dword [ebp - 0x10]
cmovne edx, eax
mov eax, dword [esi + 0x53c]
sub ebx, eax
push ebx
push eax
call fcn.10034020
add esp, 8
test eax, eax
jne 0x1003ddbb
add dword [esi + 0x80], ebx
add dword [esi + 0x8688], ebx
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x80]
cmp eax, 0x64
jl 0x1003da2e
cmp eax, 0xc7
jle 0x1003da30
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x84], ecx
cmp byte [eax], 0
jne 0x1003dae7
mov ecx, dword [ebp - 0x10]
call fcn.1003a4e0
test eax, eax
jne 0x1003ddbb
cmp dword [edi + 0x78], 0x12c
mov ecx, dword [ebp - 0x10]
jl 0x1003dac6
cmp byte [ecx + 0x1ce], al
jne 0x1003dac6
cmp byte [ecx + 0x1c0], al
jne 0x1003dac6
cmp byte [ecx + 0x1cf], al
jne 0x1003dacf
mov eax, dword [esi + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1003dac6
cmp byte [edi + 0xac], 0
jne 0x1003dac6
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.10033a30
mov ecx, dword [ebp - 0x10]
add esp, 8
mov byte [ecx + 0x1c0], 1
and dword [edi + 0xa8], 0xfffffffd
mov byte [edi + 0xac], 1
cmp byte [esi + 0x861c], 0
je 0x1003dac6
mov dword [edi + 0x84], 3
cmp byte [ecx + 0x1cf], 0
je 0x1003dae4
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.10033a30
add esp, 8
or dword [edi + 0xa8], 2
mov eax, dword [ebp - 0x18]
cmp byte [edi + 0x48], 0
je 0x1003dca7
mov eax, dword [esi + 0x53c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x1003ddb9
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
je 0x1003ddb9
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
jmp 0x1003cea0
cmp dword [edi + 0x84], 0
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
je 0x1003d987
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x1003d987
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x1003d981
cmp byte [edi + 0xc0], 0
jne 0x1003d981
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0x1c0], 0
jne 0x1003d981
cmp dword [esi + 0x13c], 0xb
jne 0x1003d981
mov eax, dword [esi + 0x1ec]
mov esi, dword [ebp - 0x14]
test dword [eax + 0x3c], 0x40000
jne 0x1003d984
cmp dword [esi + 0x248], 5
je 0x1003d984
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.10033a30
mov ebx, dword [ebp - 0x10]
add esp, 8
mov byte [ebx + 0x1c0], 1
jmp 0x1003d987
mov eax, dword [ebp - 0x1c]
mov byte [edi + 0x48], 0
cmp dword [eax], 0
je 0x1003dbef
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.1003cdd0
mov eax, 0x16
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push dword [ebp - 0x14]
call fcn.10033ab0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push dword [ebp - 0x14]
call fcn.10033a30
add esp, 8
mov dword [edi + 0x88], 2
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x2c7], 0
je 0x1003dcb5
mov byte [eax], 1
jmp 0x1003dcd9
cmp byte [edi + 0xc0], 0
je 0x1003dcd9
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 0x1003dce7
cmp eax, ecx
je 0x1003dcfe
push eax
push ecx
mov ecx, esi
call fcn.1003e3d0
mov eax, dword [edi]
add esp, 8
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x1003dd12
cmp dword [edi + 0x14], 0
jne 0x1003dd12
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
jmp 0x1003dd1a
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
je 0x1003dd21
and dword [edi + 0xa8], 0xfffffffe
cmp byte [esi + 0x2d0], 0
je 0x1003ddb9
push dword [ebp - 0x10]
mov edx, 1
mov ecx, esi
push ebx
push dword [edi + 0x60]
call fcn.10034240
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.10033ab0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
push dword [eax]
call fcn.1003cd00
add esp, 4
test eax, eax
jne 0x1003ddbb
cmp dword [edi + 0x50], eax
jne 0x1003ddb9
cmp dword [edi + 0x58], 5
jbe 0x1003ddb9
push dword [ebx + 0x53c]
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.1003ccd0
add esp, 4
test al, al
jne 0x1003ddb9
mov dword [edi + 0x4c], 2
mov byte [edi + 0x48], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret