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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
lea esi, [ebx + 0x50]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.00489f30
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x64], edi
test edi, edi
je 0x4a2e6b
sub edi, dword [esi + 0x5c]
inc edi
sub dword [eax], 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.004a3000
add esp, 0xc
test eax, eax
jne 0x4a2ecd
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x5a4]
mov dword [esi + 0x68], eax
jne 0x4a20d6
cmp dword [esi + 0x58], 5
jbe 0x4a20d6
mov eax, dword [ebp + 0x2b8]
mov ecx, dword [ebx + 0x5a4]
test dword [eax + 0x3c], 0x40000
je 0x4a20c4
push 5
push ecx
push str.RTSP_
call fcn.004a5bb0
add esp, 0xc
test eax, eax
setne al
jmp 0x4a20ce
push ecx
push ebx
call fcn.004a2ee0
add esp, 8
test al, al
je 0x4a2d13
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x4a2ab1
cmp al, 0xd
je 0x4a2ab5
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x4a2359
mov eax, dword [ebp + 0x2b8]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x4a21d2
lea eax, [esi + 0x78]
push eax
lea edi, [ebp + 0x150]
push edi
lea eax, [esp + 0x2c]
push eax
push str._HTTP__d._d__d
push edx
call fcn.0048fee0
add esp, 0x14
cmp eax, 1
jne 0x4a2158
cmp dword [esp + 0x24], 2
jne 0x4a2191
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x68]
call fcn.0048fee0
add esp, 0xc
cmp eax, 1
jne 0x4a2191
mov dword [edi], 0
jmp 0x4a215d
cmp eax, 3
jne 0x4a2191
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
jne 0x4a221f
cmp dword [edi], 0x14
je 0x4a221f
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00499dd0
add esp, 8
jmp 0x4a221f
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.0048fee0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4a221f
push dword [esi + 0x68]
push ebx
call fcn.004a2ee0
add esp, 8
test al, al
je 0x4a2ec7
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x4a221f
test eax, 0x40000
je 0x4a2ec7
lea eax, [esi + 0x78]
push eax
lea edi, [ebp + 0x154]
push edi
lea eax, [esp + 0x18]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.0048fee0
add esp, 0x14
cmp eax, 3
jne 0x4a2ec7
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x150], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebp + 0x150]
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x8744], eax
mov eax, dword [edi]
mov dword [ebx + 0x874c], eax
mov eax, dword [ebx + 0x86cc]
test eax, eax
je 0x4a223e
cmp eax, dword [edi]
jle 0x4a2246
mov eax, dword [edi]
mov dword [ebx + 0x86cc], eax
cmp byte [ebx + 0x308], 0
je 0x4a22a7
mov ecx, dword [esi + 0x78]
cmp ecx, 0x190
jl 0x4a22a7
cmp ecx, 0x191
jne 0x4a226b
cmp byte [ebp + 0x28f], 0
jne 0x4a22a7
cmp ecx, 0x197
jne 0x4a227c
cmp byte [ebp + 0x290], 0
jne 0x4a22a7
mov eax, dword [ebx + 0x86e8]
or eax, dword [ebx + 0x86ec]
je 0x4a2d44
cmp dword [ebx + 0x288], 1
jne 0x4a2d44
cmp ecx, 0x1a0
jne 0x4a2d44
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4a22c5
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00499dd0
add esp, 8
mov byte [ebp + 0x289], 1
jmp 0x4a2318
cmp eax, 0x14
je 0x4a230c
cmp dword [esi + 0x88], 1
jne 0x4a22d9
cmp dword [esi + 0x78], 0x65
je 0x4a230c
cmp eax, 0xb
jl 0x4a2318
cmp byte [ebp + 0x289], 0
jne 0x4a2318
cmp dword [ebp + 0x59c], 0
je 0x4a2318
push ebp
push ebx
call fcn.004a51a0
add esp, 8
test al, al
jne 0x4a2318
mov eax, dword [ebp + 0x59c]
mov dword [eax], 1
jmp 0x4a2318
mov eax, dword [ebp + 0x59c]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4a2327
sub eax, 0x64
jne 0x4a2359
cmp dword [ebx + 0x27c], 0
je 0x4a2337
mov byte [ebx + 0x8754], 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 0x4a2403
cmp byte [ebx + 0x32f], 0
jne 0x4a2403
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2403
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.005029ea
mov ecx, dword [ebx + 0x2e8]
add esp, 0xc
mov edi, dword [ebx + 0x2ec]
or ecx, edi
je 0x4a23c2
cmp edx, edi
jg 0x4a2d5a
jl 0x4a23c2
cmp eax, dword [ebx + 0x2e8]
ja 0x4a2d5a
test edx, edx
jl 0x4a23e7
jg 0x4a23cc
test eax, eax
jb 0x4a23e7
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.004a3db0
add esp, 0xc
jmp 0x4a2a51
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
mov byte [ebp + 0x289], 1
call fcn.00499dd0
add esp, 0x10
jmp 0x4a2a51
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a245c
push dword [esi + 0x68]
call fcn.004a1a70
mov edi, eax
add esp, 4
test edi, edi
je 0x4a2d75
cmp byte [edi], 0
jne 0x4a2442
push edi
call dword [0x569364]
add esp, 4
jmp 0x4a2a51
push dword [ebx + 0x876c]
call dword [0x569364]
add esp, 4
mov dword [ebx + 0x876c], edi
jmp 0x4a2a51
push 7
push dword [esi + 0x68]
push str.Server:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a24c4
cmp dword [ebp + 0x150], 0x14
jge 0x4a2a51
push dword [esi + 0x68]
call fcn.004a1a70
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0x59c]
test eax, eax
je 0x4a24b5
cmp dword [eax], 1
jne 0x4a24b5
push edi
push ebx
call fcn.004a4f40
add esp, 8
test al, al
je 0x4a24b5
mov eax, dword [ebp + 0x59c]
mov dword [eax], 0xffffffff
push edi
call dword [0x569364]
add esp, 4
jmp 0x4a2a51
cmp dword [ebp + 0x150], 0xa
jne 0x4a2509
cmp byte [ebp + 0x28e], 0
je 0x4a2509
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004a19a0
add esp, 0xc
test al, al
je 0x4a2509
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [ebp + 0x289], 0
call fcn.00499dd0
add esp, 8
jmp 0x4a2a51
cmp dword [ebp + 0x150], 0xb
jne 0x4a254e
cmp byte [ebp + 0x28e], 0
je 0x4a254e
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004a19a0
add esp, 0xc
test al, al
je 0x4a254e
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [ebp + 0x289], 1
call fcn.00499dd0
add esp, 8
jmp 0x4a2a51
cmp dword [ebp + 0x150], 0xa
jne 0x4a258a
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.004a19a0
add esp, 0xc
test al, al
je 0x4a258a
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [ebp + 0x289], 0
call fcn.00499dd0
add esp, 8
jmp 0x4a2a51
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.004a19a0
add esp, 0xc
test al, al
je 0x4a25af
mov byte [ebp + 0x289], 1
jmp 0x4a2a51
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a26d0
mov edi, dword [esi + 0x68]
add edi, 0x12
nop
mov al, byte [edi]
test al, al
je 0x4a25f3
movzx eax, al
push eax
call fcn.0050498b
add esp, 4
test eax, eax
jne 0x4a25eb
cmp byte [edi], 0x2c
jne 0x4a25f3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a25d6
push 7
push edi
push str.chunked
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a261a
push ebp
mov byte [esi + 0x100], 1
call fcn.004ba560
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x4a2a51
push 8
push edi
push str.identity
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a264e
mov eax, 8
mov dword [esi + 0x8c], 0
add edi, eax
jmp 0x4a25d0
push 7
push edi
push str.deflate
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2678
mov eax, 7
mov dword [esi + 0x8c], 1
add edi, eax
jmp 0x4a25d0
push 4
push edi
push str.gzip
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a26a2
mov eax, 4
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x4a25d0
push 6
push edi
push str.x_gzip
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2a51
mov eax, 6
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x4a25d0
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a279c
cmp dword [ebx + 0x364], 0
je 0x4a279c
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x4a271b
movzx eax, al
push eax
call fcn.0050498b
add esp, 4
test eax, eax
je 0x4a271b
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a2703
push 8
push edi
push str.identity
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a273e
mov dword [esi + 0x8c], 0
jmp 0x4a2a51
push 7
push edi
push str.deflate
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2761
mov dword [esi + 0x8c], 1
jmp 0x4a2a51
push 4
push edi
push str.gzip
call fcn.004a5bb0
add esp, 0xc
test eax, eax
jne 0x4a278d
push 6
push edi
push str.x_gzip
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2a51
mov dword [esi + 0x8c], 2
jmp 0x4a2a51
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a283f
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x4a27df
movzx eax, al
push eax
call fcn.005048d3
add esp, 4
test eax, eax
jne 0x4a27df
cmp byte [edi], 0x2a
je 0x4a27df
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a27c2
movzx eax, byte [edi]
push eax
call fcn.005048d3
add esp, 4
test eax, eax
je 0x4a2826
push 0xa
push 0
push edi
call fcn.005029ea
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x86e8]
cmp eax, dword [esi + 0x70]
jne 0x4a2a51
cmp dword [ebx + 0x86ec], edx
jne 0x4a2a51
mov byte [esi + 0x6c], 1
jmp 0x4a2a51
mov dword [ebx + 0x86e8], 0
mov dword [ebx + 0x86ec], 0
jmp 0x4a2a51
cmp dword [ebx + 0x478], 0
je 0x4a28a7
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a28a7
push 2
push 2
push ebx
call fcn.004a5ad0
mov eax, dword [ebp + 0x2e8]
add esp, 0xc
test eax, eax
jne 0x4a287b
mov eax, dword [ebp + 0x98]
push dword [ebx + 0x86d8]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x478]
push ebx
call fcn.0048e720
push 2
push ebx
call fcn.004a5b10
add esp, 0x20
jmp 0x4a2a51
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2916
cmp dword [ebx + 0x27c], 0
jne 0x4a28cf
cmp byte [ebx + 0x301], 0
je 0x4a2916
push 0
call fcn.004f8e1a
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.004a53e0
add esp, 0xc
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
cmp byte [ebx + 0x301], 0
je 0x4a2a51
mov dword [ebx + 0x8750], eax
jmp 0x4a2a51
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2937
mov edi, dword [esi + 0x78]
cmp edi, 0x191
je 0x4a2958
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a29a4
mov edi, dword [esi + 0x78]
cmp edi, 0x197
jne 0x4a29a4
push dword [esi + 0x68]
call fcn.004a1a70
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a2d75
cmp edi, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebp
call fcn.004a1d00
push dword [esp + 0x20]
mov edi, eax
call dword [0x569364]
add esp, 0x10
test edi, edi
je 0x4a2a51
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4a2a2e
cmp eax, 0x190
jge 0x4a2a2e
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.004a5bb0
add esp, 0xc
test eax, eax
je 0x4a2a2e
cmp dword [ebx + 0x140], 0
jne 0x4a2a2e
push dword [esi + 0x68]
call fcn.004a1a70
add esp, 4
test eax, eax
je 0x4a2d75
cmp byte [eax], 0
jne 0x4a29fc
push eax
call dword [0x569364]
add esp, 4
jmp 0x4a2a51
cmp byte [ebx + 0x309], 0
mov dword [ebx + 0x140], eax
je 0x4a2a51
push eax
call dword [0x56936c]
add esp, 4
mov dword [ebx + 0x144], eax
test eax, eax
je 0x4a2d75
push ebp
call fcn.004a31b0
add esp, 4
jmp 0x4a2a49
mov eax, dword [ebp + 0x2b8]
test dword [eax + 0x3c], 0x40000
je 0x4a2a51
push dword [esi + 0x68]
push ebp
call fcn.004b3bd0
add esp, 8
test eax, eax
jne 0x4a2ecd
xor eax, eax
cmp byte [ebx + 0x30c], al
setne al
add eax, 2
cmp byte [ebx + 0x318], 0
mov dword [esp + 0x14], eax
je 0x4a2a82
push ebp
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.00499c10
mov eax, dword [esp + 0x28]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push ebp
call fcn.00499be0
add esp, 0x10
test eax, eax
jne 0x4a2ecd
mov eax, dword [esi + 0x58]
add dword [ebx + 0x8758], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x4a2ced
cmp al, 0xd
jne 0x4a2abb
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4a2ac7
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4a2b3d
cmp eax, 0xc7
jg 0x4a2b3d
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
sub eax, 0x64
je 0x4a2b21
sub eax, 1
jne 0x4a2b93
cmp dword [esi + 0x88], 1
jne 0x4a2b93
push str.Received_101_n
push ebx
call fcn.00499dd0
add esp, 8
mov dword [esi + 0x88], 2
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x84], 0
jle 0x4a2b93
or dword [esi + 0xe8], 2
mov dword [esi + 0x84], 0
jmp 0x4a2b93
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x4a2b93
cmp byte [esi + 0x100], 0
jne 0x4a2b93
cmp byte [ebp + 0x289], 0
jne 0x4a2b9c
cmp dword [ebp + 0x150], 0xb
jne 0x4a2b93
mov eax, dword [ebp + 0x2b8]
test dword [eax + 0x3c], 0x40000
jne 0x4a2b93
cmp dword [ebx + 0x288], 5
je 0x4a2b93
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00499dd0
add esp, 8
mov byte [ebp + 0x289], 1
cmp byte [ebp + 0x289], 0
je 0x4a2bd7
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x4a2bb2
cmp dword [ebp + 0x348], 2
je 0x4a2bc2
cmp eax, 0x197
jne 0x4a2bd7
cmp dword [ebp + 0x384], 2
jne 0x4a2bd7
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00499dd0
add esp, 8
mov byte [ebx + 0x8698], 1
push ebp
call fcn.004a3390
add esp, 4
test eax, eax
jne 0x4a2e4d
mov eax, dword [ebx + 0x5a4]
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.00499be0
add esp, 0x10
test eax, eax
jne 0x4a2ecd
add dword [ebx + 0x80], edi
add dword [ebx + 0x8758], edi
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x4a2c3a
cmp eax, 0xc7
jle 0x4a2c3c
xor ecx, ecx
push ebp
mov dword [ebx + 0x84], ecx
call fcn.004a1b40
add esp, 4
test eax, eax
jne 0x4a2ecd
cmp dword [esi + 0x78], 0x12c
jl 0x4a2ce3
cmp byte [ebp + 0x299], al
jne 0x4a2cc5
cmp byte [ebp + 0x289], al
jne 0x4a2cc5
cmp byte [ebp + 0x29a], al
jne 0x4a2cce
mov eax, dword [ebx + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4a2cc5
cmp byte [esi + 0xec], 0
jne 0x4a2cc5
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00499dd0
mov byte [ebp + 0x289], 1
add esp, 8
and dword [esi + 0xe8], 0xfffffffd
mov byte [esi + 0xec], 1
cmp byte [ebx + 0x86d0], 0
je 0x4a2cc5
mov dword [esi + 0x84], 3
cmp byte [ebp + 0x29a], 0
je 0x4a2ce3
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00499dd0
add esp, 8
or dword [esi + 0xe8], 2
cmp byte [esi + 0x48], 0
je 0x4a2d82
mov eax, dword [ebx + 0x5a4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x4a2032
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 0x4a2d31
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.004a3600
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.00499d00
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
cmp byte [ebx + 0x30f], 0
mov edi, dword [esp + 0x30]
je 0x4a2d94
mov byte [edi], 1
jmp 0x4a2de2
mov eax, dword [ebp + 0x2b8]
test dword [eax + 0x3c], 0x40000
je 0x4a2dbe
cmp dword [ebx + 0x414], 2
jne 0x4a2dbe
cmp dword [esi + 4], 0xffffffff
jg 0x4a2dbe
jl 0x4a2db9
cmp dword [esi], 0xffffffff
ja 0x4a2dbe
mov byte [edi], 1
jmp 0x4a2de2
cmp byte [esi + 0x100], 0
je 0x4a2de2
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 0x4a2df0
cmp eax, ecx
je 0x4a2e06
push eax
push ecx
push ebx
call fcn.004a3db0
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 0x4a2e17
cmp dword [esi + 0x14], 0
jne 0x4a2e17
mov byte [edi], 1
jmp 0x4a2e1c
cmp byte [edi], 0
je 0x4a2e23
and dword [esi + 0xe8], 0xfffffffe
cmp byte [ebx + 0x318], 0
je 0x4a2ecb
push ebp
push dword [esp + 0x18]
push dword [esi + 0x60]
push 1
push ebx
call fcn.00499c10
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.00499d00
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push dword [eax]
push esi
push ebx
call fcn.004a3000
add esp, 0xc
test eax, eax
jne 0x4a2ecd
cmp dword [esi + 0x50], eax
jne 0x4a2ecb
cmp dword [esi + 0x58], 5
jbe 0x4a2ecb
mov eax, dword [ebp + 0x2b8]
mov ecx, dword [ebx + 0x5a4]
test dword [eax + 0x3c], 0x40000
je 0x4a2eb2
push 5
push ecx
push str.RTSP_
call fcn.004a5bb0
add esp, 0xc
test eax, eax
setne al
jmp 0x4a2ebc
push ecx
push ebx
call fcn.004a2ee0
add esp, 8
test al, al
jne 0x4a2ecb
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