Function at 0x4ab9c0
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 0x4ac755
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.004ab850
add esp, 4
test eax, eax
jne 0x4aca49
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 0x4abac0
cmp dword [esi + 0xa8], 5
jbe 0x4abac0
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x604]
mov eax, dword [eax + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4abaae
push 5
mov ecx, str.RTSP_
call fcn.004c2fe0
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x4abab5
mov ecx, esi
call fcn.004ab730
test eax, eax
je 0x4ac864
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx]
cmp al, 0xa
je 0x4ac567
cmp al, 0xd
je 0x4ac56b
lea eax, [edi + 1]
mov dword [esi + 0xa0], eax
test edi, edi
jne 0x4abcec
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c0]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x4abc26
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.00476140
add esp, 0x14
cmp eax, 3
jne 0x4abbde
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 0x4abb4b
cmp eax, dword [edi]
jle 0x4abb53
mov eax, dword [edi]
mov dword [esi + 0x8f38], eax
cmp dword [esi + 0x340], 0
je 0x4abbb3
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x4abbb3
cmp ecx, 0x191
jne 0x4abb77
cmp dword [edx + 0x25c], 0
jne 0x4abbb3
cmp ecx, 0x197
jne 0x4abb88
cmp dword [edx + 0x260], 0
jne 0x4abbb3
mov eax, dword [esi + 0x8f60]
or eax, dword [esi + 0x8f64]
je 0x4ac89e
cmp dword [esi + 0x2a8], 1
jne 0x4ac89e
cmp ecx, 0x1a0
jne 0x4ac89e
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4abc7c
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.00494040
mov eax, dword [ebp - 8]
add esp, 8
mov dword [eax + 0x24c], 1
jmp 0x4abca5
push ebx
push str._HTTP__3d
push dword [esi + 0xb8]
call fcn.00476140
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4abb2a
mov edx, dword [esi + 0xb8]
mov ecx, esi
call fcn.004ab730
test eax, eax
je 0x4aca3d
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x4abb2a
test eax, 0x40000
je 0x4aca3d
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.00476140
add esp, 0x14
cmp eax, 3
jne 0x4aca3d
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 0x4abb2d
cmp eax, 0xb
jl 0x4abca5
cmp dword [edx + 0x24c], 0
jne 0x4abca5
mov edi, dword [edx + 0x5c8]
test edi, edi
je 0x4abca5
mov ecx, esi
call fcn.004a5370
test eax, eax
jne 0x4abca5
mov dword [edi], 1
mov eax, dword [ebx]
sub eax, 0xcc
je 0x4abcb3
sub eax, 0x64
jne 0x4abcec
cmp dword [esi + 0x298], 0
je 0x4abcc6
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 0x4abd96
cmp dword [esi + 0x3a0], 0
jne 0x4abd96
mov edi, dword [esi + 0xb8]
mov ecx, str.Content_Length:
push 0xf
mov edx, edi
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4abd96
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 0x4abd53
cmp edx, edi
jg 0x4ac92e
jl 0x4abd53
cmp eax, ebx
ja 0x4ac92e
test edx, edx
jl 0x4abd77
jg 0x4abd5d
test eax, eax
jb 0x4abd77
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.004ad060
add esp, 8
jmp 0x4abdd5
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.00494040
add esp, 0x10
jmp 0x4abdd5
mov edi, dword [esi + 0xb8]
mov ecx, str.Content_Type:
push 0xd
mov edx, edi
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4abe60
mov ecx, edi
call fcn.004a84a0
mov edi, eax
test edi, edi
je 0x4ac948
cmp byte [edi], 0
jne 0x4abe41
push edi
call dword [0x5c1c7c]
add esp, 4
mov ecx, dword [ebp - 8]
xor ebx, ebx
cmp dword [esi + 0x350], ebx
setne bl
cmp dword [esi + 0x36c], 0
je 0x4abe08
push ecx
push dword [esi + 0xa8]
mov edx, 1
mov ecx, esi
push dword [esi + 0xb8]
call fcn.004948f0
add esp, 0xc
push dword [esi + 0xa8]
mov ecx, dword [ebp - 8]
lea edx, [ebx + 2]
push dword [esi + 0xb8]
call fcn.00494590
add esp, 8
test eax, eax
jne 0x4aca49
mov eax, dword [esi + 0xa8]
add dword [esi + 0x8fb0], eax
add dword [esi + 0x80], eax
jmp 0x4ac6fe
mov eax, dword [esi + 0x8fc4]
test eax, eax
je 0x4abe55
push eax
call dword [0x5c1c7c]
add esp, 4
mov dword [esi + 0x8fc4], edi
jmp 0x4abdd5
push 7
mov edx, edi
mov ecx, str.Server:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4abf13
mov ecx, edi
call fcn.004a84a0
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax + 0x5c8]
test ecx, ecx
je 0x4abee8
cmp dword [ecx], 0
je 0x4abee8
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4abee8
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4abed9
mov edi, dword [eax]
test edi, edi
je 0x4abed9
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 0x4abeb7
sub edx, ebx
mov ebx, dword [ebp - 0x18]
push edx
mov edx, ebx
call fcn.004c2fe0
add esp, 4
test eax, eax
jne 0x4abef6
mov edi, dword [edi + 8]
test edi, edi
jne 0x4abeb0
push ebx
push str.Server__s_is_not_blacklisted_n
push esi
call fcn.00494040
add esp, 0xc
test ebx, ebx
je 0x4abdd5
push ebx
jmp 0x4abdcc
push ebx
push str.Server__s_is_blacklisted_n
push esi
call fcn.00494040
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c8]
mov dword [eax], 0
jmp 0x4abee5
mov ebx, dword [ebp - 8]
cmp dword [ebx + 0x13c], 0xa
jne 0x4abf5f
cmp dword [ebx + 0x258], 0
je 0x4abf5f
push str.keep_alive
mov edx, str.Proxy_Connection:
mov ecx, edi
call fcn.004a97b0
add esp, 4
test eax, eax
je 0x4abf5f
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
mov dword [ebx + 0x24c], 0
call fcn.00494040
add esp, 8
mov ecx, ebx
jmp 0x4abdd8
cmp dword [ebx + 0x13c], 0xb
jne 0x4abfac
cmp dword [ebx + 0x258], 0
je 0x4abfac
mov ecx, dword [esi + 0xb8]
mov edx, str.Proxy_Connection:
push str.close
call fcn.004a97b0
add esp, 4
test eax, eax
je 0x4abfac
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
mov dword [ebx + 0x24c], 1
call fcn.00494040
add esp, 8
mov ecx, ebx
jmp 0x4abdd8
cmp dword [ebx + 0x13c], 0xa
jne 0x4abff0
mov ecx, dword [esi + 0xb8]
mov edx, str.Connection:
push str.keep_alive
call fcn.004a97b0
add esp, 4
test eax, eax
je 0x4abff0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
mov dword [ebx + 0x24c], 0
call fcn.00494040
add esp, 8
mov ecx, ebx
jmp 0x4abdd8
mov ecx, dword [esi + 0xb8]
mov edx, str.Connection:
push str.close
call fcn.004a97b0
add esp, 4
test eax, eax
je 0x4ac01d
mov dword [ebx + 0x24c], 1
mov ecx, ebx
jmp 0x4abdd8
mov edi, dword [esi + 0xb8]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, edi
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac1b7
add edi, 0x12
nop
mov al, byte [edi]
test al, al
je 0x4ac06d
mov ebx, dword [ebp - 0xc]
nop dword [eax]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x4ac062
cmp byte [edi], 0x2c
jne 0x4ac06a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ac050
mov ebx, dword [ebp - 8]
push 7
mov edx, edi
mov ecx, str.chunked
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac0a4
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 0x4abdd5
push 8
mov edx, edi
mov ecx, str.identity
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac0dc
mov eax, 8
mov dword [esi + 0xdc], 0
add edi, eax
jmp 0x4ac040
push 7
mov edx, edi
mov ecx, str.deflate
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac107
mov eax, 7
mov dword [esi + 0xdc], 1
add edi, eax
jmp 0x4ac040
push 4
mov edx, edi
mov ecx, str.gzip
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac132
mov eax, 4
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x4ac040
push 6
mov edx, edi
mov ecx, str.x_gzip
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac15d
mov eax, 6
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x4ac040
push 8
mov edx, edi
mov ecx, str.compress
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac188
mov eax, 8
mov dword [esi + 0xdc], 3
add edi, eax
jmp 0x4ac040
push 0xa
mov edx, edi
mov ecx, str.x_compress
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4abdd5
mov eax, 0xa
mov dword [esi + 0xdc], 3
add edi, eax
jmp 0x4ac040
push 0x11
mov edx, edi
mov ecx, str.Content_Encoding:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac2d1
cmp dword [esi + 0x3e0], 0
jne 0x4ac1e6
cmp dword [ebx + 0x13c], 0x14
jne 0x4ac2d1
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x4ac20b
mov esi, dword [ebp - 0xc]
movzx eax, al
push eax
call esi
add esp, 4
test eax, eax
je 0x4ac208
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ac1f3
mov esi, dword [ebp - 0x10]
push 8
mov edx, edi
mov ecx, str.identity
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac231
mov dword [esi + 0xdc], 0
mov ecx, ebx
jmp 0x4abdd8
push 7
mov edx, edi
mov ecx, str.deflate
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac257
mov dword [esi + 0xdc], 1
mov ecx, ebx
jmp 0x4abdd8
push 4
mov edx, edi
mov ecx, str.gzip
call fcn.004c2fe0
add esp, 4
test eax, eax
jne 0x4ac2c0
push 6
mov edx, edi
mov ecx, str.x_gzip
call fcn.004c2fe0
add esp, 4
test eax, eax
jne 0x4ac2c0
push 8
mov edx, edi
mov ecx, str.compress
call fcn.004c2fe0
add esp, 4
test eax, eax
jne 0x4ac2af
push 0xa
mov edx, edi
mov ecx, str.x_compress
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac3be
mov dword [esi + 0xdc], 3
mov ecx, ebx
jmp 0x4abdd8
mov dword [esi + 0xdc], 2
mov ecx, ebx
jmp 0x4abdd8
push 0xe
mov edx, edi
mov ecx, str.Content_Range:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac351
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4ac30b
mov esi, dword [ebp - 0x24]
movzx eax, al
push eax
call esi
add esp, 4
test eax, eax
jne 0x4ac308
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ac2f3
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 0x4ac3be
mov ecx, ebx
cmp dword [esi + 0x8f64], edx
jne 0x4abdd8
mov dword [esi + 0xbc], 1
jmp 0x4abdd8
cmp dword [esi + 0x4d8], 0
je 0x4ac3c5
push 0xb
mov edx, edi
mov ecx, str.Set_Cookie:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac3c5
push ecx
mov edx, 2
mov ecx, esi
call fcn.004ae1d0
mov eax, dword [ebx + 0x2f0]
add esp, 4
test eax, eax
jne 0x4ac38f
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.0049f680
add esp, 0x10
mov edx, 2
mov ecx, esi
call fcn.004ae210
mov ecx, ebx
jmp 0x4abdd8
push 0xe
mov edx, edi
mov ecx, str.Last_Modified:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac428
cmp dword [esi + 0x298], 0
jne 0x4ac3ec
cmp dword [esi + 0x324], 0
je 0x4ac428
push 0
call dword [ebp - 0x28]
mov ecx, dword [esi + 0xb8]
add esp, 4
add ecx, 0xe
call fcn.004c9d60
mov dword [esi + 0x120], eax
mov ecx, ebx
mov dword [esi + 0x124], edx
cmp dword [esi + 0x324], 0
je 0x4abdd8
mov dword [esi + 0x8fa8], eax
jmp 0x4abdd8
push 0x11
mov edx, edi
mov ecx, str.WWW_Authenticate:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac44b
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x191
je 0x4ac46e
push 0x13
mov edx, edi
mov ecx, str.Proxy_authenticate:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac4b3
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x197
jne 0x4ac4b3
mov ecx, edi
call fcn.004a84a0
mov edi, eax
test edi, edi
je 0x4ac948
mov ecx, dword [ebp - 8]
xor edx, edx
cmp ebx, 0x197
push edi
sete dl
call fcn.004a8ee0
add esp, 4
mov ebx, eax
push edi
call dword [0x5c1c7c]
add esp, 4
test ebx, ebx
je 0x4abdd5
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 0x4ac53b
push 9
mov edx, edi
mov ecx, str.Location:
call fcn.004c2fe0
add esp, 4
test eax, eax
je 0x4ac53b
cmp dword [esi + 0x148], 0
jne 0x4ac53b
mov ecx, edi
call fcn.004a84a0
test eax, eax
je 0x4ac948
cmp byte [eax], 0
jne 0x4ac4fb
push eax
jmp 0x4abdcc
cmp dword [esi + 0x344], 0
mov dword [esi + 0x148], eax
je 0x4abdd5
push eax
call dword [0x5c1c80]
add esp, 4
mov dword [esi + 0x14c], eax
test eax, eax
je 0x4ac948
mov ecx, dword [ebp - 8]
call fcn.004a86f0
test eax, eax
jne 0x4aca49
jmp 0x4abdd5
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4abdd8
mov edx, edi
call fcn.004b4d20
test eax, eax
je 0x4abdd5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0xd
jne 0x4ac574
inc ecx
mov dword [esi + 0xb8], ecx
mov al, byte [ecx]
cmp al, 0xa
jne 0x4ac581
lea eax, [ecx + 1]
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4ac7e4
mov dword [esi + 0x98], 1
mov dword [esi + 0xa0], 0
sub ecx, 0x64
je 0x4ac7be
sub ecx, 1
jne 0x4ac5d6
cmp dword [esi + 0xd8], 1
jne 0x4ac5d6
push str.Received_101_n
push esi
call fcn.00494040
add esp, 8
mov dword [esi + 0xd8], 2
mov ebx, dword [ebp - 8]
mov ecx, ebx
call fcn.004a9220
test eax, eax
jne 0x4aca08
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.00494590
add esp, 8
test eax, eax
jne 0x4aca49
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 0x4ac6f1
mov ecx, ebx
call fcn.004a88a0
test eax, eax
jne 0x4aca49
cmp dword [esi + 0xc8], 0x12c
jl 0x4ac6d0
cmp dword [ebx + 0x284], eax
jne 0x4ac6d0
cmp dword [ebx + 0x24c], eax
jne 0x4ac6d0
cmp dword [ebx + 0x288], eax
jne 0x4ac6d9
mov eax, dword [esi + 0x2a8]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4ac6d0
cmp dword [esi + 0x13c], 0
jne 0x4ac6d0
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.00494040
mov dword [ebx + 0x24c], 1
add esp, 8
and dword [esi + 0x138], 0xfffffffd
mov dword [esi + 0x13c], 1
cmp dword [esi + 0x8f3c], 0
je 0x4ac6d0
mov dword [esi + 0xd4], 3
cmp dword [ebx + 0x288], 0
je 0x4ac6ee
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.00494040
add esp, 8
or dword [esi + 0x138], 2
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x98], 0
je 0x4ac954
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 0x4aca47
mov edi, dword [esi + 0xac]
cmp byte [edi], 0
je 0x4aca47
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 0x4aba20
mov eax, dword [ebp + 8]
lea edx, [esi + 0x50]
mov ecx, esi
push dword [eax]
call fcn.004ab850
add esp, 4
test eax, eax
jne 0x4aca49
cmp dword [esi + 0xa0], eax
jne 0x4aca47
cmp dword [esi + 0xa8], 5
jbe 0x4aca47
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x604]
mov eax, dword [eax + 0x2c0]
test dword [eax + 0x3c], 0x40000
je 0x4aca28
push 5
mov ecx, str.RTSP_
call fcn.004c2fe0
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x4aca2f
cmp dword [esi + 0xd4], 0
mov ebx, dword [ebp - 8]
je 0x4ac5d9
or dword [esi + 0x138], 2
mov dword [esi + 0xd4], 0
jmp 0x4ac5d9
mov eax, dword [esi + 0x50]
and eax, dword [esi + 0x54]
mov dword [esi + 0x98], 0
cmp eax, 0xffffffff
jne 0x4ac5d6
cmp dword [esi + 0x158], 0
mov ebx, dword [ebp - 8]
jne 0x4ac5d9
cmp dword [ebx + 0x24c], 0
jne 0x4ac5d9
cmp dword [ebx + 0x13c], 0xb
jne 0x4ac5d9
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x3c], 0x40000
jne 0x4ac5d9
cmp dword [esi + 0x2a8], 5
je 0x4ac5d9
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.00494040
add esp, 8
mov dword [ebx + 0x24c], 1
jmp 0x4ac5d9
mov eax, dword [ebp + 8]
mov dword [esi + 0x98], 0
cmp dword [eax], 0
je 0x4ac889
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 0x4aca08
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strchr]
push 0x20
push edi
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x4aca08
inc edi
cmp byte [edi], 0
je 0x4aca08
push 0xd
push edi
mov byte [ebp - 1], 0xd
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4ac90b
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 0x4aca08
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.00494100
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.00494100
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 0x4ac97c
mov dword [eax], 1
lea eax, [esi + 0x50]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x4ac9a5
cmp eax, ecx
jne 0x4ac9a5
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
jmp 0x4ac9bd
cmp dword [esi + 0x158], 0
je 0x4ac963
lea eax, [esi + 0x50]
mov dword [esi + 0x60], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
jmp 0x4ac966
push eax
push ecx
mov ecx, esi
call fcn.004ad060
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 0x4ac9d0
test ecx, ecx
jne 0x4ac9d0
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x4ac9d8
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4ac9df
and dword [esi + 0x138], 0xfffffffe
cmp dword [esi + 0x36c], 0
je 0x4aca47
push ebx
push edi
push dword [esi + 0xb0]
mov edx, 1
mov ecx, esi
call fcn.004948f0
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.00494100
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004ab730
test eax, eax
jne 0x4aca47
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