Function at 0x50b9d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x50]
nop
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [esi]
push 0xa
push eax
call fcn.004d1bf0
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x50c7eb
sub eax, dword [edi + 0x5c]
inc eax
sub dword [esi], eax
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.0050c980
add esp, 0xc
test eax, eax
jne 0x50c829
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x54c]
mov dword [edi + 0x68], eax
jne 0x50ba5d
cmp dword [edi + 0x58], 5
jbe 0x50ba5d
push dword [ebx + 0x54c]
push esi
push ebx
call fcn.0050c8b0
add esp, 0xc
test al, al
je 0x50c69b
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x50c41d
cmp al, 0xd
je 0x50c421
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x50bccb
mov eax, dword [esi + 0x1f4]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x50bb46
lea ecx, [edi + 0x78]
push ecx
lea eax, [esi + 0x13c]
push eax
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__d
push edx
call fcn.004fea50
add esp, 0x14
cmp eax, 3
jne 0x50baf5
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x13c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [edi + 0x88], 2
jne 0x50bb91
cmp dword [ecx], 0x14
je 0x50bb91
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00506c50
add esp, 8
lea ecx, [esi + 0x13c]
jmp 0x50bb91
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.004fea50
add esp, 0xc
mov dword [esi + 0x13c], 0xa
lea ecx, [esi + 0x13c]
test eax, eax
jne 0x50bb91
push dword [edi + 0x68]
push ebx
call fcn.0050c830
add esp, 8
test al, al
je 0x50c823
lea ecx, [esi + 0x13c]
mov dword [edi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x50bb91
test eax, 0x40000
je 0x50c823
lea eax, [edi + 0x78]
push eax
lea ecx, [esi + 0x140]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.004fea50
add esp, 0x14
cmp eax, 3
jne 0x50c823
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x13c]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x140], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x869c], eax
mov eax, dword [ecx]
mov dword [ebx + 0x86a4], eax
mov eax, dword [ebx + 0x8628]
test eax, eax
je 0x50bbb0
cmp eax, dword [ecx]
jle 0x50bbb8
mov eax, dword [ecx]
mov dword [ebx + 0x8628], eax
cmp byte [ebx + 0x2c0], 0
je 0x50bc19
mov edx, dword [edi + 0x78]
cmp edx, 0x190
jl 0x50bc19
cmp edx, 0x191
jne 0x50bbdd
cmp byte [esi + 0x1cd], 0
jne 0x50bc19
cmp edx, 0x197
jne 0x50bbee
cmp byte [esi + 0x1ce], 0
jne 0x50bc19
mov eax, dword [ebx + 0x8640]
or eax, dword [ebx + 0x8644]
je 0x50c6cc
cmp dword [ebx + 0x248], 1
jne 0x50c6cc
cmp edx, 0x1a0
jne 0x50c6cc
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x50bc37
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00506c50
add esp, 8
mov byte [esi + 0x1c9], 1
jmp 0x50bc8a
cmp eax, 0x14
je 0x50bc7e
cmp dword [edi + 0x88], 1
jne 0x50bc4b
cmp dword [edi + 0x78], 0x65
je 0x50bc7e
cmp eax, 0xb
jl 0x50bc8a
cmp byte [esi + 0x1c9], 0
jne 0x50bc8a
cmp dword [esi + 0x458], 0
je 0x50bc8a
push esi
push ebx
call fcn.005105f0
add esp, 8
test al, al
jne 0x50bc8a
mov eax, dword [esi + 0x458]
mov dword [eax], 1
jmp 0x50bc8a
mov eax, dword [esi + 0x458]
mov dword [eax], 2
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x50bc99
sub eax, 0x64
jne 0x50bccb
cmp dword [ebx + 0x238], 0
je 0x50bca9
mov byte [ebx + 0x86ac], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
jne 0x50bd77
cmp byte [ebx + 0x2e7], 0
jne 0x50bd77
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50bd77
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004ecc1a
mov ecx, dword [ebx + 0x2a0]
add esp, 0xc
or ecx, dword [ebx + 0x2a4]
je 0x50bd36
cmp edx, dword [ebx + 0x2a4]
jg 0x50c6e1
jl 0x50bd36
cmp eax, dword [ebx + 0x2a0]
ja 0x50c6e1
test edx, edx
jl 0x50bd5b
jg 0x50bd40
test eax, eax
jb 0x50bd5b
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.0050f250
add esp, 0xc
jmp 0x50c3b6
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
mov byte [esi + 0x1c9], 1
call fcn.00506c50
add esp, 0x10
jmp 0x50c3b6
push 0xd
push dword [edi + 0x68]
push 0x553bfc
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50bdd0
push dword [edi + 0x68]
call fcn.0050b4b0
mov esi, eax
add esp, 4
test esi, esi
je 0x50c6fb
cmp byte [esi], 0
jne 0x50bdb6
push esi
call dword [0x587cb4]
add esp, 4
jmp 0x50c3b6
push dword [ebx + 0x86c4]
call dword [0x587cb4]
add esp, 4
mov dword [ebx + 0x86c4], esi
jmp 0x50c3b6
push 7
push dword [edi + 0x68]
push str.Server:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50be3c
cmp dword [esi + 0x13c], 0x14
jge 0x50c3b6
push dword [edi + 0x68]
call fcn.0050b4b0
mov ecx, dword [esi + 0x458]
add esp, 4
mov dword [ebp + 8], eax
test ecx, ecx
je 0x50be2d
cmp dword [ecx], 1
jne 0x50be2d
push eax
push ebx
call fcn.005103c0
add esp, 8
test al, al
je 0x50be2a
mov eax, dword [esi + 0x458]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
push eax
call dword [0x587cb4]
add esp, 4
jmp 0x50c3b6
cmp dword [esi + 0x13c], 0xa
jne 0x50be81
cmp byte [esi + 0x1cc], 0
je 0x50be81
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.0050b3e0
add esp, 0xc
test al, al
je 0x50be81
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1c9], 0
call fcn.00506c50
add esp, 8
jmp 0x50c3b6
cmp dword [esi + 0x13c], 0xb
jne 0x50bec6
cmp byte [esi + 0x1cc], 0
je 0x50bec6
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.0050b3e0
add esp, 0xc
test al, al
je 0x50bec6
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x1c9], 1
call fcn.00506c50
add esp, 8
jmp 0x50c3b6
cmp dword [esi + 0x13c], 0xa
jne 0x50bf02
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.0050b3e0
add esp, 0xc
test al, al
je 0x50bf02
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1c9], 0
call fcn.00506c50
add esp, 8
jmp 0x50c3b6
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.0050b3e0
add esp, 0xc
test al, al
je 0x50bf27
mov byte [esi + 0x1c9], 1
jmp 0x50c3b6
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c03c
mov esi, dword [edi + 0x68]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x50bf6d
nop dword [eax]
movzx eax, al
push eax
call fcn.004e3afe
add esp, 4
test eax, eax
jne 0x50bf65
cmp byte [esi], 0x2c
jne 0x50bf6d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x50bf50
push 7
push esi
push str.chunked
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50bf96
push dword [ebp + 0xc]
mov byte [edi + 0xc0], 1
call fcn.005260f0
add esp, 4
add esi, 7
cmp dword [edi + 0x8c], 0
jne 0x50c3b6
push 8
push esi
push str.identity
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50bfc6
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x50bf47
push 7
push esi
push str.deflate
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50bfec
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x50bf47
push 4
push esi
push str.gzip
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c012
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x50bf47
push 6
push esi
push str.x_gzip
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c3b6
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x50bf47
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c109
cmp dword [ebx + 0x31c], 0
je 0x50c109
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x50c088
nop
movzx eax, al
push eax
call fcn.004e3afe
add esp, 4
test eax, eax
je 0x50c088
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x50c070
push 8
push esi
push str.identity
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c0ab
mov dword [edi + 0x8c], 0
jmp 0x50c3b6
push 7
push esi
push str.deflate
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c0ce
mov dword [edi + 0x8c], 1
jmp 0x50c3b6
push 4
push esi
push str.gzip
call fcn.005125b0
add esp, 0xc
test eax, eax
jne 0x50c0fa
push 6
push esi
push str.x_gzip
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c3b6
mov dword [edi + 0x8c], 2
jmp 0x50c3b6
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c1ad
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x50c14d
nop
movzx eax, al
push eax
call fcn.004e3a46
add esp, 4
test eax, eax
jne 0x50c14d
cmp byte [esi], 0x2a
je 0x50c14d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x50c130
movzx eax, byte [esi]
push eax
call fcn.004e3a46
add esp, 4
test eax, eax
je 0x50c194
push 0xa
push 0
push esi
call fcn.004ecc1a
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8640]
cmp eax, dword [edi + 0x70]
jne 0x50c3b6
cmp dword [ebx + 0x8644], edx
jne 0x50c3b6
mov byte [edi + 0x6c], 1
jmp 0x50c3b6
mov dword [ebx + 0x8640], 0
mov dword [ebx + 0x8644], 0
jmp 0x50c3b6
cmp dword [ebx + 0x420], 0
je 0x50c215
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c215
push 2
push 2
push ebx
call fcn.005124c0
mov eax, dword [esi + 0x224]
add esp, 0xc
test eax, eax
jne 0x50c1e9
mov eax, dword [esi + 0x98]
push dword [ebx + 0x8634]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x420]
push ebx
call fcn.004fd510
push 2
push ebx
call fcn.00512500
add esp, 0x20
jmp 0x50c3b6
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c281
cmp dword [ebx + 0x238], 0
jne 0x50c23d
cmp byte [ebx + 0x2b9], 0
je 0x50c281
push 0
call fcn.004de931
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0x10], edx
push eax
call fcn.005108b0
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x50c3b6
mov dword [ebx + 0x86a8], eax
jmp 0x50c3b6
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c2a1
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x50c2c1
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c309
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x50c309
push dword [edi + 0x68]
cmp eax, 0x197
sete byte [ebp - 0xc]
call fcn.0050b4b0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x50c6fb
push eax
push dword [ebp - 0xc]
push esi
call fcn.0050b750
push dword [ebp + 8]
mov esi, eax
call dword [0x587cb4]
add esp, 0x10
test esi, esi
je 0x50c3b6
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x50c393
cmp eax, 0x190
jge 0x50c393
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.005125b0
add esp, 0xc
test eax, eax
je 0x50c393
cmp dword [ebx + 0x100], 0
jne 0x50c393
push dword [edi + 0x68]
call fcn.0050b4b0
add esp, 4
test eax, eax
je 0x50c6fb
cmp byte [eax], 0
jne 0x50c361
push eax
call dword [0x587cb4]
add esp, 4
jmp 0x50c3b6
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x50c3b6
push eax
call dword [0x587cbc]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x50c6fb
push esi
call fcn.0050cb30
add esp, 4
jmp 0x50c3ae
mov eax, dword [esi + 0x1f4]
test dword [eax + 0x3c], 0x40000
je 0x50c3b6
push dword [edi + 0x68]
push esi
call fcn.0051bc40
add esp, 8
test eax, eax
jne 0x50c829
cmp byte [ebx + 0x2c4], 0
mov eax, 2
mov esi, dword [ebp + 0xc]
mov ecx, 3
cmovne eax, ecx
cmp byte [ebx + 0x2d0], 0
mov dword [ebp + 8], eax
je 0x50c3ee
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.00506ad0
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.00506aa0
add esp, 0x10
test eax, eax
jne 0x50c829
mov eax, dword [edi + 0x58]
add dword [ebx + 0x86b0], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x50c66a
cmp al, 0xd
jne 0x50c427
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x50c433
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x50c4a8
cmp eax, 0xc7
jg 0x50c4a8
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
sub eax, 0x64
je 0x50c48c
sub eax, 1
jne 0x50c4fe
cmp dword [edi + 0x88], 1
jne 0x50c4fe
push str.Received_101_n
push ebx
call fcn.00506c50
add esp, 8
mov dword [edi + 0x88], 2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x84], 0
je 0x50c4fe
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x50c4fe
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x50c4fe
cmp byte [edi + 0xc0], 0
jne 0x50c4fe
cmp byte [esi + 0x1c9], 0
jne 0x50c507
cmp dword [esi + 0x13c], 0xb
jne 0x50c4fe
mov eax, dword [esi + 0x1f4]
test dword [eax + 0x3c], 0x40000
jne 0x50c4fe
cmp dword [ebx + 0x248], 5
je 0x50c4fe
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00506c50
add esp, 8
mov byte [esi + 0x1c9], 1
cmp byte [esi + 0x1c9], 0
je 0x50c542
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x50c51d
cmp dword [esi + 0x250], 2
je 0x50c52d
cmp eax, 0x197
jne 0x50c542
cmp dword [esi + 0x268], 2
jne 0x50c542
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.00506c50
add esp, 8
mov byte [ebx + 0x85f4], 1
push esi
call fcn.0050cd00
add esp, 4
test eax, eax
jne 0x50c7ce
cmp byte [ebx + 0x2c4], al
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x54c]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp + 8], edx
call fcn.00506aa0
add esp, 0x10
test eax, eax
jne 0x50c829
mov eax, dword [ebp + 8]
add dword [ebx + 0x80], eax
add dword [ebx + 0x86b0], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x50c5ac
cmp eax, 0xc7
jle 0x50c5ae
xor ecx, ecx
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 0
jne 0x50c660
push esi
call fcn.0050b580
add esp, 4
test eax, eax
jne 0x50c829
cmp dword [edi + 0x78], 0x12c
jl 0x50c63f
cmp byte [esi + 0x1d7], al
jne 0x50c63f
cmp byte [esi + 0x1c9], al
jne 0x50c63f
cmp byte [esi + 0x1d8], al
jne 0x50c648
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x50c63f
cmp byte [edi + 0xac], 0
jne 0x50c63f
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00506c50
mov byte [esi + 0x1c9], 1
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
mov byte [edi + 0xac], 1
cmp byte [ebx + 0x862c], 0
je 0x50c63f
mov dword [edi + 0x84], 3
cmp byte [esi + 0x1d8], 0
je 0x50c65d
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00506c50
add esp, 8
or dword [edi + 0xa8], 2
mov ecx, dword [ebp + 0x14]
cmp byte [edi + 0x48], 0
je 0x50c707
mov eax, dword [ebx + 0x54c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x50c827
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x50b9e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [edi + 0x48], 0
cmp dword [ecx], 0
je 0x50c6b7
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], 2
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0050cf30
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.00506bb0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x2c7], 0
je 0x50c715
mov byte [ecx], 1
jmp 0x50c763
mov eax, dword [esi + 0x1f4]
test dword [eax + 0x3c], 0x40000
je 0x50c73f
cmp dword [ebx + 0x3c0], 2
jne 0x50c73f
cmp dword [edi + 4], 0xffffffff
jg 0x50c73f
jl 0x50c73a
cmp dword [edi], 0xffffffff
ja 0x50c73f
mov byte [ecx], 1
jmp 0x50c763
cmp byte [edi + 0xc0], 0
je 0x50c763
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x50c771
cmp eax, ecx
je 0x50c787
push eax
push ecx
push ebx
call fcn.0050f250
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x50c79b
cmp dword [edi + 0x14], 0
jne 0x50c79b
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x50c7a3
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x50c7aa
and dword [edi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x2d0], 0
je 0x50c827
push esi
push dword [ebp + 8]
push dword [edi + 0x60]
push 1
push ebx
call fcn.00506ad0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00506bb0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push edi
push ebx
call fcn.0050c980
add esp, 0xc
test eax, eax
jne 0x50c829
cmp dword [edi + 0x50], eax
jne 0x50c827
cmp dword [edi + 0x58], 5
jbe 0x50c827
push dword [ebx + 0x54c]
push dword [ebp + 0xc]
push ebx
call fcn.0050c8b0
add esp, 0xc
test al, al
jne 0x50c827
mov dword [edi + 0x4c], 2
mov byte [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret