Function at 0x583430
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.00543f60
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x64], edi
test edi, edi
je 0x584280
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.00584400
add esp, 0xc
test eax, eax
jne 0x5842e2
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x54c]
mov dword [esi + 0x68], eax
jne 0x5834e6
cmp dword [esi + 0x58], 5
jbe 0x5834e6
mov eax, dword [ebp + 0x27c]
mov ecx, dword [ebx + 0x54c]
test dword [eax + 0x3c], 0x40000
je 0x5834d4
push 5
push ecx
push str.RTSP_
call fcn.00589ed0
add esp, 0xc
test eax, eax
setne al
jmp 0x5834de
push ecx
push ebx
call fcn.005842f0
add esp, 8
test al, al
je 0x584127
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x583eaf
cmp al, 0xd
je 0x583eb3
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x58373c
mov eax, dword [ebp + 0x27c]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x5835b5
lea eax, [esi + 0x78]
push eax
lea edi, [ebp + 0x13c]
push edi
lea eax, [esp + 0x2c]
push eax
push str._HTTP__d._d__d
push edx
call fcn.0043235b
add esp, 0x14
cmp eax, 3
jne 0x583574
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
jne 0x583602
cmp dword [edi], 0x14
je 0x583602
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.0057e3a0
add esp, 8
jmp 0x583602
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.0043235b
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x583602
push dword [esi + 0x68]
push ebx
call fcn.005842f0
add esp, 8
test al, al
je 0x5842dc
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x583602
test eax, 0x40000
je 0x5842dc
lea eax, [esi + 0x78]
push eax
lea edi, [ebp + 0x140]
push edi
lea eax, [esp + 0x18]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.0043235b
add esp, 0x14
cmp eax, 3
jne 0x5842dc
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x13c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebp + 0x13c]
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x86cc], eax
mov eax, dword [edi]
mov dword [ebx + 0x86d4], eax
mov eax, dword [ebx + 0x8670]
test eax, eax
je 0x583621
cmp eax, dword [edi]
jle 0x583629
mov eax, dword [edi]
mov dword [ebx + 0x8670], eax
cmp byte [ebx + 0x2c0], 0
je 0x58368a
mov ecx, dword [esi + 0x78]
cmp ecx, 0x190
jl 0x58368a
cmp ecx, 0x191
jne 0x58364e
cmp byte [ebp + 0x254], 0
jne 0x58368a
cmp ecx, 0x197
jne 0x58365f
cmp byte [ebp + 0x255], 0
jne 0x58368a
mov eax, dword [ebx + 0x8688]
or eax, dword [ebx + 0x868c]
je 0x584158
cmp dword [ebx + 0x248], 1
jne 0x584158
cmp ecx, 0x1a0
jne 0x584158
mov eax, dword [edi]
cmp eax, 0xa
jne 0x5836a8
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.0057e3a0
add esp, 8
mov byte [ebp + 0x250], 1
jmp 0x5836fb
cmp eax, 0x14
je 0x5836ef
cmp dword [esi + 0x88], 1
jne 0x5836bc
cmp dword [esi + 0x78], 0x65
je 0x5836ef
cmp eax, 0xb
jl 0x5836fb
cmp byte [ebp + 0x250], 0
jne 0x5836fb
cmp dword [ebp + 0x55c], 0
je 0x5836fb
push ebp
push ebx
call fcn.00587ff0
add esp, 8
test al, al
jne 0x5836fb
mov eax, dword [ebp + 0x55c]
mov dword [eax], 1
jmp 0x5836fb
mov eax, dword [ebp + 0x55c]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x58370a
sub eax, 0x64
jne 0x58373c
cmp dword [ebx + 0x238], 0
je 0x58371a
mov byte [ebx + 0x86dc], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xae], 1
cmp byte [esi + 0xae], 0
jne 0x5837e6
cmp byte [ebx + 0x2e7], 0
jne 0x5837e6
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x5837e6
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00560ad3
mov ecx, dword [ebx + 0x2a0]
add esp, 0xc
mov edi, dword [ebx + 0x2a4]
or ecx, edi
je 0x5837a5
cmp edx, edi
jg 0x58416e
jl 0x5837a5
cmp eax, dword [ebx + 0x2a0]
ja 0x58416e
test edx, edx
jl 0x5837ca
jg 0x5837af
test eax, eax
jb 0x5837ca
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.00586c30
add esp, 0xc
jmp 0x583e4f
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
mov byte [ebp + 0x250], 1
call fcn.0057e3a0
add esp, 0x10
jmp 0x583e4f
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x58383f
push dword [esi + 0x68]
call fcn.00582e80
mov edi, eax
add esp, 4
test edi, edi
je 0x584189
cmp byte [edi], 0
jne 0x583825
push edi
call dword [0x6e7aa4]
add esp, 4
jmp 0x583e4f
push dword [ebx + 0x86f4]
call dword [0x6e7aa4]
add esp, 4
mov dword [ebx + 0x86f4], edi
jmp 0x583e4f
push 7
push dword [esi + 0x68]
push str.Server:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x5838a7
cmp dword [ebp + 0x13c], 0x14
jge 0x583e4f
push dword [esi + 0x68]
call fcn.00582e80
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0x55c]
test eax, eax
je 0x583898
cmp dword [eax], 1
jne 0x583898
push edi
push ebx
call fcn.00587dc0
add esp, 8
test al, al
je 0x583898
mov eax, dword [ebp + 0x55c]
mov dword [eax], 0xffffffff
push edi
call dword [0x6e7aa4]
add esp, 4
jmp 0x583e4f
cmp dword [ebp + 0x13c], 0xa
jne 0x5838ec
cmp byte [ebp + 0x253], 0
je 0x5838ec
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00582db0
add esp, 0xc
test al, al
je 0x5838ec
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [ebp + 0x250], 0
call fcn.0057e3a0
add esp, 8
jmp 0x583e4f
cmp dword [ebp + 0x13c], 0xb
jne 0x583931
cmp byte [ebp + 0x253], 0
je 0x583931
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00582db0
add esp, 0xc
test al, al
je 0x583931
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [ebp + 0x250], 1
call fcn.0057e3a0
add esp, 8
jmp 0x583e4f
cmp dword [ebp + 0x13c], 0xa
jne 0x58396d
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.00582db0
add esp, 0xc
test al, al
je 0x58396d
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [ebp + 0x250], 0
call fcn.0057e3a0
add esp, 8
jmp 0x583e4f
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.00582db0
add esp, 0xc
test al, al
je 0x583992
mov byte [ebp + 0x250], 1
jmp 0x583e4f
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583abd
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x5839dd
nop dword [eax + eax]
movzx eax, al
push eax
call fcn.00554e31
add esp, 4
test eax, eax
jne 0x5839d5
cmp byte [edi], 0x2c
jne 0x5839dd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5839c0
push 7
push edi
push str.chunked
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583a04
push ebp
mov byte [esi + 0xc0], 1
call fcn.005a0700
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x583e4f
push 8
push edi
push str.identity
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583a3b
mov eax, 8
mov dword [esi + 0x8c], 0
add edi, eax
jmp 0x5839b2
push 7
push edi
push str.deflate
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583a65
mov eax, 7
mov dword [esi + 0x8c], 1
add edi, eax
jmp 0x5839b2
push 4
push edi
push str.gzip
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583a8f
mov eax, 4
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x5839b2
push 6
push edi
push str.x_gzip
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583e4f
mov eax, 6
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x5839b2
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583b99
cmp dword [ebx + 0x31c], 0
jne 0x583aed
cmp dword [ebp + 0x13c], 0x14
jne 0x583b99
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x583b18
nop dword [eax]
movzx eax, al
push eax
call fcn.00554e31
add esp, 4
test eax, eax
je 0x583b18
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x583b00
push 8
push edi
push str.identity
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583b3b
mov dword [esi + 0x8c], 0
jmp 0x583e4f
push 7
push edi
push str.deflate
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583b5e
mov dword [esi + 0x8c], 1
jmp 0x583e4f
push 4
push edi
push str.gzip
call fcn.00589ed0
add esp, 0xc
test eax, eax
jne 0x583b8a
push 6
push edi
push str.x_gzip
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583e4f
mov dword [esi + 0x8c], 2
jmp 0x583e4f
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583c3d
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x583bdd
nop
movzx eax, al
push eax
call fcn.00554d79
add esp, 4
test eax, eax
jne 0x583bdd
cmp byte [edi], 0x2a
je 0x583bdd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x583bc0
movzx eax, byte [edi]
push eax
call fcn.00554d79
add esp, 4
test eax, eax
je 0x583c24
push 0xa
push 0
push edi
call fcn.00560ad3
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8688]
cmp eax, dword [esi + 0x70]
jne 0x583e4f
cmp dword [ebx + 0x868c], edx
jne 0x583e4f
mov byte [esi + 0x6c], 1
jmp 0x583e4f
mov dword [ebx + 0x8688], 0
mov dword [ebx + 0x868c], 0
jmp 0x583e4f
cmp dword [ebx + 0x420], 0
je 0x583ca5
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583ca5
push 2
push 2
push ebx
call fcn.00589d10
mov eax, dword [ebp + 0x2ac]
add esp, 0xc
test eax, eax
jne 0x583c79
mov eax, dword [ebp + 0x98]
push dword [ebx + 0x867c]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x420]
push ebx
call fcn.00573650
push 2
push ebx
call fcn.00589d50
add esp, 0x20
jmp 0x583e4f
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583d14
cmp dword [ebx + 0x238], 0
jne 0x583ccd
cmp byte [ebx + 0x2b9], 0
je 0x583d14
push 0
call fcn.005593f2
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.00588220
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x583e4f
mov dword [ebx + 0x86d8], eax
jmp 0x583e4f
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583d35
mov edi, dword [esi + 0x78]
cmp edi, 0x191
je 0x583d56
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583da2
mov edi, dword [esi + 0x78]
cmp edi, 0x197
jne 0x583da2
push dword [esi + 0x68]
call fcn.00582e80
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x584189
cmp edi, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebp
call fcn.00583110
push dword [esp + 0x20]
mov edi, eax
call dword [0x6e7aa4]
add esp, 0x10
test edi, edi
je 0x583e4f
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x583e2c
cmp eax, 0x190
jge 0x583e2c
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.00589ed0
add esp, 0xc
test eax, eax
je 0x583e2c
cmp dword [ebx + 0x100], 0
jne 0x583e2c
push dword [esi + 0x68]
call fcn.00582e80
add esp, 4
test eax, eax
je 0x584189
cmp byte [eax], 0
jne 0x583dfa
push eax
call dword [0x6e7aa4]
add esp, 4
jmp 0x583e4f
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x583e4f
push eax
call dword [0x6e7aac]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x584189
push ebp
call fcn.005845b0
add esp, 4
jmp 0x583e47
mov eax, dword [ebp + 0x27c]
test dword [eax + 0x3c], 0x40000
je 0x583e4f
push dword [esi + 0x68]
push ebp
call fcn.00594080
add esp, 8
test eax, eax
jne 0x5842e2
xor eax, eax
cmp byte [ebx + 0x2c4], al
setne al
add eax, 2
cmp byte [ebx + 0x2d0], 0
mov dword [esp + 0x14], eax
je 0x583e80
push ebp
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.0057e1e0
mov eax, dword [esp + 0x28]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push ebp
call fcn.0057e1b0
add esp, 0x10
test eax, eax
jne 0x5842e2
mov eax, dword [esi + 0x58]
add dword [ebx + 0x86e0], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x5840f4
cmp al, 0xd
jne 0x583eb9
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x583ec5
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x583f3b
cmp eax, 0xc7
jg 0x583f3b
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
sub eax, 0x64
je 0x583f1f
sub eax, 1
jne 0x583f91
cmp dword [esi + 0x88], 1
jne 0x583f91
push str.Received_101_n
push ebx
call fcn.0057e3a0
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
je 0x583f91
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x583f91
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x583f91
cmp byte [esi + 0xc0], 0
jne 0x583f91
cmp byte [ebp + 0x250], 0
jne 0x583f9a
cmp dword [ebp + 0x13c], 0xb
jne 0x583f91
mov eax, dword [ebp + 0x27c]
test dword [eax + 0x3c], 0x40000
jne 0x583f91
cmp dword [ebx + 0x248], 5
je 0x583f91
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.0057e3a0
add esp, 8
mov byte [ebp + 0x250], 1
cmp byte [ebp + 0x250], 0
je 0x583fd5
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x583fb0
cmp dword [ebp + 0x30c], 2
je 0x583fc0
cmp eax, 0x197
jne 0x583fd5
cmp dword [ebp + 0x348], 2
jne 0x583fd5
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.0057e3a0
add esp, 8
mov byte [ebx + 0x863c], 1
push ebp
call fcn.00584790
add esp, 4
test eax, eax
jne 0x584262
mov eax, dword [ebx + 0x54c]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
xor eax, eax
cmp byte [ebx + 0x2c4], al
setne al
add eax, 2
push eax
push ebp
call fcn.0057e1b0
add esp, 0x10
test eax, eax
jne 0x5842e2
add dword [ebx + 0x80], edi
add dword [ebx + 0x86e0], edi
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x584034
cmp eax, 0xc7
jle 0x584036
xor ecx, ecx
mov dword [ebx + 0x84], ecx
mov ecx, dword [esp + 0x30]
cmp byte [ecx], 0
jne 0x5840ea
push ebp
call fcn.00582f50
add esp, 4
test eax, eax
jne 0x5842e2
cmp dword [esi + 0x78], 0x12c
jl 0x5840c8
cmp byte [ebp + 0x25e], al
jne 0x5840c8
cmp byte [ebp + 0x250], al
jne 0x5840c8
cmp byte [ebp + 0x25f], al
jne 0x5840d1
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x5840c8
cmp byte [esi + 0xac], 0
jne 0x5840c8
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.0057e3a0
mov byte [ebp + 0x250], 1
add esp, 8
and dword [esi + 0xa8], 0xfffffffd
mov byte [esi + 0xac], 1
cmp byte [ebx + 0x8674], 0
je 0x5840c8
mov dword [esi + 0x84], 3
cmp byte [ebp + 0x25f], 0
je 0x5840e6
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.0057e3a0
add esp, 8
or dword [esi + 0xa8], 2
mov ecx, dword [esp + 0x30]
cmp byte [esi + 0x48], 0
je 0x584196
mov eax, dword [ebx + 0x54c]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x5842e0
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x583442
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 0x584145
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.00584a00
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.0057e2d0
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 + 0x2c7], 0
je 0x5841a4
mov byte [ecx], 1
jmp 0x5841f2
mov eax, dword [ebp + 0x27c]
test dword [eax + 0x3c], 0x40000
je 0x5841ce
cmp dword [ebx + 0x3d0], 2
jne 0x5841ce
cmp dword [esi + 4], 0xffffffff
jg 0x5841ce
jl 0x5841c9
cmp dword [esi], 0xffffffff
ja 0x5841ce
mov byte [ecx], 1
jmp 0x5841f2
cmp byte [esi + 0xc0], 0
je 0x5841f2
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 0x584200
cmp eax, ecx
je 0x584216
push eax
push ecx
push ebx
call fcn.00586c30
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 0x58422b
cmp dword [esi + 0x14], 0
jne 0x58422b
mov eax, dword [esp + 0x30]
mov byte [eax], 1
jmp 0x584234
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x58423b
and dword [esi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x2d0], 0
je 0x5842e0
push ebp
push edi
push dword [esi + 0x60]
push 1
push ebx
call fcn.0057e1e0
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.0057e2d0
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.00584400
add esp, 0xc
test eax, eax
jne 0x5842e2
cmp dword [esi + 0x50], eax
jne 0x5842e0
cmp dword [esi + 0x58], 5
jbe 0x5842e0
mov eax, dword [ebp + 0x27c]
mov ecx, dword [ebx + 0x54c]
test dword [eax + 0x3c], 0x40000
je 0x5842c7
push 5
push ecx
push str.RTSP_
call fcn.00589ed0
add esp, 0xc
test eax, eax
setne al
jmp 0x5842d1
push ecx
push ebx
call fcn.005842f0
add esp, 8
test al, al
jne 0x5842e0
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