Function at 0x10041a90
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.10053940
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x10042918
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.1003fcc0
add esp, 4
test eax, eax
jne 0x10042ad1
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 0x10041b3d
cmp dword [esi + 0x68], 5
jbe 0x10041b3d
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x8f4]
push edi
mov ecx, ebx
call fcn.1003fc90
add esp, 4
test eax, eax
jne 0x10041b40
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1004296c
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 0x10042613
cmp cl, 0xd
je 0x10042618
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
test ecx, ecx
jne 0x10041e0b
mov ecx, dword [ebx + 0x330]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x10041c67
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.10053040
add esp, 0x18
cmp eax, 1
jne 0x10041bd7
cmp dword [ebp - 8], 2
jne 0x10042981
mov edx, dword [esi + 0x78]
push ebx
push str._HTTP_2__d
push edx
call fcn.10053040
add esp, 0xc
cmp eax, 1
jne 0x10042981
mov dword [edi], 0
mov byte [ebp - 1], 0x20
jmp 0x10041be6
cmp eax, 4
jne 0x10041c1e
cmp byte [ebp - 1], 0x20
jne 0x10042981
mov eax, 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 0x10041cb8
cmp eax, 0x14
je 0x10041cb8
mov ebx, dword [ebp + 8]
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.10029250
add esp, 8
jmp 0x10041cbb
test eax, eax
jne 0x10042981
mov ecx, dword [esi + 0x78]
push ebx
push str._HTTP__3d
push ecx
call fcn.10053040
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x10041cb8
mov ebx, dword [esi + 0x78]
mov eax, dword [ebp + 8]
call fcn.1003fc10
test eax, eax
je 0x100429b3
mov dword [esi + 0x88], 0xc8
mov dword [edi], 0xa
jmp 0x10041cb8
test ecx, 0x40000
je 0x100429b3
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x88]
push ecx
add edi, 0x184
push edi
lea edx, [ebp - 0x10]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.10053040
add esp, 0x14
cmp eax, 3
jne 0x100429b3
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x180
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x88]
mov eax, dword [ebx + 0x4bc0]
mov dword [ebx + 0x4c50], ecx
mov edx, dword [edi]
mov dword [ebx + 0x4c58], edx
test eax, eax
je 0x10041cdd
cmp eax, dword [edi]
jle 0x10041ce5
mov eax, dword [edi]
mov dword [ebx + 0x4bc0], eax
cmp dword [ebx + 0x544], 0
je 0x10041d4b
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x10041d4b
cmp eax, 0x191
jne 0x10041d0e
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2a0], 0
jne 0x10041d4b
cmp eax, 0x197
jne 0x10041d21
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2a4], 0
jne 0x10041d4b
mov ecx, dword [ebx + 0x4be8]
or ecx, dword [ebx + 0x4bec]
je 0x1004299e
cmp dword [ebx + 0x410], 1
jne 0x1004299e
cmp eax, 0x1a0
jne 0x1004299e
mov edi, dword [edi]
cmp edi, 0xa
jne 0x10041d6d
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.10029250
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.1002c560
add esp, 0x10
jmp 0x10041dcd
cmp edi, 0x14
je 0x10041dbe
cmp dword [esi + 0xa4], 1
jne 0x10041d84
cmp dword [esi + 0x88], 0x65
je 0x10041dbe
cmp edi, 0xb
jl 0x10041dcd
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x284], 0
jne 0x10041dcd
mov ecx, eax
cmp dword [ecx + 0x5c8], 0
je 0x10041dcd
mov edi, eax
push edi
push ebx
call fcn.10044ab0
add esp, 8
test eax, eax
jne 0x10041dcd
mov edx, dword [edi + 0x5c8]
mov dword [edx], 1
jmp 0x10041dcd
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c8]
mov dword [ecx], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x10041de2
sub eax, 0x64
jne 0x10041e0b
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x400], eax
je 0x10041df6
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 0x10041f61
cmp dword [edi + 0x5a4], 0
jne 0x10041f61
mov edx, dword [esi + 0x78]
push 0xf
push edx
push str.Content_Length:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10041f61
mov ecx, dword [esi + 0x78]
lea eax, [ebp - 0x18]
push eax
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.1004beb0
add esp, 0x10
test eax, eax
jne 0x10041f4e
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 0x10041e8c
cmp ecx, edx
jg 0x100429c3
jl 0x10041e8c
cmp eax, ebx
ja 0x100429c3
test ecx, ecx
jl 0x10041f28
jg 0x10041e9e
test eax, eax
jb 0x10041f28
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.10047c00
add esp, 0xc
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x558], 0
mov dword [ebp - 0xc], 2
je 0x10041ece
mov dword [ebp - 0xc], 3
cmp dword [edi + 0x570], 0
je 0x10041eeb
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ebx
push ecx
push edx
push 1
push edi
call fcn.10029170
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.10029680
add esp, 0x10
test eax, eax
jne 0x10042ad1
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 0x100428ce
mov ebx, dword [ebp + 0xc]
push 2
push ebx
call fcn.1002c560
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.10029250
add esp, 0x18
jmp 0x10041eb7
push str.Illegal_Content_Length:_header_n
push edi
call fcn.10029250
add esp, 8
jmp 0x10041eb4
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10041fbd
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003ec50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100429dd
cmp byte [ebx], 0
jne 0x10041fa2
push ebx
call dword [0x10085004]
add esp, 4
jmp 0x10041eb4
mov edx, dword [edi + 0x4c78]
push edx
call dword [0x10085004]
add esp, 4
mov dword [edi + 0x4c78], ebx
jmp 0x10041eb4
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.100450d0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x10042031
cmp dword [ebx + 0x180], 0x14
jge 0x10041eb7
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003ec50
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x5c8]
add esp, 4
test eax, eax
je 0x1004201f
cmp dword [eax], 1
jne 0x1004201f
mov edx, dword [ebp - 0xc]
push edx
push edi
call fcn.10044c20
add esp, 8
test eax, eax
je 0x1004201f
mov eax, dword [ebx + 0x5c8]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x10085004]
add esp, 4
jmp 0x10041eb7
cmp dword [ebx + 0x180], 0xa
jne 0x10042078
cmp dword [ebx + 0x298], 0
je 0x10042078
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.1003f850
add esp, 0xc
test eax, eax
je 0x10042078
push 0
push ebx
call fcn.1002c560
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.10029250
add esp, 0x10
jmp 0x10041eb7
cmp dword [ebx + 0x180], 0xb
jne 0x100420bf
cmp dword [ebx + 0x298], 0
je 0x100420bf
mov eax, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push eax
call fcn.1003f850
add esp, 0xc
test eax, eax
je 0x100420bf
push 1
push ebx
call fcn.1002c560
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.10029250
add esp, 0x10
jmp 0x10041eb7
cmp dword [ebx + 0x180], 0xa
jne 0x100420fd
mov ecx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push ecx
call fcn.1003f850
add esp, 0xc
test eax, eax
je 0x100420fd
push 0
push ebx
call fcn.1002c560
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.10029250
add esp, 0x10
jmp 0x10041eb7
mov edx, dword [esi + 0x78]
push str.close
push str.Connection:
push edx
call fcn.1003f850
add esp, 0xc
test eax, eax
je 0x10042127
push 2
push ebx
call fcn.1002c560
add esp, 8
jmp 0x10041eb7
mov eax, dword [esi + 0x78]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10042243
mov ebx, dword [esi + 0x78]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x1004216d
mov edi, edi
movzx ecx, al
push ecx
call fcn.10055f43
add esp, 4
test eax, eax
jne 0x10042165
cmp byte [ebx], 0x2c
jne 0x1004216d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10042150
push 7
push ebx
push str.chunked
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x1004219a
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xe4], 1
call fcn.10050ca0
add esp, 4
add ebx, 7
cmp dword [esi + 0xa8], 0
jne 0x10041eb4
push 8
push ebx
push str.identity
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100421cd
mov dword [esi + 0xa8], 0
add ebx, 8
jmp 0x10042148
push 7
push ebx
push str.deflate
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100421f3
mov dword [esi + 0xa8], 1
add ebx, 7
jmp 0x10042148
push 4
push ebx
push str.gzip
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10042219
mov dword [esi + 0xa8], 2
add ebx, 4
jmp 0x10042148
push 6
push ebx
push str.x_gzip
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10041eb4
mov dword [esi + 0xa8], 2
add ebx, 6
jmp 0x10042148
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10042319
cmp dword [edi + 0x5ec], 0
je 0x10042319
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x10042298
jmp 0x10042280
movzx ecx, al
push ecx
call fcn.10055f43
add esp, 4
test eax, eax
je 0x10042298
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10042280
push 8
push ebx
push str.identity
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100422bb
mov dword [esi + 0xa8], 0
jmp 0x10041eb4
push 7
push ebx
push str.deflate
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100422de
mov dword [esi + 0xa8], 1
jmp 0x10041eb4
push 4
push ebx
push str.gzip
call fcn.100450d0
add esp, 0xc
test eax, eax
jne 0x1004230a
push 6
push ebx
push str.x_gzip
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10041eb4
mov dword [esi + 0xa8], 2
jmp 0x10041eb4
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100423cd
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x1004235e
movzx eax, al
push eax
call fcn.10055e3e
add esp, 4
test eax, eax
jne 0x1004235e
cmp byte [ebx], 0x2a
je 0x1004235e
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10042341
movzx ecx, byte [ebx]
push ecx
call fcn.10055e3e
add esp, 4
test eax, eax
je 0x100423ba
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push ebx
call fcn.1004beb0
add esp, 0x10
test eax, eax
jne 0x10041eb4
mov edx, dword [edi + 0x4be8]
cmp edx, dword [esi + 0x80]
jne 0x10041eb4
mov eax, dword [edi + 0x4bec]
cmp eax, dword [esi + 0x84]
jne 0x10041eb4
mov dword [esi + 0x7c], 1
jmp 0x10041eb4
xor eax, eax
mov dword [edi + 0x4be8], eax
mov dword [edi + 0x4bec], eax
jmp 0x10041eb4
cmp dword [edi + 0x738], 0
je 0x10042438
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10042438
push 2
push 2
push edi
call fcn.1002efe0
mov eax, dword [ebx + 0x360]
add esp, 0xc
test eax, eax
jne 0x1004240a
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.1002a2f0
push 2
push edi
call fcn.1002f020
add esp, 0x20
jmp 0x10041eb7
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100424a7
cmp dword [edi + 0x400], 0
jne 0x10042461
cmp dword [edi + 0x528], 0
je 0x100424a7
push 0
call fcn.100542a7
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.1004be40
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x528], 0
je 0x10041eb7
mov edx, eax
mov dword [edi + 0x4c5c], edx
jmp 0x10041eb7
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100424cb
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x100424ef
mov ecx, dword [esi + 0x78]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x10042541
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x10042541
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x78]
sete dl
push eax
mov dword [ebp - 0xc], edx
call fcn.1003ec50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100429dd
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.1003f280
push ebx
mov dword [ebp - 0xc], eax
call dword [0x10085004]
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x10041eb4
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 0x100425e6
cmp eax, 0x190
jge 0x100425e6
mov eax, dword [esi + 0x78]
push 9
push eax
push str.Location:
call fcn.100450d0
add esp, 0xc
test eax, eax
je 0x100425e6
cmp dword [edi + 0x144], 0
jne 0x100425e6
mov ecx, dword [esi + 0x78]
push ecx
call fcn.1003ec50
add esp, 4
test eax, eax
je 0x100429dd
cmp byte [eax], 0
jne 0x100425a5
push eax
call dword [0x10085004]
add esp, 4
jmp 0x10041eb7
cmp dword [edi + 0x54c], 0
mov dword [edi + 0x144], eax
je 0x10041eb7
push eax
call dword [0x1008500c]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x100429dd
push ebx
call fcn.1003eea0
add esp, 4
test eax, eax
jne 0x10042ad1
jmp 0x10041eb7
mov edx, dword [ebx + 0x330]
test dword [edx + 0x40], 0x40000
je 0x10041eb7
mov eax, dword [esi + 0x78]
push eax
push ebx
call fcn.1002fc70
add esp, 8
test eax, eax
jne 0x10042ad1
jmp 0x10041eb7
cmp cl, 0xd
jne 0x1004261c
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x10042628
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x100426a4
cmp eax, 0xc7
jg 0x100426a4
sub eax, 0x64
je 0x1004266f
mov ecx, 1
sub eax, ecx
je 0x10042657
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], 0
jmp 0x100426fe
cmp dword [esi + 0xa4], ecx
je 0x100428ea
mov dword [esi + 0x58], 0
jmp 0x100426fe
cmp dword [esi + 0xa0], 0
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x100426fe
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.100272d0
add esp, 8
jmp 0x100426fe
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x100426fe
cmp dword [esi + 0xe4], 0
jne 0x100426fe
cmp dword [ebx + 0x284], 0
jne 0x10042707
cmp dword [ebx + 0x180], 0xb
jne 0x100426fe
mov ecx, dword [ebx + 0x330]
test dword [ecx + 0x40], 0x40000
jne 0x100426fe
cmp dword [edi + 0x410], 6
je 0x100426fe
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.10029250
push 2
push ebx
call fcn.1002c560
add esp, 0x10
cmp dword [ebx + 0x284], 0
je 0x10042745
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1004271d
cmp dword [ebx + 0x3a8], 2
je 0x1004272d
cmp eax, 0x197
jne 0x10042745
cmp dword [ebx + 0x3c0], 2
jne 0x10042745
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.10029250
add esp, 8
mov dword [edi + 0x49d4], 1
mov edx, ebx
call fcn.1003f420
test eax, eax
jne 0x100429e9
lea ecx, [eax + 2]
cmp dword [edi + 0x558], eax
je 0x10042762
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.10029680
add esp, 0x10
test eax, eax
jne 0x10042ad1
add dword [edi + 0xa0], ebx
add dword [edi + 0x4c64], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x100427ac
cmp eax, 0xc7
jg 0x100427ac
mov eax, ecx
jmp 0x100427ae
xor eax, eax
mov dword [edi + 0xa4], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003fe20
add esp, 4
test eax, eax
jne 0x10042ad1
cmp dword [esi + 0x88], 0x12c
jl 0x100428bb
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c8], eax
jne 0x1004289a
mov edx, ecx
cmp dword [edx + 0x284], eax
jne 0x1004289a
mov eax, ecx
cmp dword [eax + 0x2cc], 0
jne 0x1004289a
mov eax, dword [edi + 0x410]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1004289a
push 0
push edi
call fcn.100272d0
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x1004289a
cmp dword [edi + 0x548], 0
je 0x1004285d
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.10029250
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x1004289a
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x1004289a
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.10029250
mov ecx, dword [ebp + 0xc]
push 2
push ecx
call fcn.1002c560
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4bc4], 0
je 0x1004289a
mov dword [esi + 0xa0], 3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2cc], 0
je 0x100428bb
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.10029250
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x10042a0a
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 0x10041aa0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.10029250
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.1003fcc0
add esp, 4
test eax, eax
jne 0x10042ad1
cmp dword [esi + 0x60], eax
jne 0x10042acf
cmp dword [esi + 0x68], 5
jbe 0x10042acf
mov eax, dword [edi + 0x8f4]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.1003fc90
add esp, 4
test eax, eax
jne 0x10042acf
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.100292d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1003fd80
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.100292d0
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.100292d0
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 0x10042a21
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x10042a69
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x330]
test dword [edx + 0x40], 0x40000
je 0x10042a52
cmp dword [edi + 0x6c0], 2
jne 0x10042a52
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x10042a55
jl 0x10042a4a
cmp dword [esi], edx
ja 0x10042a55
mov dword [eax], 1
jmp 0x10042a69
or edx, 0xffffffff
cmp dword [esi + 0xe4], 0
je 0x10042a69
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 0x10042a76
cmp ecx, edx
je 0x10042a8c
push ecx
push eax
push edi
call fcn.10047c00
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 0x10042aa3
cmp dword [esi + 0x14], 0
jne 0x10042aa3
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x10042aab
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x10042ab2
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x570], 0
je 0x10042acf
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x70]
push ecx
push ebx
push edx
push 1
push edi
call fcn.10029170
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret