Function at 0x4b5390
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x50]
nop
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [esi]
push 0xa
push eax
call fcn.005a40a0
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x4b623f
sub eax, dword [edi + 0x5c]
inc eax
sub dword [esi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.004b63e0
add esp, 0xc
test eax, eax
jne 0x4b627d
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x61c]
mov dword [edi + 0x68], eax
jne 0x4b541d
cmp dword [edi + 0x58], 5
jbe 0x4b541d
push dword [ebx + 0x61c]
push esi
push ebx
call fcn.004b6310
add esp, 0xc
test al, al
je 0x4b60ba
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x4b5e21
cmp al, 0xd
je 0x4b5e25
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x4b56be
mov eax, dword [esi + 0x2c0]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x4b5538
lea ecx, [edi + 0x78]
push ecx
lea eax, [esi + 0x188]
push eax
lea eax, [ebp + 8]
push eax
push str._HTTP__d._d__d
push edx
call fcn.0047c6f0
add esp, 0x14
cmp eax, 1
jne 0x4b54a3
cmp dword [ebp + 8], 2
jne 0x4b54e7
lea eax, [edi + 0x78]
push eax
push str._HTTP_2__d
push dword [edi + 0x68]
call fcn.0047c6f0
add esp, 0xc
cmp eax, 1
jne 0x4b54e7
lea ecx, [esi + 0x188]
mov dword [ecx], 0
jmp 0x4b54ae
cmp eax, 3
jne 0x4b54e7
lea ecx, [esi + 0x188]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [edi + 0x88], 2
jne 0x4b5583
cmp dword [ecx], 0x14
je 0x4b5583
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.004b01a0
add esp, 8
lea ecx, [esi + 0x188]
jmp 0x4b5583
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.0047c6f0
add esp, 0xc
mov dword [esi + 0x188], 0xa
lea ecx, [esi + 0x188]
test eax, eax
jne 0x4b5583
push dword [edi + 0x68]
push ebx
call fcn.004b6290
add esp, 8
test al, al
je 0x4b6277
lea ecx, [esi + 0x188]
mov dword [edi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x4b5583
test eax, 0x40000
je 0x4b6277
lea eax, [edi + 0x78]
push eax
lea ecx, [esi + 0x18c]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.0047c6f0
add esp, 0x14
cmp eax, 3
jne 0x4b6277
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x188]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x18c], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x8774], eax
mov eax, dword [ecx]
mov dword [ebx + 0x877c], eax
mov eax, dword [ebx + 0x86fc]
test eax, eax
je 0x4b55a2
cmp eax, dword [ecx]
jle 0x4b55aa
mov eax, dword [ecx]
mov dword [ebx + 0x86fc], eax
cmp byte [ebx + 0x338], 0
je 0x4b560b
mov edx, dword [edi + 0x78]
cmp edx, 0x190
jl 0x4b560b
cmp edx, 0x191
jne 0x4b55cf
cmp byte [esi + 0x28c], 0
jne 0x4b560b
cmp edx, 0x197
jne 0x4b55e0
cmp byte [esi + 0x28d], 0
jne 0x4b560b
mov eax, dword [ebx + 0x8718]
or eax, dword [ebx + 0x871c]
je 0x4b60eb
cmp dword [ebx + 0x248], 1
jne 0x4b60eb
cmp edx, 0x1a0
jne 0x4b60eb
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x4b562a
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.004b01a0
push 1
push esi
call fcn.004b09c0
add esp, 0x10
jmp 0x4b567d
cmp eax, 0x14
je 0x4b5671
cmp dword [edi + 0x88], 1
jne 0x4b563e
cmp dword [edi + 0x78], 0x65
je 0x4b5671
cmp eax, 0xb
jl 0x4b567d
cmp byte [esi + 0x285], 0
jne 0x4b567d
cmp dword [esi + 0x51c], 0
je 0x4b567d
push esi
push ebx
call fcn.004ba200
add esp, 8
test al, al
jne 0x4b567d
mov eax, dword [esi + 0x51c]
mov dword [eax], 1
jmp 0x4b567d
mov eax, dword [esi + 0x51c]
mov dword [eax], 2
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x4b568c
sub eax, 0x64
jne 0x4b56be
cmp dword [ebx + 0x23c], 0
je 0x4b569c
mov byte [ebx + 0x8784], 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
cmp byte [edi + 0xae], 0
jne 0x4b5779
cmp byte [ebx + 0x35f], 0
jne 0x4b5779
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5779
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.005b6c4a
mov ecx, dword [ebx + 0x318]
add esp, 0xc
or ecx, dword [ebx + 0x31c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
je 0x4b5733
cmp edx, dword [ebx + 0x31c]
jg 0x4b6100
jl 0x4b5733
cmp eax, dword [ebx + 0x318]
ja 0x4b6100
test edx, edx
jl 0x4b5758
jg 0x4b573d
test eax, eax
jb 0x4b5758
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.004b8d40
add esp, 0xc
jmp 0x4b5dba
push 2
push esi
call fcn.004b09c0
push dword [ebp - 4]
push dword [ebp - 0xc]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.004b01a0
add esp, 0x18
jmp 0x4b5dba
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b57d2
push dword [edi + 0x68]
call fcn.004b4e50
mov esi, eax
add esp, 4
test esi, esi
je 0x4b611a
cmp byte [esi], 0
jne 0x4b57b8
push esi
call dword [0x65b004]
add esp, 4
jmp 0x4b5dba
push dword [ebx + 0x879c]
call dword [0x65b004]
add esp, 4
mov dword [ebx + 0x879c], esi
jmp 0x4b5dba
push 7
push dword [edi + 0x68]
push str.Server:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b583e
cmp dword [esi + 0x188], 0x14
jge 0x4b5dba
push dword [edi + 0x68]
call fcn.004b4e50
mov ecx, dword [esi + 0x51c]
add esp, 4
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4b582f
cmp dword [ecx], 1
jne 0x4b582f
push eax
push ebx
call fcn.004b9f90
add esp, 8
test al, al
je 0x4b582c
mov eax, dword [esi + 0x51c]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 4]
push eax
call dword [0x65b004]
add esp, 4
jmp 0x4b5dba
cmp dword [esi + 0x188], 0xa
jne 0x4b5884
cmp byte [esi + 0x28a], 0
je 0x4b5884
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.004b4d80
add esp, 0xc
test al, al
je 0x4b5884
push 0
push esi
call fcn.004b09c0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.004b01a0
add esp, 0x10
jmp 0x4b5dba
cmp dword [esi + 0x188], 0xb
jne 0x4b58ca
cmp byte [esi + 0x28a], 0
je 0x4b58ca
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.004b4d80
add esp, 0xc
test al, al
je 0x4b58ca
push 1
push esi
call fcn.004b09c0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.004b01a0
add esp, 0x10
jmp 0x4b5dba
cmp dword [esi + 0x188], 0xa
jne 0x4b5907
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.004b4d80
add esp, 0xc
test al, al
je 0x4b5907
push 0
push esi
call fcn.004b09c0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.004b01a0
add esp, 0x10
jmp 0x4b5dba
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.004b4d80
add esp, 0xc
test al, al
je 0x4b5930
push 2
push esi
call fcn.004b09c0
add esp, 8
jmp 0x4b5dba
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5a42
mov esi, dword [edi + 0x68]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x4b5973
movzx eax, al
push eax
call fcn.005b7a27
add esp, 4
test eax, eax
jne 0x4b596b
cmp byte [esi], 0x2c
jne 0x4b5973
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b5956
push 7
push esi
push str.chunked
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b599c
push dword [ebp + 0xc]
mov byte [edi + 0xc0], 1
call fcn.004d4060
add esp, 4
add esi, 7
cmp dword [edi + 0x8c], 0
jne 0x4b5dba
push 8
push esi
push str.identity
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b59cc
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x4b5950
push 7
push esi
push str.deflate
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b59f2
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x4b5950
push 4
push esi
push str.gzip
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5a18
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x4b5950
push 6
push esi
push str.x_gzip
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5dba
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x4b5950
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5b0e
cmp dword [ebx + 0x39c], 0
je 0x4b5b0e
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x4b5a8d
movzx eax, al
push eax
call fcn.005b7a27
add esp, 4
test eax, eax
je 0x4b5a8d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b5a75
push 8
push esi
push str.identity
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5ab0
mov dword [edi + 0x8c], 0
jmp 0x4b5dba
push 7
push esi
push str.deflate
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5ad3
mov dword [edi + 0x8c], 1
jmp 0x4b5dba
push 4
push esi
push str.gzip
call fcn.004ba4d0
add esp, 0xc
test eax, eax
jne 0x4b5aff
push 6
push esi
push str.x_gzip
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5dba
mov dword [edi + 0x8c], 2
jmp 0x4b5dba
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5bb1
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x4b5b51
movzx eax, al
push eax
call fcn.005b796f
add esp, 4
test eax, eax
jne 0x4b5b51
cmp byte [esi], 0x2a
je 0x4b5b51
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b5b34
movzx eax, byte [esi]
push eax
call fcn.005b796f
add esp, 4
test eax, eax
je 0x4b5b98
push 0xa
push 0
push esi
call fcn.005b6c4a
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8718]
cmp eax, dword [edi + 0x70]
jne 0x4b5dba
cmp dword [ebx + 0x871c], edx
jne 0x4b5dba
mov byte [edi + 0x6c], 1
jmp 0x4b5dba
mov dword [ebx + 0x8718], 0
mov dword [ebx + 0x871c], 0
jmp 0x4b5dba
cmp dword [ebx + 0x4d0], 0
je 0x4b5c19
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5c19
push 2
push 2
push ebx
call fcn.004bacf0
mov eax, dword [esi + 0x2f0]
add esp, 0xc
test eax, eax
jne 0x4b5bed
mov eax, dword [esi + 0x98]
push dword [ebx + 0x8708]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x4d0]
push ebx
call fcn.004a3fd0
push 2
push ebx
call fcn.004bad30
add esp, 0x20
jmp 0x4b5dba
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5c85
cmp dword [ebx + 0x23c], 0
jne 0x4b5c41
cmp byte [ebx + 0x331], 0
je 0x4b5c85
push 0
call fcn.005b7fdd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0x14], edx
push eax
call fcn.004ba620
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x331], 0
je 0x4b5dba
mov dword [ebx + 0x8780], eax
jmp 0x4b5dba
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5ca5
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x4b5cc5
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5d0d
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x4b5d0d
push dword [edi + 0x68]
cmp eax, 0x197
sete byte [ebp - 0x10]
call fcn.004b4e50
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b611a
push eax
push dword [ebp - 0x10]
push esi
call fcn.004b50f0
push dword [ebp - 0xc]
mov esi, eax
call dword [0x65b004]
add esp, 0x10
test esi, esi
je 0x4b5dba
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x4b5d97
cmp eax, 0x190
jge 0x4b5d97
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.004ba4d0
add esp, 0xc
test eax, eax
je 0x4b5d97
cmp dword [ebx + 0x100], 0
jne 0x4b5d97
push dword [edi + 0x68]
call fcn.004b4e50
add esp, 4
test eax, eax
je 0x4b611a
cmp byte [eax], 0
jne 0x4b5d65
push eax
call dword [0x65b004]
add esp, 4
jmp 0x4b5dba
cmp byte [ebx + 0x33a], 0
mov dword [ebx + 0x100], eax
je 0x4b5dba
push eax
call dword [0x65b00c]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x4b611a
push esi
call fcn.004b6590
add esp, 4
jmp 0x4b5db2
mov eax, dword [esi + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4b5dba
push dword [edi + 0x68]
push esi
call fcn.004c18d0
add esp, 8
test eax, eax
jne 0x4b627d
cmp byte [ebx + 0x33d], 0
mov eax, 2
mov esi, dword [ebp + 0xc]
mov ecx, 3
cmovne eax, ecx
cmp byte [ebx + 0x348], 0
mov dword [ebp - 0xc], eax
je 0x4b5df2
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.004b0020
mov eax, dword [ebp - 0xc]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.004afff0
add esp, 0x10
test eax, eax
jne 0x4b627d
mov eax, dword [edi + 0x58]
add dword [ebx + 0x8788], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x4b6095
cmp al, 0xd
jne 0x4b5e2b
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x4b5e37
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x4b5e9d
cmp eax, 0xc7
jg 0x4b5e9d
sub eax, 0x64
je 0x4b5e76
sub eax, 1
je 0x4b5e60
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
jmp 0x4b5ef4
cmp dword [edi + 0x88], 1
je 0x4b6126
mov byte [edi + 0x48], 0
jmp 0x4b5ef4
cmp dword [edi + 0x84], 0
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
jle 0x4b5ef4
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x4b5ef4
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x4b5ef4
cmp byte [edi + 0xc0], 0
jne 0x4b5ef4
cmp byte [esi + 0x285], 0
jne 0x4b5efd
cmp dword [esi + 0x188], 0xb
jne 0x4b5ef4
mov eax, dword [esi + 0x2c0]
test dword [eax + 0x3c], 0x40000
jne 0x4b5ef4
cmp dword [ebx + 0x248], 5
je 0x4b5ef4
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.004b01a0
push 2
push esi
call fcn.004b09c0
add esp, 0x10
cmp byte [esi + 0x285], 0
je 0x4b5f38
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x4b5f13
cmp dword [esi + 0x31c], 2
je 0x4b5f23
cmp eax, 0x197
jne 0x4b5f38
cmp dword [esi + 0x334], 2
jne 0x4b5f38
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.004b01a0
add esp, 8
mov byte [ebx + 0x86c8], 1
push esi
call fcn.004b6770
add esp, 4
test eax, eax
jne 0x4b6222
cmp byte [ebx + 0x33d], al
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x61c]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp - 4], edx
call fcn.004afff0
add esp, 0x10
test eax, eax
jne 0x4b627d
mov eax, dword [ebp - 4]
add dword [ebx + 0x80], eax
add dword [ebx + 0x8788], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x4b5fa2
cmp eax, 0xc7
jle 0x4b5fa4
xor ecx, ecx
push esi
mov dword [ebx + 0x84], ecx
call fcn.004b4f20
add esp, 4
test eax, eax
jne 0x4b627d
cmp dword [edi + 0x78], 0x12c
jl 0x4b608b
cmp byte [esi + 0x296], al
jne 0x4b606d
cmp byte [esi + 0x285], al
jne 0x4b606d
cmp byte [esi + 0x297], al
jne 0x4b6076
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4b606d
cmp byte [edi + 0xac], 0
jne 0x4b606d
cmp byte [ebx + 0x339], 0
je 0x4b6036
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.004b01a0
add esp, 8
cmp dword [edi + 0x84], 0
jle 0x4b606d
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x4b606d
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.004b01a0
push 2
push esi
call fcn.004b09c0
and dword [edi + 0xa8], 0xfffffffd
add esp, 0x10
mov byte [edi + 0xac], 1
cmp byte [ebx + 0x8700], 0
je 0x4b606d
mov dword [edi + 0x84], 3
cmp byte [esi + 0x297], 0
je 0x4b608b
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.004b01a0
add esp, 8
or dword [edi + 0xa8], 2
cmp byte [edi + 0x48], 0
je 0x4b6155
mov eax, dword [ebx + 0x61c]
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x4b53a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [edi + 0x48], 0
cmp dword [ecx], 0
je 0x4b60d6
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x4c], 2
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004b69a0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.004b0100
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push ebx
call fcn.004b01a0
add esp, 8
mov dword [edi + 0x88], 2
mov byte [edi + 0x48], 1
mov eax, 1
mov dword [edi + 0x50], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x340], 0
je 0x4b6166
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x4b61b7
mov eax, dword [esi + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4b6193
cmp dword [ebx + 0x46c], 2
jne 0x4b6193
cmp dword [edi + 4], 0xffffffff
jg 0x4b6193
jl 0x4b618b
cmp dword [edi], 0xffffffff
ja 0x4b6193
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x4b61b7
cmp byte [edi + 0xc0], 0
je 0x4b61b7
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 0x4b61c5
cmp eax, ecx
je 0x4b61db
push eax
push ecx
push ebx
call fcn.004b8d40
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x4b61ef
cmp dword [edi + 0x14], 0
jne 0x4b61ef
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x4b61f7
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x4b61fe
and dword [edi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x348], 0
je 0x4b627b
push esi
push dword [ebp - 4]
push dword [edi + 0x60]
push 1
push ebx
call fcn.004b0020
add esp, 0x14
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 ebx
call fcn.004b0100
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push edi
push ebx
call fcn.004b63e0
add esp, 0xc
test eax, eax
jne 0x4b627d
cmp dword [edi + 0x50], eax
jne 0x4b627b
cmp dword [edi + 0x58], 5
jbe 0x4b627b
push dword [ebx + 0x61c]
push dword [ebp + 0xc]
push ebx
call fcn.004b6310
add esp, 0xc
test al, al
jne 0x4b627b
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