Function at 0x422e10
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
lea ebp, [edi + 0x18]
mov edi, edi
mov eax, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.0042b960
add esp, 0xc
mov dword [ebp + 0x64], eax
mov esi, ebp
mov ebx, edi
test eax, eax
je 0x423873
sub eax, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x28]
inc eax
sub dword [ecx], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x64]
inc eax
mov dword [ebp + 0x5c], eax
sub eax, dword [ebp + 0x60]
push eax
call fcn.00422d60
add esp, 4
test eax, eax
jne 0x423a11
mov eax, dword [ebp + 0x54]
mov ebx, dword [ebp + 0x50]
mov dword [ebp + 0x64], eax
mov ecx, dword [edi + 0x484]
mov dword [ebp + 0x68], ecx
test ebx, ebx
jne 0x422ea5
cmp dword [ebp + 0x58], 5
jbe 0x422ea5
mov edx, dword [edi + 0x484]
push edx
mov eax, edi
call fcn.00422cf0
add esp, 4
test al, al
je 0x4238ca
mov eax, dword [ebp + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4236b2
cmp cl, 0xd
je 0x4236b7
lea ecx, [ebx + 1]
mov dword [ebp + 0x50], ecx
test ebx, ebx
jne 0x423097
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x30]
test cl, 1
je 0x422f4b
mov esi, edx
lea ebx, [ebp + 0x78]
push ebx
add esi, 0xb0
push esi
lea edx, [esp + 0x1c]
push edx
push str._HTTP__d._d__3d
push eax
call fcn.0042980f
add esp, 0x14
cmp eax, 3
jne 0x422f0b
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
jmp 0x422f99
mov ecx, dword [ebp + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.0042980f
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x422f99
mov edx, dword [ebp + 0x68]
push edx
mov eax, edi
call fcn.00422cf0
add esp, 4
test al, al
je 0x42391f
mov dword [ebx], 0xc8
mov dword [esi], 0xa
jmp 0x422f99
test ecx, 0x40000
je 0x42391f
lea ebx, [ebp + 0x78]
push ebx
lea esi, [edx + 0xb4]
push esi
lea ecx, [esp + 0x20]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.0042980f
add esp, 0x14
cmp eax, 3
jne 0x42391f
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
add edx, edx
add dword [esi], edx
mov esi, dword [esp + 0x24]
add esi, 0xb0
mov dword [esi], 0xb
mov eax, dword [ebx]
mov dword [edi + 0x8598], eax
mov eax, dword [edi + 0x8558]
mov ecx, dword [esi]
mov dword [edi + 0x85a0], ecx
test eax, eax
je 0x422fb7
cmp eax, dword [esi]
jle 0x422fbf
mov edx, dword [esi]
mov dword [edi + 0x8558], edx
cmp byte [edi + 0x268], 0
je 0x423023
mov eax, dword [ebx]
cmp eax, 0x190
jl 0x423023
cmp eax, 0x191
jne 0x422fe5
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x120], 0
jne 0x423023
cmp eax, 0x197
jne 0x422ff9
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x121], 0
jne 0x423023
mov ecx, dword [edi + 0x8578]
or ecx, dword [edi + 0x857c]
je 0x4238ff
cmp dword [edi + 0x1e8], 1
jne 0x4238ff
cmp eax, 0x1a0
jne 0x4238ff
mov esi, dword [esi]
cmp esi, 0xa
jne 0x423046
push str.HTTP_1.0__assume_close_after_body_n
mov ecx, edi
call fcn.00415780
mov edx, dword [esp + 0x28]
add esp, 4
mov byte [edx + 0x11c], 1
jmp 0x42305f
cmp esi, 0xb
jl 0x42305f
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x11c], 0
jne 0x42305f
mov byte [eax + 0x16a], 1
mov ebx, dword [ebx]
sub ebx, 0xcc
je 0x423073
sub ebx, 0x64
je 0x423073
sub ebx, 0x70
jne 0x423097
xor eax, eax
cmp dword [edi + 0x1d8], eax
je 0x423084
mov byte [edi + 0x85a8], 1
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov byte [ebp + 0xae], 1
cmp byte [ebp + 0xae], 0
jne 0x423145
cmp byte [edi + 0x28f], 0
jne 0x423145
mov esi, dword [ebp + 0x68]
push 0xf
mov eax, esi
mov ecx, str.Content_Length:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423145
push 0xa
push 0
add esi, 0xf
push esi
call fcn.0042af14
mov esi, dword [edi + 0x248]
mov ecx, dword [edi + 0x24c]
mov ebx, esi
add esp, 0xc
or ebx, ecx
je 0x4230fd
cmp edx, ecx
jg 0x42392d
jl 0x4230fd
cmp eax, esi
ja 0x42392d
test edx, edx
jl 0x423124
jg 0x423107
test eax, eax
jb 0x423124
push edx
mov dword [ebp], eax
mov dword [ebp + 0x10], eax
push eax
mov eax, edi
mov dword [ebp + 4], edx
mov dword [ebp + 0x14], edx
call fcn.0041bbe0
add esp, 8
jmp 0x423638
mov ecx, dword [esp + 0x24]
push edx
push eax
mov byte [ecx + 0x11c], 1
push str.Negative_content_length:__lld__closing_after_transfer_n
mov ecx, edi
call fcn.00415780
add esp, 0xc
jmp 0x423638
mov ebx, dword [ebp + 0x68]
push 0xd
mov eax, ebx
mov ecx, str.Content_Type:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x4231a1
mov eax, ebx
call fcn.0041fb20
mov esi, eax
test esi, esi
je 0x423949
cmp byte [esi], 0
jne 0x423182
push esi
call dword [0x4511ac]
add esp, 4
jmp 0x423638
mov eax, dword [edi + 0x85c0]
test eax, eax
je 0x423196
push eax
call dword [0x4511ac]
add esp, 4
mov dword [edi + 0x85c0], esi
jmp 0x423638
mov esi, dword [esp + 0x24]
cmp dword [esi + 0xb0], 0xa
jne 0x4231ea
cmp byte [esi + 0x11f], 0
je 0x4231ea
push str.keep_alive
mov eax, str.Proxy_Connection:
mov ecx, ebx
call fcn.004207f0
add esp, 4
test al, al
je 0x4231ea
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov ecx, edi
mov byte [esi + 0x11c], 0
call fcn.00415780
add esp, 4
jmp 0x423638
cmp dword [esi + 0xb0], 0xb
jne 0x423230
cmp byte [esi + 0x11f], 0
je 0x423230
mov ecx, dword [ebp + 0x68]
push str.close
mov eax, str.Proxy_Connection:
call fcn.004207f0
add esp, 4
test al, al
je 0x423230
push str.HTTP_1.1_proxy_connection_set_close__n
mov ecx, edi
mov byte [esi + 0x11c], 1
call fcn.00415780
add esp, 4
jmp 0x423638
cmp dword [esi + 0xb0], 0xa
jne 0x42326d
mov ecx, dword [ebp + 0x68]
push str.keep_alive
mov eax, str.Connection:
call fcn.004207f0
add esp, 4
test al, al
je 0x42326d
push str.HTTP_1.0_connection_set_to_keep_alive__n
mov ecx, edi
mov byte [esi + 0x11c], 0
call fcn.00415780
add esp, 4
jmp 0x423638
mov ecx, dword [ebp + 0x68]
push str.close
mov eax, str.Connection:
call fcn.004207f0
add esp, 4
test al, al
je 0x423292
mov byte [esi + 0x11c], 1
jmp 0x423638
mov ecx, dword [ebp + 0x68]
push str.chunked
mov eax, str.Transfer_Encoding:
call fcn.004207f0
add esp, 4
test al, al
je 0x4232cf
test dword [esi + 0x30], 0x40000
jne 0x4232cf
mov byte [ebp + 0xc0], 1
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], 1
jmp 0x423638
mov esi, dword [ebp + 0x68]
push 8
mov eax, esi
mov ecx, str.Trailer:
call fcn.0041edf0
add esp, 4
test eax, eax
jne 0x423631
push 9
mov eax, esi
mov ecx, str.Trailers:
call fcn.0041edf0
add esp, 4
test eax, eax
jne 0x423631
push 0x11
mov eax, esi
mov ecx, str.Content_Encoding:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x42340a
cmp dword [edi + 0x2c0], 0
je 0x42340a
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x42334c
movzx edx, al
push edx
call fcn.00429496
add esp, 4
test eax, eax
je 0x42334c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x423334
push 8
mov eax, esi
mov ecx, str.identity
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423370
mov dword [ebp + 0x88], 0
jmp 0x423638
push 7
mov eax, esi
mov ecx, str.deflate
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423394
mov dword [ebp + 0x88], 1
jmp 0x423638
push 4
mov eax, esi
mov ecx, str.gzip
call fcn.0041edf0
add esp, 4
test eax, eax
jne 0x4233fb
push 6
mov eax, esi
mov ecx, str.x_gzip
call fcn.0041edf0
add esp, 4
test eax, eax
jne 0x4233fb
push 8
mov eax, esi
mov ecx, str.compress
call fcn.0041edf0
add esp, 4
test eax, eax
jne 0x4233ec
push 0xa
mov eax, esi
mov ecx, str.x_compress
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423638
mov dword [ebp + 0x88], 3
jmp 0x423638
mov dword [ebp + 0x88], 2
jmp 0x423638
push 0xe
mov eax, esi
mov ecx, str.Content_Range:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423481
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x423448
lea esp, [esp]
movzx eax, al
push eax
call fcn.00429391
add esp, 4
test eax, eax
jne 0x423448
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x423430
push 0xa
push 0
push esi
call fcn.0042af14
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], edx
mov ecx, dword [edi + 0x8578]
add esp, 0xc
cmp ecx, eax
jne 0x423638
mov edx, dword [edi + 0x857c]
cmp edx, dword [ebp + 0x74]
jne 0x423638
mov byte [ebp + 0x6c], 1
jmp 0x423638
cmp dword [edi + 0x36c], 0
je 0x4234ee
push 0xb
mov eax, esi
mov ecx, str.Set_Cookie:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x4234ee
mov ecx, 2
mov esi, edi
call fcn.0041d0a0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x15c]
test eax, eax
jne 0x4234bc
mov eax, dword [ecx + 0x7c]
mov ecx, dword [edi + 0x856c]
mov edx, dword [ebp + 0x68]
push ecx
mov ecx, dword [edi + 0x36c]
add edx, 0xb
push edx
push 1
push edi
mov edx, eax
call fcn.004181d0
add esp, 0x10
mov ecx, 2
mov esi, edi
call fcn.0041d0d0
jmp 0x423638
push 0xe
mov eax, esi
mov ecx, str.Last_Modified:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x42354e
cmp dword [edi + 0x1d8], 0
jne 0x423515
cmp byte [edi + 0x261], 0
je 0x42354e
push 0
call fcn.0042a743
mov ecx, dword [ebp + 0x68]
add esp, 4
add ecx, 0xe
call fcn.00425560
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp byte [edi + 0x261], 0
je 0x423638
mov dword [edi + 0x85a4], eax
jmp 0x423638
push 0x11
mov eax, esi
mov ecx, str.WWW_Authenticate:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x42356d
mov eax, dword [ebp + 0x78]
cmp eax, 0x191
je 0x42358c
push 0x13
mov eax, esi
mov ecx, str.Proxy_authenticate:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x4235a9
mov eax, dword [ebp + 0x78]
cmp eax, 0x197
jne 0x4235a9
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov eax, esi
call fcn.00420250
add esp, 8
test eax, eax
jne 0x423a11
jmp 0x423638
mov eax, dword [ebp + 0x78]
cmp eax, 0x12c
jl 0x423638
cmp eax, 0x190
jge 0x423638
push 9
mov eax, esi
mov ecx, str.Location:
call fcn.0041edf0
add esp, 4
test eax, eax
je 0x423638
mov eax, esi
call fcn.0041fb20
test eax, eax
je 0x423949
cmp byte [eax], 0
jne 0x4235f3
push eax
call dword [0x4511ac]
add esp, 4
jmp 0x423638
cmp byte [edi + 0x269], 0
mov dword [edi + 0xc8], eax
je 0x423638
push eax
call dword [0x4511b4]
add esp, 4
mov dword [edi + 0xcc], eax
test eax, eax
je 0x423949
mov edx, dword [esp + 0x24]
push edx
call fcn.0041fd20
add esp, 4
test eax, eax
jne 0x423a11
jmp 0x423638
mov byte [ebp + 0xc4], 1
cmp byte [edi + 0x26b], 0
mov dword [esp + 0x10], 2
je 0x423651
mov dword [esp + 0x10], 3
cmp byte [edi + 0x278], 0
je 0x423676
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x68]
push eax
push ecx
push edx
mov ebx, 1
mov esi, edi
call fcn.00415d10
add esp, 0xc
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x58]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
call fcn.00415a80
add esp, 4
test eax, eax
jne 0x423a11
mov ecx, dword [ebp + 0x58]
add dword [edi + 0x85ac], ecx
mov edx, dword [ebp + 0x58]
mov eax, dword [edi + 0x484]
add dword [edi + 0x48], edx
mov dword [ebp + 0x54], eax
jmp 0x42380d
cmp cl, 0xd
jne 0x4236bb
inc eax
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x68]
cmp byte [eax], 0xa
jne 0x4236c7
inc eax
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x78]
cmp eax, 0x64
jl 0x423701
cmp eax, 0xc7
jg 0x423701
cmp dword [ebp + 0x84], 0
mov esi, dword [esp + 0x24]
mov byte [ebp + 0x48], 1
mov dword [ebp + 0x50], 0
je 0x423754
or dword [ebp + 0xa8], 2
mov dword [ebp + 0x84], 0
jmp 0x423754
mov ecx, dword [ebp]
and ecx, dword [ebp + 4]
mov byte [ebp + 0x48], 0
cmp ecx, 0xffffffff
jne 0x423750
cmp byte [ebp + 0xc0], 0
jne 0x423750
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x11c], 0
jne 0x423754
cmp dword [esi + 0xb0], 0xb
jl 0x423754
test dword [esi + 0x30], 0x40000
jne 0x423754
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov ecx, edi
call fcn.00415780
add esp, 4
mov byte [esi + 0x11c], 1
jmp 0x423754
mov esi, dword [esp + 0x24]
cmp dword [ebp + 0x78], 0x1a1
jne 0x42376e
and dword [ebp + 0xa8], 0xfffffffd
mov dword [ebp + 0x84], 3
mov edx, esi
call fcn.00420350
test eax, eax
jne 0x423956
lea edx, [eax + 2]
cmp byte [edi + 0x26b], al
je 0x42378b
lea edx, [eax + 3]
mov eax, dword [edi + 0x484]
mov ebx, dword [ebp + 0x68]
sub ebx, eax
push eax
mov ecx, ebx
mov eax, esi
call fcn.00415a80
add esp, 4
test eax, eax
jne 0x423a11
add dword [edi + 0x48], ebx
add dword [edi + 0x85ac], ebx
mov eax, dword [ebp + 0x78]
cmp eax, 0x64
mov ecx, dword [edi + 0x48]
jl 0x4237c6
cmp eax, 0xc7
jle 0x4237c8
xor ecx, ecx
mov edx, dword [edi + 0x8578]
or edx, dword [edi + 0x857c]
mov dword [edi + 0x4c], ecx
je 0x423837
cmp dword [edi + 0x1e8], 1
jne 0x423837
cmp dword [ebp + 0x78], 0x1a0
jne 0x423837
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
mov esi, dword [esp + 0x20]
cmp byte [ebp + 0x48], 0
je 0x423976
mov edx, dword [esi + 0x484]
mov edi, dword [esp + 0x20]
mov dword [ebp + 0x54], edx
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
mov dword [ebp + 0x58], 0
jne 0x423a0f
mov ecx, dword [ebp + 0x5c]
cmp byte [ecx], 0
jne 0x422e20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x2c]
cmp byte [ecx], 0
jne 0x4237f2
mov edi, esi
call fcn.0041fea0
test eax, eax
jne 0x423a11
cmp byte [esi + 0x12b], al
je 0x4237f2
mov esi, dword [esp + 0x20]
push str.Keep_sending_data_to_get_tossed_away__n
mov ecx, esi
call fcn.00415780
add esp, 4
or dword [ebp + 0xa8], 2
jmp 0x4237f6
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
call fcn.00422d60
add esp, 4
test eax, eax
jne 0x423a11
cmp dword [ebp + 0x50], eax
jne 0x423a0f
cmp dword [ebp + 0x58], 5
jbe 0x423a0f
mov ecx, dword [edi + 0x484]
push ecx
mov eax, edi
call fcn.00422cf0
add esp, 4
test al, al
jne 0x423a0f
mov byte [ebp + 0x48], al
mov dword [ebp + 0x4c], 2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov byte [ebp + 0x48], 0
cmp dword [eax], 0
je 0x4238e8
mov dword [ebp + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x4c], 2
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
mov eax, edi
call fcn.00415840
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov byte [ebp + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
mov eax, edi
call fcn.00415840
add esp, 4
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebp + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
mov eax, edi
call fcn.00415840
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [esi + 0x26e], 0
je 0x423988
mov edx, dword [esp + 0x2c]
mov byte [edx], 1
jmp 0x42399f
cmp byte [ebp + 0xc0], 0
je 0x42399f
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
cmp eax, 0xffffffff
jne 0x4239ae
cmp ecx, eax
je 0x4239c6
push ecx
push eax
mov eax, esi
call fcn.0041bbe0
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
add esp, 8
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
cmp dword [ebp + 0x10], 0
jne 0x4239db
cmp dword [ebp + 0x14], 0
jne 0x4239db
mov edx, dword [esp + 0x2c]
mov byte [edx], 1
jmp 0x4239e4
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
je 0x4239eb
and dword [ebp + 0xa8], 0xfffffffe
cmp byte [esi + 0x278], 0
je 0x423a0f
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x60]
mov esi, dword [esp + 0x20]
push ecx
push ebx
push edx
mov ebx, 1
call fcn.00415d10
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret