Function at 0x4a82a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
mov dword [ebp - 0x10], esi
mov edi, dword [esi + 0xac]
mov dword [esi + 0xb0], edi
push dword [eax]
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
mov ebx, eax
add esp, 0xc
mov dword [esi + 0xb4], ebx
test ebx, ebx
je 0x4a9035
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
mov dword [ebp - 0x14], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov dword [ebp - 0xc], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov eax, dword [ebp + 8]
lea edx, [esi + 0x50]
sub ebx, edi
mov ecx, esi
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0xb4]
inc eax
mov dword [esi + 0xac], eax
sub eax, dword [esi + 0xb0]
push eax
call fcn.004a8130
add esp, 4
test eax, eax
jne 0x4a9329
mov eax, dword [esi + 0xa4]
mov edi, dword [esi + 0xa0]
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0x604]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0xb8], ecx
test edi, edi
jne 0x4a83a0
cmp dword [esi + 0xa8], 5
jbe 0x4a83a0
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x604]
mov eax, dword [eax + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4a838e
push 5
mov ecx, str.RTSP_
call fcn.004bf8c0
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x4a8395
mov ecx, esi
call fcn.004a8010
test eax, eax
je 0x4a9144
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx]
cmp al, 0xa
je 0x4a8e47
cmp al, 0xd
je 0x4a8e4b
lea eax, [edi + 1]
mov dword [esi + 0xa0], eax
test edi, edi
jne 0x4a85cc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c0]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x4a8506
lea ebx, [esi + 0xc8]
push ebx
lea edi, [edx + 0x13c]
push edi
lea eax, [ebp - 0x1c]
push eax
push str._HTTP__d._d__3d
push ecx
call fcn.004727e0
add esp, 0x14
cmp eax, 3
jne 0x4a84be
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
mov dword [esi + 0x8f9c], eax
mov eax, dword [edi]
mov dword [esi + 0x8fa4], eax
mov eax, dword [esi + 0x8f38]
test eax, eax
je 0x4a842b
cmp eax, dword [edi]
jle 0x4a8433
mov eax, dword [edi]
mov dword [esi + 0x8f38], eax
cmp dword [esi + 0x340], 0
je 0x4a8493
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x4a8493
cmp ecx, 0x191
jne 0x4a8457
cmp dword [edx + 0x25c], 0
jne 0x4a8493
cmp ecx, 0x197
jne 0x4a8468
cmp dword [edx + 0x260], 0
jne 0x4a8493
mov eax, dword [esi + 0x8f60]
or eax, dword [esi + 0x8f64]
je 0x4a917e
cmp dword [esi + 0x2a8], 1
jne 0x4a917e
cmp ecx, 0x1a0
jne 0x4a917e
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4a855c
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.00490900
mov eax, dword [ebp - 8]
add esp, 8
mov dword [eax + 0x24c], 1
jmp 0x4a8585
push ebx
push str._HTTP__3d
push dword [esi + 0xb8]
call fcn.004727e0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4a840a
mov edx, dword [esi + 0xb8]
mov ecx, esi
call fcn.004a8010
test eax, eax
je 0x4a931d
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x4a840a
test eax, 0x40000
je 0x4a931d
lea ebx, [esi + 0xc8]
push ebx
lea edi, [edx + 0x140]
push edi
lea eax, [ebp - 0x20]
push eax
push str._RTSP__d._d__3d
push ecx
call fcn.004727e0
add esp, 0x14
cmp eax, 3
jne 0x4a931d
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
mov dword [edx + 0x13c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [edx + 0x13c]
jmp 0x4a840d
cmp eax, 0xb
jl 0x4a8585
cmp dword [edx + 0x24c], 0
jne 0x4a8585
mov edi, dword [edx + 0x5c8]
test edi, edi
je 0x4a8585
mov ecx, esi
call fcn.004a1c40
test eax, eax
jne 0x4a8585
mov dword [edi], 1
mov eax, dword [ebx]
sub eax, 0xcc
je 0x4a8593
sub eax, 0x64
jne 0x4a85cc
cmp dword [esi + 0x298], 0
je 0x4a85a6
mov dword [esi + 0x8fac], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x144], 1
cmp dword [esi + 0x144], 0
jne 0x4a8676
cmp dword [esi + 0x3a0], 0
jne 0x4a8676
mov edi, dword [esi + 0xb8]
mov ecx, str.Content_Length:
push 0xf
mov edx, edi
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8676
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call dword [ebp - 0x14]
mov ebx, dword [esi + 0x308]
add esp, 0xc
mov edi, dword [esi + 0x30c]
mov ecx, ebx
or ecx, edi
je 0x4a8633
cmp edx, edi
jg 0x4a920e
jl 0x4a8633
cmp eax, ebx
ja 0x4a920e
test edx, edx
jl 0x4a8657
jg 0x4a863d
test eax, eax
jb 0x4a8657
push edx
push eax
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
call fcn.004a9940
add esp, 8
jmp 0x4a86b5
mov ecx, dword [ebp - 8]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push esi
mov dword [ecx + 0x24c], 1
call fcn.00490900
add esp, 0x10
jmp 0x4a86b5
mov edi, dword [esi + 0xb8]
mov ecx, str.Content_Type:
push 0xd
mov edx, edi
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8740
mov ecx, edi
call fcn.004a4d80
mov edi, eax
test edi, edi
je 0x4a9228
cmp byte [edi], 0
jne 0x4a8721
push edi
call dword [0x5bcc7c]
add esp, 4
mov ecx, dword [ebp - 8]
xor ebx, ebx
cmp dword [esi + 0x350], ebx
setne bl
cmp dword [esi + 0x36c], 0
je 0x4a86e8
push ecx
push dword [esi + 0xa8]
mov edx, 1
mov ecx, esi
push dword [esi + 0xb8]
call fcn.004911b0
add esp, 0xc
push dword [esi + 0xa8]
mov ecx, dword [ebp - 8]
lea edx, [ebx + 2]
push dword [esi + 0xb8]
call fcn.00490e50
add esp, 8
test eax, eax
jne 0x4a9329
mov eax, dword [esi + 0xa8]
add dword [esi + 0x8fb0], eax
add dword [esi + 0x80], eax
jmp 0x4a8fde
mov eax, dword [esi + 0x8fc4]
test eax, eax
je 0x4a8735
push eax
call dword [0x5bcc7c]
add esp, 4
mov dword [esi + 0x8fc4], edi
jmp 0x4a86b5
push 7
mov edx, edi
mov ecx, str.Server:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a87f3
mov ecx, edi
call fcn.004a4d80
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax + 0x5c8]
test ecx, ecx
je 0x4a87c8
cmp dword [ecx], 0
je 0x4a87c8
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4a87c8
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4a87b9
mov edi, dword [eax]
test edi, edi
je 0x4a87b9
nop dword [eax + eax]
mov ecx, dword [edi]
mov edx, ecx
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a8797
sub edx, ebx
mov ebx, dword [ebp - 0x18]
push edx
mov edx, ebx
call fcn.004bf8c0
add esp, 4
test eax, eax
jne 0x4a87d6
mov edi, dword [edi + 8]
test edi, edi
jne 0x4a8790
push ebx
push str.Server__s_is_not_blacklisted_n
push esi
call fcn.00490900
add esp, 0xc
test ebx, ebx
je 0x4a86b5
push ebx
jmp 0x4a86ac
push ebx
push str.Server__s_is_blacklisted_n
push esi
call fcn.00490900
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c8]
mov dword [eax], 0
jmp 0x4a87c5
mov ebx, dword [ebp - 8]
cmp dword [ebx + 0x13c], 0xa
jne 0x4a883f
cmp dword [ebx + 0x258], 0
je 0x4a883f
push str.keep_alive
mov edx, str.Proxy_Connection:
mov ecx, edi
call fcn.004a6090
add esp, 4
test eax, eax
je 0x4a883f
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
mov dword [ebx + 0x24c], 0
call fcn.00490900
add esp, 8
mov ecx, ebx
jmp 0x4a86b8
cmp dword [ebx + 0x13c], 0xb
jne 0x4a888c
cmp dword [ebx + 0x258], 0
je 0x4a888c
mov ecx, dword [esi + 0xb8]
mov edx, str.Proxy_Connection:
push str.close
call fcn.004a6090
add esp, 4
test eax, eax
je 0x4a888c
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
mov dword [ebx + 0x24c], 1
call fcn.00490900
add esp, 8
mov ecx, ebx
jmp 0x4a86b8
cmp dword [ebx + 0x13c], 0xa
jne 0x4a88d0
mov ecx, dword [esi + 0xb8]
mov edx, str.Connection:
push str.keep_alive
call fcn.004a6090
add esp, 4
test eax, eax
je 0x4a88d0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
mov dword [ebx + 0x24c], 0
call fcn.00490900
add esp, 8
mov ecx, ebx
jmp 0x4a86b8
mov ecx, dword [esi + 0xb8]
mov edx, str.Connection:
push str.close
call fcn.004a6090
add esp, 4
test eax, eax
je 0x4a88fd
mov dword [ebx + 0x24c], 1
mov ecx, ebx
jmp 0x4a86b8
mov edi, dword [esi + 0xb8]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, edi
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8a97
add edi, 0x12
nop
mov al, byte [edi]
test al, al
je 0x4a894d
mov ebx, dword [ebp - 0xc]
nop dword [eax]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x4a8942
cmp byte [edi], 0x2c
jne 0x4a894a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a8930
mov ebx, dword [ebp - 8]
push 7
mov edx, edi
mov ecx, str.chunked
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8984
mov dword [esi + 0x158], 1
add edi, 7
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x20], 0
cmp dword [esi + 0xdc], 0
jne 0x4a86b5
push 8
mov edx, edi
mov ecx, str.identity
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a89bc
mov eax, 8
mov dword [esi + 0xdc], 0
add edi, eax
jmp 0x4a8920
push 7
mov edx, edi
mov ecx, str.deflate
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a89e7
mov eax, 7
mov dword [esi + 0xdc], 1
add edi, eax
jmp 0x4a8920
push 4
mov edx, edi
mov ecx, str.gzip
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8a12
mov eax, 4
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x4a8920
push 6
mov edx, edi
mov ecx, str.x_gzip
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8a3d
mov eax, 6
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x4a8920
push 8
mov edx, edi
mov ecx, str.compress
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8a68
mov eax, 8
mov dword [esi + 0xdc], 3
add edi, eax
jmp 0x4a8920
push 0xa
mov edx, edi
mov ecx, str.x_compress
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a86b5
mov eax, 0xa
mov dword [esi + 0xdc], 3
add edi, eax
jmp 0x4a8920
push 0x11
mov edx, edi
mov ecx, str.Content_Encoding:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8bb1
cmp dword [esi + 0x3e0], 0
jne 0x4a8ac6
cmp dword [ebx + 0x13c], 0x14
jne 0x4a8bb1
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x4a8aeb
mov esi, dword [ebp - 0xc]
movzx eax, al
push eax
call esi
add esp, 4
test eax, eax
je 0x4a8ae8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a8ad3
mov esi, dword [ebp - 0x10]
push 8
mov edx, edi
mov ecx, str.identity
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8b11
mov dword [esi + 0xdc], 0
mov ecx, ebx
jmp 0x4a86b8
push 7
mov edx, edi
mov ecx, str.deflate
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8b37
mov dword [esi + 0xdc], 1
mov ecx, ebx
jmp 0x4a86b8
push 4
mov edx, edi
mov ecx, str.gzip
call fcn.004bf8c0
add esp, 4
test eax, eax
jne 0x4a8ba0
push 6
mov edx, edi
mov ecx, str.x_gzip
call fcn.004bf8c0
add esp, 4
test eax, eax
jne 0x4a8ba0
push 8
mov edx, edi
mov ecx, str.compress
call fcn.004bf8c0
add esp, 4
test eax, eax
jne 0x4a8b8f
push 0xa
mov edx, edi
mov ecx, str.x_compress
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8c9e
mov dword [esi + 0xdc], 3
mov ecx, ebx
jmp 0x4a86b8
mov dword [esi + 0xdc], 2
mov ecx, ebx
jmp 0x4a86b8
push 0xe
mov edx, edi
mov ecx, str.Content_Range:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8c31
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4a8beb
mov esi, dword [ebp - 0x24]
movzx eax, al
push eax
call esi
add esp, 4
test eax, eax
jne 0x4a8be8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a8bd3
mov esi, dword [ebp - 0x10]
push 0xa
push 0
push edi
call dword [ebp - 0x14]
mov dword [esi + 0xc0], eax
add esp, 0xc
mov dword [esi + 0xc4], edx
mov eax, dword [esi + 0x8f60]
cmp eax, dword [esi + 0xc0]
jne 0x4a8c9e
mov ecx, ebx
cmp dword [esi + 0x8f64], edx
jne 0x4a86b8
mov dword [esi + 0xbc], 1
jmp 0x4a86b8
cmp dword [esi + 0x4d8], 0
je 0x4a8ca5
push 0xb
mov edx, edi
mov ecx, str.Set_Cookie:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8ca5
push ecx
mov edx, 2
mov ecx, esi
call fcn.004aaab0
mov eax, dword [ebx + 0x2f0]
add esp, 4
test eax, eax
jne 0x4a8c6f
mov eax, dword [ebx + 0x98]
push dword [esi + 0x8f48]
mov edx, dword [esi + 0x4d8]
mov ecx, esi
push eax
mov eax, dword [esi + 0xb8]
add eax, 0xb
push eax
push 1
call fcn.0049bf50
add esp, 0x10
mov edx, 2
mov ecx, esi
call fcn.004aaaf0
mov ecx, ebx
jmp 0x4a86b8
push 0xe
mov edx, edi
mov ecx, str.Last_Modified:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8d08
cmp dword [esi + 0x298], 0
jne 0x4a8ccc
cmp dword [esi + 0x324], 0
je 0x4a8d08
push 0
call dword [ebp - 0x28]
mov ecx, dword [esi + 0xb8]
add esp, 4
add ecx, 0xe
call fcn.004c6640
mov dword [esi + 0x120], eax
mov ecx, ebx
mov dword [esi + 0x124], edx
cmp dword [esi + 0x324], 0
je 0x4a86b8
mov dword [esi + 0x8fa8], eax
jmp 0x4a86b8
push 0x11
mov edx, edi
mov ecx, str.WWW_Authenticate:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8d2b
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x191
je 0x4a8d4e
push 0x13
mov edx, edi
mov ecx, str.Proxy_authenticate:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8d93
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x197
jne 0x4a8d93
mov ecx, edi
call fcn.004a4d80
mov edi, eax
test edi, edi
je 0x4a9228
mov ecx, dword [ebp - 8]
xor edx, edx
cmp ebx, 0x197
push edi
sete dl
call fcn.004a57c0
add esp, 4
mov ebx, eax
push edi
call dword [0x5bcc7c]
add esp, 4
test ebx, ebx
je 0x4a86b5
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4a8e1b
push 9
mov edx, edi
mov ecx, str.Location:
call fcn.004bf8c0
add esp, 4
test eax, eax
je 0x4a8e1b
cmp dword [esi + 0x148], 0
jne 0x4a8e1b
mov ecx, edi
call fcn.004a4d80
test eax, eax
je 0x4a9228
cmp byte [eax], 0
jne 0x4a8ddb
push eax
jmp 0x4a86ac
cmp dword [esi + 0x344], 0
mov dword [esi + 0x148], eax
je 0x4a86b5
push eax
call dword [0x5bcc80]
add esp, 4
mov dword [esi + 0x14c], eax
test eax, eax
je 0x4a9228
mov ecx, dword [ebp - 8]
call fcn.004a4fd0
test eax, eax
jne 0x4a9329
jmp 0x4a86b5
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4a86b8
mov edx, edi
call fcn.004b15f0
test eax, eax
je 0x4a86b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0xd
jne 0x4a8e54
inc ecx
mov dword [esi + 0xb8], ecx
mov al, byte [ecx]
cmp al, 0xa
jne 0x4a8e61
lea eax, [ecx + 1]
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4a90c4
mov dword [esi + 0x98], 1
mov dword [esi + 0xa0], 0
sub ecx, 0x64
je 0x4a909e
sub ecx, 1
jne 0x4a8eb6
cmp dword [esi + 0xd8], 1
jne 0x4a8eb6
push str.Received_101_n
push esi
call fcn.00490900
add esp, 8
mov dword [esi + 0xd8], 2
mov ebx, dword [ebp - 8]
mov ecx, ebx
call fcn.004a5b00
test eax, eax
jne 0x4a92e8
mov eax, dword [esi + 0x604]
xor edx, edx
mov edi, dword [esi + 0xb8]
sub edi, eax
cmp dword [esi + 0x350], edx
push edi
setne dl
push eax
add edx, 2
call fcn.00490e50
add esp, 8
test eax, eax
jne 0x4a9329
add dword [esi + 0x80], edi
xor edx, edx
add dword [esi + 0x8fb0], edi
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x80]
sub eax, 0x64
cmp eax, 0x63
mov eax, dword [ebp + 0xc]
cmova ecx, edx
mov dword [esi + 0x84], ecx
cmp dword [eax], edx
jne 0x4a8fd1
mov ecx, ebx
call fcn.004a5180
test eax, eax
jne 0x4a9329
cmp dword [esi + 0xc8], 0x12c
jl 0x4a8fb0
cmp dword [ebx + 0x284], eax
jne 0x4a8fb0
cmp dword [ebx + 0x24c], eax
jne 0x4a8fb0
cmp dword [ebx + 0x288], eax
jne 0x4a8fb9
mov eax, dword [esi + 0x2a8]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4a8fb0
cmp dword [esi + 0x13c], 0
jne 0x4a8fb0
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.00490900
mov dword [ebx + 0x24c], 1
add esp, 8
and dword [esi + 0x138], 0xfffffffd
mov dword [esi + 0x13c], 1
cmp dword [esi + 0x8f3c], 0
je 0x4a8fb0
mov dword [esi + 0xd4], 3
cmp dword [ebx + 0x288], 0
je 0x4a8fce
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.00490900
add esp, 8
or dword [esi + 0x138], 2
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x98], 0
je 0x4a9234
mov eax, dword [esi + 0x604]
mov dword [esi + 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xa8], 0
cmp dword [eax], 0
jne 0x4a9327
mov edi, dword [esi + 0xac]
cmp byte [edi], 0
je 0x4a9327
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], edi
push dword [eax]
push 0xa
push edi
call sub.VCRUNTIME140.dll_memchr
mov ebx, eax
add esp, 0xc
mov dword [esi + 0xb4], ebx
test ebx, ebx
jne 0x4a8300
mov eax, dword [ebp + 8]
lea edx, [esi + 0x50]
mov ecx, esi
push dword [eax]
call fcn.004a8130
add esp, 4
test eax, eax
jne 0x4a9329
cmp dword [esi + 0xa0], eax
jne 0x4a9327
cmp dword [esi + 0xa8], 5
jbe 0x4a9327
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x604]
mov eax, dword [eax + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4a9308
push 5
mov ecx, str.RTSP_
call fcn.004bf8c0
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x4a930f
cmp dword [esi + 0xd4], 0
mov ebx, dword [ebp - 8]
je 0x4a8eb9
or dword [esi + 0x138], 2
mov dword [esi + 0xd4], 0
jmp 0x4a8eb9
mov eax, dword [esi + 0x50]
and eax, dword [esi + 0x54]
mov dword [esi + 0x98], 0
cmp eax, 0xffffffff
jne 0x4a8eb6
cmp dword [esi + 0x158], 0
mov ebx, dword [ebp - 8]
jne 0x4a8eb9
cmp dword [ebx + 0x24c], 0
jne 0x4a8eb9
cmp dword [ebx + 0x13c], 0xb
jne 0x4a8eb9
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x3c], 0x40000
jne 0x4a8eb9
cmp dword [esi + 0x2a8], 5
je 0x4a8eb9
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.00490900
add esp, 8
mov dword [ebx + 0x24c], 1
jmp 0x4a8eb9
mov eax, dword [ebp + 8]
mov dword [esi + 0x98], 0
cmp dword [eax], 0
je 0x4a9169
mov dword [esi + 0x9c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x9c], 2
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0xb8]
push 4
push str.HTTP
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4a92e8
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strchr]
push 0x20
push edi
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x4a92e8
inc edi
cmp byte [edi], 0
je 0x4a92e8
push 0xd
push edi
mov byte [ebp - 1], 0xd
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4a91eb
push 0xa
push edi
mov byte [ebp - 1], 0xa
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a92e8
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004909c0
mov al, byte [ebp - 1]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004909c0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x35c], 0
je 0x4a925c
mov dword [eax], 1
lea eax, [esi + 0x50]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x4a9285
cmp eax, ecx
jne 0x4a9285
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
jmp 0x4a929d
cmp dword [esi + 0x158], 0
je 0x4a9243
lea eax, [esi + 0x50]
mov dword [esi + 0x60], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
jmp 0x4a9246
push eax
push ecx
mov ecx, esi
call fcn.004a9940
mov eax, dword [esi + 0x50]
add esp, 8
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
test eax, eax
jne 0x4a92b0
test ecx, ecx
jne 0x4a92b0
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x4a92b8
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4a92bf
and dword [esi + 0x138], 0xfffffffe
cmp dword [esi + 0x36c], 0
je 0x4a9327
push ebx
push edi
push dword [esi + 0xb0]
mov edx, 1
mov ecx, esi
call fcn.004911b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xc8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004909c0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004a8010
test eax, eax
jne 0x4a9327
mov dword [esi + 0x9c], 2
mov dword [esi + 0x98], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret