Function at 0x524330
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
lea esi, [ebx + 0x50]
nop
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ebp]
push 0xa
push eax
call dword [sym.imp.VCRUNTIME140.dll_memchr]
mov edi, eax
add esp, 0xc
mov dword [esi + 0x64], edi
test edi, edi
je 0x525202
sub edi, dword [esi + 0x5c]
inc edi
sub dword [ebp], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
push esi
push ebx
call fcn.005253a0
add esp, 0xc
test eax, eax
jne 0x525269
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x5c4]
mov dword [esi + 0x68], eax
jne 0x5243e7
cmp dword [esi + 0x58], 5
jbe 0x5243e7
mov eax, dword [ebp + 0x248]
mov ecx, dword [ebx + 0x5c4]
test dword [eax + 0x3c], 0x40000
je 0x5243d5
push 5
push ecx
push str.RTSP_
call fcn.0052ae80
add esp, 0xc
test eax, eax
setne al
jmp 0x5243df
push ecx
push ebx
call fcn.00525280
add esp, 8
test al, al
je 0x525070
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x524e1c
cmp al, 0xd
je 0x524e20
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x52468f
mov eax, dword [ebp + 0x248]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x52459d
mov edi, dword [esp + 0x28]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x150
lea eax, [esp + 0x28]
push edi
push eax
push str._HTTP__d._d__d
push edx
call fcn.004b8620
add esp, 0x14
cmp eax, 1
jne 0x524472
cmp dword [esp + 0x24], 2
jne 0x524558
push ebp
push str._HTTP_2__d
push dword [esi + 0x68]
call fcn.004b8620
add esp, 0xc
cmp eax, 1
jne 0x524558
mov dword [edi], 0
jmp 0x52447b
cmp eax, 3
jne 0x524558
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
jne 0x5244a2
cmp dword [edi], 0x14
je 0x5244a2
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00511ce0
add esp, 8
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov dword [ebx + 0x8764], eax
mov eax, dword [edi]
mov dword [ebx + 0x876c], eax
mov eax, dword [ebx + 0x86ec]
test eax, eax
je 0x5244c5
cmp eax, dword [edi]
jle 0x5244cd
mov eax, dword [edi]
mov dword [ebx + 0x86ec], eax
cmp byte [ebx + 0x308], 0
je 0x52452e
mov ecx, dword [ebp]
cmp ecx, 0x190
jl 0x52452e
cmp ecx, 0x191
jne 0x5244f2
cmp byte [edx + 0x21f], 0
jne 0x52452e
cmp ecx, 0x197
jne 0x524503
cmp byte [edx + 0x220], 0
jne 0x52452e
mov eax, dword [ebx + 0x8708]
or eax, dword [ebx + 0x870c]
je 0x5250a1
cmp dword [ebx + 0x288], 1
jne 0x5250a1
cmp ecx, 0x1a0
jne 0x5250a1
mov eax, dword [edi]
cmp eax, 0xa
jne 0x5245f7
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00511ce0
mov eax, dword [esp + 0x30]
push 1
push eax
call fcn.0051dd30
add esp, 0x10
jmp 0x52464e
push ebp
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.004b8620
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x5244a2
push dword [esi + 0x68]
push ebx
call fcn.00525280
add esp, 8
test al, al
je 0x525263
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x5244a2
test eax, 0x40000
je 0x525263
mov edi, dword [esp + 0x28]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x154
lea eax, [esp + 0x14]
push edi
push eax
push str._RTSP__d._d__3d
push edx
call fcn.004b8620
add esp, 0x14
cmp eax, 3
jne 0x525263
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x150], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [edx + 0x150]
jmp 0x5244a6
cmp eax, 0x14
je 0x524642
cmp dword [esi + 0x88], 1
jne 0x52460b
cmp dword [ebp], 0x65
je 0x524642
cmp eax, 0xb
jl 0x52464e
cmp byte [edx + 0x219], 0
jne 0x52464e
cmp dword [edx + 0x52c], 0
je 0x52464e
push edx
push ebx
call fcn.00527680
add esp, 8
test al, al
jne 0x52464e
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x52c]
mov dword [eax], 1
jmp 0x52464e
mov eax, dword [edx + 0x52c]
mov dword [eax], 2
mov eax, dword [ebp]
sub eax, 0xcc
je 0x52465d
sub eax, 0x64
jne 0x52468f
cmp dword [ebx + 0x27c], 0
je 0x52466d
mov byte [ebx + 0x8774], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xee], 1
cmp byte [esi + 0xee], 0
jne 0x52474c
cmp byte [ebx + 0x32f], 0
jne 0x52474c
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x52474c
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
mov ebp, edx
mov edi, eax
mov edx, dword [ebx + 0x2e8]
add esp, 0xc
mov eax, dword [ebx + 0x2ec]
mov ecx, edx
or ecx, eax
je 0x5246ff
cmp ebp, eax
jg 0x5250b7
jl 0x5246ff
cmp edi, edx
ja 0x5250b7
test ebp, ebp
jl 0x524728
jg 0x524709
test edi, edi
jb 0x524728
push ebp
push edi
push ebx
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebp
call fcn.00526240
mov ebp, dword [esp + 0x34]
add esp, 0xc
jmp 0x524dbc
push 2
push dword [esp + 0x2c]
call fcn.0051dd30
push ebp
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.00511ce0
mov ebp, dword [esp + 0x40]
add esp, 0x18
jmp 0x524dbc
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x5247ad
push dword [esi + 0x68]
call fcn.00523d50
mov edi, eax
add esp, 4
test edi, edi
je 0x5250d2
cmp byte [edi], 0
jne 0x52478f
push edi
call dword [0x5b301c]
mov ebp, dword [esp + 0x2c]
add esp, 4
jmp 0x524dbc
push dword [ebx + 0x878c]
call dword [0x5b301c]
mov ebp, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 0x878c], edi
jmp 0x524dbc
push 7
push dword [esi + 0x68]
push str.Server:
call fcn.0052ae80
mov ebp, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x524819
cmp dword [ebp + 0x150], 0x14
jge 0x524dbc
push dword [esi + 0x68]
call fcn.00523d50
mov ecx, dword [ebp + 0x52c]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x52480a
cmp dword [ecx], 1
jne 0x52480a
push edi
push ebx
call fcn.00527410
add esp, 8
test al, al
je 0x52480a
mov eax, dword [ebp + 0x52c]
mov dword [eax], 0xffffffff
push edi
call dword [0x5b301c]
add esp, 4
jmp 0x524dbc
cmp dword [ebp + 0x150], 0xa
jne 0x52485f
cmp byte [ebp + 0x21e], 0
je 0x52485f
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00523c80
add esp, 0xc
test al, al
je 0x52485f
push 0
push ebp
call fcn.0051dd30
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.00511ce0
add esp, 0x10
jmp 0x524dbc
cmp dword [ebp + 0x150], 0xb
jne 0x5248a5
cmp byte [ebp + 0x21e], 0
je 0x5248a5
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00523c80
add esp, 0xc
test al, al
je 0x5248a5
push 1
push ebp
call fcn.0051dd30
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.00511ce0
add esp, 0x10
jmp 0x524dbc
cmp dword [ebp + 0x150], 0xa
jne 0x5248e2
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.00523c80
add esp, 0xc
test al, al
je 0x5248e2
push 0
push ebp
call fcn.0051dd30
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.00511ce0
add esp, 0x10
jmp 0x524dbc
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.00523c80
add esp, 0xc
test al, al
je 0x52490b
push 2
push ebp
call fcn.0051dd30
add esp, 8
jmp 0x524dbc
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524a34
mov edi, dword [esi + 0x68]
add edi, 0x12
nop dword [eax + eax]
mov al, byte [edi]
test al, al
je 0x524954
movzx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
jne 0x52494c
cmp byte [edi], 0x2c
jne 0x524954
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x524936
push 7
push edi
push str.chunked
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x52497b
push ebp
mov byte [esi + 0x100], 1
call fcn.0053e760
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x524dbc
push 8
push edi
push str.identity
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x5249b2
mov eax, 8
mov dword [esi + 0x8c], 0
add edi, eax
jmp 0x524930
push 7
push edi
push str.deflate
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x5249dc
mov eax, 7
mov dword [esi + 0x8c], 1
add edi, eax
jmp 0x524930
push 4
push edi
push str.gzip
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524a06
mov eax, 4
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x524930
push 6
push edi
push str.x_gzip
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524dbc
mov eax, 6
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x524930
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524b0a
cmp dword [ebx + 0x364], 0
je 0x524b0a
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x524a89
nop word [eax + eax]
movzx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x524a89
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x524a70
push 8
push edi
push str.identity
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524aac
mov dword [esi + 0x8c], 0
jmp 0x524dbc
push 7
push edi
push str.deflate
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524acf
mov dword [esi + 0x8c], 1
jmp 0x524dbc
push 4
push edi
push str.gzip
call fcn.0052ae80
add esp, 0xc
test eax, eax
jne 0x524afb
push 6
push edi
push str.x_gzip
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524dbc
mov dword [esi + 0x8c], 2
jmp 0x524dbc
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524bb0
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x524b4e
movzx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
jne 0x524b4e
cmp byte [edi], 0x2a
je 0x524b4e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x524b30
movzx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x524b97
push 0xa
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8708]
cmp eax, dword [esi + 0x70]
jne 0x524dbc
cmp dword [ebx + 0x870c], edx
jne 0x524dbc
mov byte [esi + 0x6c], 1
jmp 0x524dbc
mov dword [ebx + 0x8708], 0
mov dword [ebx + 0x870c], 0
jmp 0x524dbc
cmp dword [ebx + 0x478], 0
je 0x524c18
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524c18
push 2
push 2
push ebx
call fcn.0052af60
mov eax, dword [ebp + 0x278]
add esp, 0xc
test eax, eax
jne 0x524bec
mov eax, dword [ebp + 0x98]
push dword [ebx + 0x86f8]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x478]
push ebx
call fcn.005139e0
push 2
push ebx
call fcn.0052afa0
add esp, 0x20
jmp 0x524dbc
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524c88
cmp dword [ebx + 0x27c], 0
jne 0x524c40
cmp byte [ebx + 0x301], 0
je 0x524c88
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
mov dword [esp + 0x24], edx
push eax
call fcn.0052c2d0
add esp, 0xc
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
cmp byte [ebx + 0x301], 0
je 0x524dbc
mov dword [ebx + 0x8770], eax
jmp 0x524dbc
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524ca9
mov edi, dword [esi + 0x78]
cmp edi, 0x191
je 0x524cca
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524d13
mov edi, dword [esi + 0x78]
cmp edi, 0x197
jne 0x524d13
push dword [esi + 0x68]
call fcn.00523d50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5250d2
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push dword [esp + 0x30]
call fcn.00523fe0
push ebp
mov edi, eax
call dword [0x5b301c]
add esp, 0x10
test edi, edi
jne 0x5250df
mov ebp, dword [esp + 0x28]
jmp 0x524dbc
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x524d99
cmp eax, 0x190
jge 0x524d99
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.0052ae80
add esp, 0xc
test eax, eax
je 0x524d99
cmp dword [ebx + 0x140], 0
jne 0x524d99
push dword [esi + 0x68]
call fcn.00523d50
add esp, 4
test eax, eax
je 0x5250d2
cmp byte [eax], 0
jne 0x524d67
push eax
call dword [0x5b301c]
add esp, 4
jmp 0x524dbc
cmp byte [ebx + 0x309], 0
mov dword [ebx + 0x140], eax
je 0x524dbc
push eax
call dword [0x5b3024]
add esp, 4
mov dword [ebx + 0x144], eax
test eax, eax
je 0x5250d2
push ebp
call fcn.00525550
add esp, 4
jmp 0x524db4
mov eax, dword [ebp + 0x248]
test dword [eax + 0x3c], 0x40000
je 0x524dbc
push dword [esi + 0x68]
push ebp
call fcn.0053bfa0
add esp, 8
test eax, eax
jne 0x525269
xor eax, eax
cmp byte [ebx + 0x30c], al
setne al
add eax, 2
cmp byte [ebx + 0x318], 0
mov dword [esp + 0x14], eax
je 0x524ded
push ebp
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.00511b20
mov eax, dword [esp + 0x28]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push ebp
call fcn.00511af0
add esp, 0x10
test eax, eax
jne 0x525269
mov eax, dword [esi + 0x58]
add dword [ebx + 0x8778], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x52504a
cmp al, 0xd
jne 0x524e26
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x524e32
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x524e98
cmp eax, 0xc7
jg 0x524e98
sub eax, 0x64
je 0x524e71
sub eax, 1
je 0x524e5b
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jmp 0x524eef
cmp dword [esi + 0x88], 1
je 0x5250e9
mov byte [esi + 0x48], 0
jmp 0x524eef
cmp dword [esi + 0x84], 0
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jle 0x524eef
or dword [esi + 0xe8], 2
mov dword [esi + 0x84], 0
jmp 0x524eef
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x524eef
cmp byte [esi + 0x100], 0
jne 0x524eef
cmp byte [ebp + 0x219], 0
jne 0x524ef8
cmp dword [ebp + 0x150], 0xb
jne 0x524eef
mov eax, dword [ebp + 0x248]
test dword [eax + 0x3c], 0x40000
jne 0x524eef
cmp dword [ebx + 0x288], 5
je 0x524eef
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00511ce0
push 2
push ebp
call fcn.0051dd30
add esp, 0x10
cmp byte [ebp + 0x219], 0
je 0x524f33
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x524f0e
cmp dword [ebp + 0x2d8], 2
je 0x524f1e
cmp eax, 0x197
jne 0x524f33
cmp dword [ebp + 0x314], 2
jne 0x524f33
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00511ce0
add esp, 8
mov byte [ebx + 0x86b8], 1
push ebp
call fcn.00525730
add esp, 4
test eax, eax
jne 0x5251e4
mov eax, dword [ebx + 0x5c4]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
xor eax, eax
mov dword [esp + 0x1c], edi
cmp byte [ebx + 0x30c], al
setne al
add eax, 2
push eax
push ebp
call fcn.00511af0
add esp, 0x10
test eax, eax
jne 0x525269
add dword [ebx + 0x80], edi
add dword [ebx + 0x8778], edi
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x524f96
cmp eax, 0xc7
jle 0x524f98
xor ecx, ecx
push ebp
mov dword [ebx + 0x84], ecx
call fcn.00523e20
add esp, 4
test eax, eax
jne 0x525269
cmp dword [esi + 0x78], 0x12c
jl 0x525040
cmp byte [ebp + 0x229], al
jne 0x525022
cmp byte [ebp + 0x219], al
jne 0x525022
cmp byte [ebp + 0x22a], al
jne 0x52502b
mov eax, dword [ebx + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x525022
cmp byte [esi + 0xec], 0
jne 0x525022
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00511ce0
push 2
push ebp
call fcn.0051dd30
and dword [esi + 0xe8], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xec], 1
cmp byte [ebx + 0x86f0], 0
je 0x525022
mov dword [esi + 0x84], 3
cmp byte [ebp + 0x22a], 0
je 0x525040
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00511ce0
add esp, 8
or dword [esi + 0xe8], 2
cmp byte [esi + 0x48], 0
je 0x525119
mov eax, dword [ebx + 0x5c4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x524340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x48], 0
cmp dword [eax], 0
je 0x52508e
pop edi
mov dword [esi + 0x4c], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebx
call fcn.005259a0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.00511c10
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Received_101_n
push ebx
call fcn.00511ce0
add esp, 8
mov dword [esi + 0x88], 2
mov byte [esi + 0x48], 1
mov eax, 1
mov dword [esi + 0x50], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp byte [ebx + 0x30f], 0
mov edi, dword [esp + 0x30]
je 0x52512b
mov byte [edi], 1
jmp 0x525179
mov eax, dword [ebp + 0x248]
test dword [eax + 0x3c], 0x40000
je 0x525155
cmp dword [ebx + 0x414], 2
jne 0x525155
cmp dword [esi + 4], 0xffffffff
jg 0x525155
jl 0x525150
cmp dword [esi], 0xffffffff
ja 0x525155
mov byte [edi], 1
jmp 0x525179
cmp byte [esi + 0x100], 0
je 0x525179
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x525187
cmp eax, ecx
je 0x52519d
push eax
push ecx
push ebx
call fcn.00526240
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x5251ae
cmp dword [esi + 0x14], 0
jne 0x5251ae
mov byte [edi], 1
jmp 0x5251b3
cmp byte [edi], 0
je 0x5251ba
and dword [esi + 0xe8], 0xfffffffe
cmp byte [ebx + 0x318], 0
je 0x525267
push ebp
push dword [esp + 0x18]
push dword [esi + 0x60]
push 1
push ebx
call fcn.00511b20
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00511c10
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push dword [ebp]
push esi
push ebx
call fcn.005253a0
add esp, 0xc
test eax, eax
jne 0x525269
cmp dword [esi + 0x50], eax
jne 0x525267
cmp dword [esi + 0x58], 5
jbe 0x525267
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x5c4]
mov eax, dword [eax + 0x248]
test dword [eax + 0x3c], 0x40000
je 0x52524e
push 5
push ecx
push str.RTSP_
call fcn.0052ae80
add esp, 0xc
test eax, eax
setne al
jmp 0x525258
push ecx
push ebx
call fcn.00525280
add esp, 8
test al, al
jne 0x525267
mov dword [esi + 0x4c], 2
mov byte [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret