Function at 0x1003e1d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
nop
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.1011a8d0
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x1003f068
sub eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0x10]
inc eax
sub dword [ecx], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
call fcn.1003c380
add esp, 4
test eax, eax
jne 0x1003f221
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x8f4]
mov dword [esi + 0x78], ecx
jne 0x1003e27d
cmp dword [esi + 0x68], 5
jbe 0x1003e27d
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x8f4]
push edi
mov ecx, ebx
call fcn.1003c350
add esp, 4
test eax, eax
jne 0x1003e280
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1003f0bc
pop edi
mov dword [esi + 0x5c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x1003ed63
cmp cl, 0xd
je 0x1003ed68
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
test ecx, ecx
jne 0x1003e55d
mov ecx, dword [ebx + 0x340]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x1003e3ab
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x88]
push ebx
lea edx, [ebp - 1]
push edx
add edi, 0x180
push edi
lea ecx, [ebp - 8]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.10119758
add esp, 0x18
cmp eax, 1
jne 0x1003e317
cmp dword [ebp - 8], 2
jne 0x1003f0d1
mov edx, dword [esi + 0x78]
push ebx
push str._HTTP_2__d
push edx
call fcn.10119758
add esp, 0xc
cmp eax, 1
jne 0x1003f0d1
mov dword [edi], 0
mov byte [ebp - 1], 0x20
jmp 0x1003e326
cmp eax, 4
jne 0x1003e35e
cmp byte [ebp - 1], 0x20
jne 0x1003f0d1
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0xa4], 2
mov eax, dword [edi]
jne 0x1003e40d
cmp eax, 0x14
je 0x1003e40d
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.1001fc70
add esp, 8
jmp 0x1003e40d
test eax, eax
jne 0x1003f0d1
mov ecx, dword [esi + 0x78]
push ebx
push str._HTTP__3d
push ecx
call fcn.10119758
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x1003e40a
mov ebx, dword [esi + 0x78]
mov eax, dword [ebp + 8]
call fcn.1003c2d0
test eax, eax
je 0x1003f103
mov dword [esi + 0x88], 0xc8
mov dword [edi], 0xa
jmp 0x1003e40a
test ecx, 0x40000
je 0x1003f103
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x88]
push ecx
lea edx, [ebp - 2]
push edx
add edi, 0x184
push edi
lea ecx, [ebp - 0x10]
push ecx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.10119758
add esp, 0x18
cmp eax, 4
jne 0x1003f103
cmp byte [ebp - 2], 0x20
jne 0x1003f103
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax*4]
add edx, edx
add dword [edi], edx
mov edi, dword [ebp + 0xc]
add edi, 0x180
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x4c50], eax
mov eax, dword [ebx + 0x4bc0]
mov ecx, dword [edi]
mov dword [ebx + 0x4c58], ecx
test eax, eax
je 0x1003e42f
cmp eax, dword [edi]
jle 0x1003e437
mov edx, dword [edi]
mov dword [ebx + 0x4bc0], edx
cmp dword [ebx + 0x544], 0
je 0x1003e49d
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x1003e49d
cmp eax, 0x191
jne 0x1003e460
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2b0], 0
jne 0x1003e49d
cmp eax, 0x197
jne 0x1003e473
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2b4], 0
jne 0x1003e49d
mov ecx, dword [ebx + 0x4be8]
or ecx, dword [ebx + 0x4bec]
je 0x1003f0ee
cmp dword [ebx + 0x410], 1
jne 0x1003f0ee
cmp eax, 0x1a0
jne 0x1003f0ee
mov edi, dword [edi]
cmp edi, 0xa
jne 0x1003e4bf
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.1001fc70
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.100227b0
add esp, 0x10
jmp 0x1003e51f
cmp edi, 0x14
je 0x1003e510
cmp dword [esi + 0xa4], 1
jne 0x1003e4d6
cmp dword [esi + 0x88], 0x65
je 0x1003e510
cmp edi, 0xb
jl 0x1003e51f
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x294], 0
jne 0x1003e51f
mov ecx, eax
cmp dword [ecx + 0x5d8], 0
je 0x1003e51f
mov edi, eax
push edi
push ebx
call fcn.10041010
add esp, 8
test eax, eax
jne 0x1003e51f
mov edx, dword [edi + 0x5d8]
mov dword [edx], 1
jmp 0x1003e51f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5d8]
mov dword [ecx], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1003e534
sub eax, 0x64
jne 0x1003e55d
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x400], eax
je 0x1003e548
mov dword [ebx + 0x4c60], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xd0], 1
cmp dword [esi + 0xd0], 0
mov edi, dword [ebp + 8]
jne 0x1003e6b3
cmp dword [edi + 0x5a4], 0
jne 0x1003e6b3
mov edx, dword [esi + 0x78]
push 0xf
push edx
push str.Content_Length:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e6b3
mov ecx, dword [esi + 0x78]
lea eax, [ebp - 0x18]
push eax
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.10047140
add esp, 0x10
test eax, eax
jne 0x1003e6a0
mov ebx, dword [edi + 0x508]
mov edx, dword [edi + 0x50c]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
or eax, edx
mov eax, dword [ebp - 0x18]
je 0x1003e5de
cmp ecx, edx
jg 0x1003f113
jl 0x1003e5de
cmp eax, ebx
ja 0x1003f113
test ecx, ecx
jl 0x1003e67a
jg 0x1003e5f0
test eax, eax
jb 0x1003e67a
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.1002a0a0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x558], 0
mov dword [ebp - 0xc], 2
je 0x1003e620
mov dword [ebp - 0xc], 3
cmp dword [edi + 0x570], 0
je 0x1003e63d
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ebx
push ecx
push edx
push 1
push edi
call fcn.1001fb90
add esp, 0x14
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov edx, dword [ebp - 0xc]
push eax
push ecx
push edx
push ebx
call fcn.100200b0
add esp, 0x10
test eax, eax
jne 0x1003f221
mov eax, dword [esi + 0x68]
add dword [edi + 0x4c64], eax
mov ecx, dword [esi + 0x68]
mov edx, dword [edi + 0x8f4]
add dword [edi + 0xa0], ecx
mov dword [esi + 0x64], edx
jmp 0x1003f01e
mov ebx, dword [ebp + 0xc]
push 2
push ebx
call fcn.100227b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.1001fc70
add esp, 0x18
jmp 0x1003e609
push str.Illegal_Content_Length:_header_n
push edi
call fcn.1001fc70
add esp, 8
jmp 0x1003e606
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e70f
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003b300
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003f12d
cmp byte [ebx], 0
jne 0x1003e6f4
push ebx
call dword [0x10193004]
add esp, 4
jmp 0x1003e606
mov edx, dword [edi + 0x4c78]
push edx
call dword [0x10193004]
add esp, 4
mov dword [edi + 0x4c78], ebx
jmp 0x1003e606
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.10029800
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x1003e783
cmp dword [ebx + 0x180], 0x14
jge 0x1003e609
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003b300
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x5d8]
add esp, 4
test eax, eax
je 0x1003e771
cmp dword [eax], 1
jne 0x1003e771
mov edx, dword [ebp - 0xc]
push edx
push edi
call fcn.10041180
add esp, 8
test eax, eax
je 0x1003e771
mov eax, dword [ebx + 0x5d8]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x10193004]
add esp, 4
jmp 0x1003e609
cmp dword [ebx + 0x180], 0xa
jne 0x1003e7ca
cmp dword [ebx + 0x2a8], 0
je 0x1003e7ca
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.1003bf00
add esp, 0xc
test eax, eax
je 0x1003e7ca
push 0
push ebx
call fcn.100227b0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.1001fc70
add esp, 0x10
jmp 0x1003e609
cmp dword [ebx + 0x180], 0xb
jne 0x1003e811
cmp dword [ebx + 0x2a8], 0
je 0x1003e811
mov eax, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push eax
call fcn.1003bf00
add esp, 0xc
test eax, eax
je 0x1003e811
push 1
push ebx
call fcn.100227b0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.1001fc70
add esp, 0x10
jmp 0x1003e609
cmp dword [ebx + 0x180], 0xa
jne 0x1003e84f
mov ecx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push ecx
call fcn.1003bf00
add esp, 0xc
test eax, eax
je 0x1003e84f
push 0
push ebx
call fcn.100227b0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.1001fc70
add esp, 0x10
jmp 0x1003e609
mov edx, dword [esi + 0x78]
push str.close
push str.Connection:
push edx
call fcn.1003bf00
add esp, 0xc
test eax, eax
je 0x1003e879
push 2
push ebx
call fcn.100227b0
add esp, 8
jmp 0x1003e609
mov eax, dword [esi + 0x78]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e999
mov ebx, dword [esi + 0x78]
add ebx, 0x12
lea ebx, [ebx]
mov al, byte [ebx]
test al, al
je 0x1003e8c3
movzx ecx, al
push ecx
call fcn.1011d284
add esp, 4
test eax, eax
jne 0x1003e8bb
cmp byte [ebx], 0x2c
jne 0x1003e8c3
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1003e8a6
push 7
push ebx
push str.chunked
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e8f0
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xe4], 1
call fcn.10069140
add esp, 4
add ebx, 7
cmp dword [esi + 0xa8], 0
jne 0x1003e606
push 8
push ebx
push str.identity
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e923
mov dword [esi + 0xa8], 0
add ebx, 8
jmp 0x1003e8a0
push 7
push ebx
push str.deflate
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e949
mov dword [esi + 0xa8], 1
add ebx, 7
jmp 0x1003e8a0
push 4
push ebx
push str.gzip
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e96f
mov dword [esi + 0xa8], 2
add ebx, 4
jmp 0x1003e8a0
push 6
push ebx
push str.x_gzip
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e606
mov dword [esi + 0xa8], 2
add ebx, 6
jmp 0x1003e8a0
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ea69
cmp dword [edi + 0x5ec], 0
je 0x1003ea69
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x1003e9e8
mov edi, edi
movzx ecx, al
push ecx
call fcn.1011d284
add esp, 4
test eax, eax
je 0x1003e9e8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1003e9d0
push 8
push ebx
push str.identity
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ea0b
mov dword [esi + 0xa8], 0
jmp 0x1003e606
push 7
push ebx
push str.deflate
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ea2e
mov dword [esi + 0xa8], 1
jmp 0x1003e606
push 4
push ebx
push str.gzip
call fcn.10029800
add esp, 0xc
test eax, eax
jne 0x1003ea5a
push 6
push ebx
push str.x_gzip
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003e606
mov dword [esi + 0xa8], 2
jmp 0x1003e606
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003eb1d
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x1003eaae
movzx eax, al
push eax
call fcn.1011d1d4
add esp, 4
test eax, eax
jne 0x1003eaae
cmp byte [ebx], 0x2a
je 0x1003eaae
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1003ea91
movzx ecx, byte [ebx]
push ecx
call fcn.1011d1d4
add esp, 4
test eax, eax
je 0x1003eb0a
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push ebx
call fcn.10047140
add esp, 0x10
test eax, eax
jne 0x1003e606
mov edx, dword [edi + 0x4be8]
cmp edx, dword [esi + 0x80]
jne 0x1003e606
mov eax, dword [edi + 0x4bec]
cmp eax, dword [esi + 0x84]
jne 0x1003e606
mov dword [esi + 0x7c], 1
jmp 0x1003e606
xor eax, eax
mov dword [edi + 0x4be8], eax
mov dword [edi + 0x4bec], eax
jmp 0x1003e606
cmp dword [edi + 0x738], 0
je 0x1003eb88
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003eb88
push 2
push 2
push edi
call fcn.1002a9a0
mov eax, dword [ebx + 0x370]
add esp, 0xc
test eax, eax
jne 0x1003eb5a
mov eax, dword [ebx + 0xa0]
mov edx, dword [edi + 0x4bd0]
mov ecx, dword [edi + 0x738]
push edx
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.10020680
push 2
push edi
call fcn.1002a9e0
add esp, 0x20
jmp 0x1003e609
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ebf7
cmp dword [edi + 0x400], 0
jne 0x1003ebb1
cmp dword [edi + 0x528], 0
je 0x1003ebf7
push 0
call fcn.1011a87a
mov ecx, dword [esi + 0x78]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x1c], edx
call fcn.100470d0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x528], 0
je 0x1003e609
mov edx, eax
mov dword [edi + 0x4c5c], edx
jmp 0x1003e609
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ec1b
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x1003ec3f
mov ecx, dword [esi + 0x78]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ec91
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x1003ec91
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x78]
sete dl
push eax
mov dword [ebp - 0xc], edx
call fcn.1003b300
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003f12d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.1003b930
push ebx
mov dword [ebp - 0xc], eax
call dword [0x10193004]
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x1003e606
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x1003ed36
cmp eax, 0x190
jge 0x1003ed36
mov eax, dword [esi + 0x78]
push 9
push eax
push str.Location:
call fcn.10029800
add esp, 0xc
test eax, eax
je 0x1003ed36
cmp dword [edi + 0x144], 0
jne 0x1003ed36
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003b300
add esp, 4
test eax, eax
je 0x1003f12d
cmp byte [eax], 0
jne 0x1003ecf5
push eax
call dword [0x10193004]
add esp, 4
jmp 0x1003e609
cmp dword [edi + 0x54c], 0
mov dword [edi + 0x144], eax
je 0x1003e609
push eax
call dword [0x1019300c]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x1003f12d
push ebx
call fcn.1003b550
add esp, 4
test eax, eax
jne 0x1003f221
jmp 0x1003e609
mov edx, dword [ebx + 0x340]
test dword [edx + 0x40], 0x40000
je 0x1003e609
mov eax, dword [esi + 0x78]
push eax
push ebx
call fcn.1002c0d0
add esp, 8
test eax, eax
jne 0x1003f221
jmp 0x1003e609
cmp cl, 0xd
jne 0x1003ed6c
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x1003ed78
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1003edf4
cmp eax, 0xc7
jg 0x1003edf4
sub eax, 0x64
je 0x1003edbf
mov ecx, 1
sub eax, ecx
je 0x1003eda7
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], 0
jmp 0x1003ee4e
cmp dword [esi + 0xa4], ecx
je 0x1003f03a
mov dword [esi + 0x58], 0
jmp 0x1003ee4e
cmp dword [esi + 0xa0], 0
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x1003ee4e
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.1001dcf0
add esp, 8
jmp 0x1003ee4e
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x1003ee4e
cmp dword [esi + 0xe4], 0
jne 0x1003ee4e
cmp dword [ebx + 0x294], 0
jne 0x1003ee57
cmp dword [ebx + 0x180], 0xb
jne 0x1003ee4e
mov ecx, dword [ebx + 0x340]
test dword [ecx + 0x40], 0x40000
jne 0x1003ee4e
cmp dword [edi + 0x410], 6
je 0x1003ee4e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.1001fc70
push 2
push ebx
call fcn.100227b0
add esp, 0x10
cmp dword [ebx + 0x294], 0
je 0x1003ee95
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1003ee6d
cmp dword [ebx + 0x3b8], 2
je 0x1003ee7d
cmp eax, 0x197
jne 0x1003ee95
cmp dword [ebx + 0x3d0], 2
jne 0x1003ee95
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.1001fc70
add esp, 8
mov dword [edi + 0x49d4], 1
mov edx, ebx
call fcn.1003bad0
test eax, eax
jne 0x1003f139
lea ecx, [eax + 2]
cmp dword [edi + 0x558], eax
je 0x1003eeb2
lea ecx, [eax + 3]
mov eax, dword [edi + 0x8f4]
mov ebx, dword [esi + 0x78]
mov edx, dword [ebp + 0xc]
sub ebx, eax
push ebx
push eax
push ecx
push edx
call fcn.100200b0
add esp, 0x10
test eax, eax
jne 0x1003f221
add dword [edi + 0xa0], ebx
add dword [edi + 0x4c64], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x1003eefc
cmp eax, 0xc7
jg 0x1003eefc
mov eax, ecx
jmp 0x1003eefe
xor eax, eax
mov dword [edi + 0xa4], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003c4e0
add esp, 4
test eax, eax
jne 0x1003f221
cmp dword [esi + 0x88], 0x12c
jl 0x1003f00b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2d8], eax
jne 0x1003efea
mov edx, ecx
cmp dword [edx + 0x294], eax
jne 0x1003efea
mov eax, ecx
cmp dword [eax + 0x2dc], 0
jne 0x1003efea
mov eax, dword [edi + 0x410]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1003efea
push 0
push edi
call fcn.1001dcf0
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x1003efea
cmp dword [edi + 0x548], 0
je 0x1003efad
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.1001fc70
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x1003efea
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x1003efea
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.1001fc70
mov ecx, dword [ebp + 0xc]
push 2
push ecx
call fcn.100227b0
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4bc4], 0
je 0x1003efea
mov dword [esi + 0xa0], 3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2dc], 0
je 0x1003f00b
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.1001fc70
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x1003f15a
mov eax, dword [edi + 0x8f4]
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [ecx], 0
jne 0x1003e1e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.1001fc70
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0xa4], 2
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.1003c380
add esp, 4
test eax, eax
jne 0x1003f221
cmp dword [esi + 0x60], eax
jne 0x1003f21f
cmp dword [esi + 0x68], 5
jbe 0x1003f21f
mov eax, dword [edi + 0x8f4]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.1003c350
add esp, 4
test eax, eax
jne 0x1003f21f
pop edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push str.Unsupported_HTTP_version_in_response_n
push edx
call fcn.1001fcf0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1003c440
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x58], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.1001fcf0
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 eax, dword [esi + 0x88]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.1001fcf0
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x564], 0
mov eax, dword [ebp + 0x14]
je 0x1003f171
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x1003f1b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x340]
test dword [edx + 0x40], 0x40000
je 0x1003f1a2
cmp dword [edi + 0x6c0], 2
jne 0x1003f1a2
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x1003f1a5
jl 0x1003f19a
cmp dword [esi], edx
ja 0x1003f1a5
mov dword [eax], 1
jmp 0x1003f1b9
or edx, 0xffffffff
cmp dword [esi + 0xe4], 0
je 0x1003f1b9
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 0x1003f1c6
cmp ecx, edx
je 0x1003f1dc
push ecx
push eax
push edi
call fcn.1002a0a0
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 0x1003f1f3
cmp dword [esi + 0x14], 0
jne 0x1003f1f3
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x1003f1fb
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x1003f202
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x570], 0
je 0x1003f21f
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x70]
push ecx
push ebx
push edx
push 1
push edi
call fcn.1001fb90
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret