Function at 0x5071f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
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.00668aa0
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x50801c
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.005081c0
add esp, 0xc
test eax, eax
jne 0x50805a
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x53c]
mov dword [edi + 0x68], eax
jne 0x50727d
cmp dword [edi + 0x58], 5
jbe 0x50727d
push dword [ebx + 0x53c]
push esi
push ebx
call fcn.005080f0
add esp, 0xc
test al, al
je 0x507ef6
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x507cbe
cmp al, 0xd
je 0x507cc2
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x5074c6
mov eax, dword [esi + 0x20c]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x50734a
lea eax, [edi + 0x78]
add esi, 0x13c
push eax
push esi
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__d
push edx
call fcn.0062cd14
add esp, 0x14
cmp eax, 3
jne 0x507309
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
cmp dword [edi + 0x88], 2
jne 0x507399
cmp dword [esi], 0x14
je 0x507399
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00500c10
add esp, 8
jmp 0x507399
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.0062cd14
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x507399
push dword [edi + 0x68]
push ebx
call fcn.00508070
add esp, 8
test al, al
je 0x508054
mov dword [edi + 0x78], 0xc8
mov dword [esi], 0xa
jmp 0x507399
test eax, 0x40000
je 0x508054
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.0062cd14
add esp, 0x14
cmp eax, 3
jne 0x508054
mov eax, dword [ebp - 8]
mov dword [esi + 0x13c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x140], eax
add esi, 0x13c
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x866c], eax
mov eax, dword [esi]
mov dword [ebx + 0x8674], eax
mov eax, dword [ebx + 0x8618]
test eax, eax
je 0x5073b8
cmp eax, dword [esi]
jle 0x5073c0
mov eax, dword [esi]
mov dword [ebx + 0x8618], eax
cmp byte [ebx + 0x2c0], 0
mov eax, dword [ebp + 0xc]
je 0x507427
mov ecx, dword [edi + 0x78]
cmp ecx, 0x190
jl 0x507427
cmp ecx, 0x191
jne 0x5073e8
cmp byte [eax + 0x1e4], 0
jne 0x507427
cmp ecx, 0x197
jne 0x5073f9
cmp byte [eax + 0x1e5], 0
jne 0x507427
mov eax, dword [ebx + 0x8630]
or eax, dword [ebx + 0x8634]
je 0x507f27
cmp dword [ebx + 0x248], 1
jne 0x507f27
cmp ecx, 0x1a0
jne 0x507f27
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
cmp ecx, 0xa
jne 0x507448
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00500c10
mov eax, dword [ebp + 0xc]
add esp, 8
mov byte [eax + 0x1e0], 1
jmp 0x507485
cmp ecx, 0x14
je 0x507485
cmp dword [edi + 0x88], 1
jne 0x50745c
cmp dword [edi + 0x78], 0x65
je 0x507485
cmp ecx, 0xb
jl 0x507485
cmp byte [eax + 0x1e0], 0
jne 0x507485
mov esi, dword [eax + 0x478]
test esi, esi
je 0x507485
push eax
push ebx
call fcn.0050bb00
add esp, 8
test al, al
jne 0x507485
mov byte [esi], 1
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x507494
sub eax, 0x64
jne 0x5074c6
cmp dword [ebx + 0x238], 0
je 0x5074a4
mov byte [ebx + 0x867c], 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 0x5075da
cmp byte [ebx + 0x2e7], 0
jne 0x5075da
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x5075da
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00691b95
mov ecx, dword [ebx + 0x2a0]
add esp, 0xc
mov esi, dword [ebx + 0x2a4]
or ecx, esi
je 0x507533
cmp edx, esi
jg 0x507f3c
jl 0x507533
cmp eax, dword [ebx + 0x2a0]
ja 0x507f3c
test edx, edx
jl 0x5075be
jg 0x507541
test eax, eax
jb 0x5075be
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.0050a530
add esp, 0xc
mov esi, dword [ebp + 0xc]
cmp byte [ebx + 0x2c4], 0
mov eax, 2
mov ecx, 3
cmovne eax, ecx
cmp byte [ebx + 0x2d0], 0
mov dword [ebp + 8], eax
je 0x50758f
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.00500a90
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.00500a60
add esp, 0x10
test eax, eax
jne 0x50805a
mov eax, dword [edi + 0x58]
add dword [ebx + 0x8680], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x507ec5
mov esi, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov byte [esi + 0x1e0], 1
call fcn.00500c10
add esp, 0x10
jmp 0x50755a
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507633
push dword [edi + 0x68]
call fcn.00506cd0
mov esi, eax
add esp, 4
test esi, esi
je 0x507f56
cmp byte [esi], 0
jne 0x507619
push esi
call dword [0x7ae4cc]
add esp, 4
jmp 0x507557
push dword [ebx + 0x8694]
call dword [0x7ae4cc]
add esp, 4
mov dword [ebx + 0x8694], esi
jmp 0x507557
push 7
push dword [edi + 0x68]
push str.Server:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507692
push dword [edi + 0x68]
call fcn.00506cd0
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x478]
test ecx, ecx
je 0x507683
cmp byte [ecx], 0
je 0x507683
push eax
push ebx
call fcn.0050b8d0
add esp, 8
test al, al
je 0x507680
mov eax, dword [esi + 0x478]
mov byte [eax], 0
mov eax, dword [ebp + 8]
push eax
call dword [0x7ae4cc]
add esp, 4
jmp 0x50755a
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x13c], 0xa
jne 0x5076da
cmp byte [esi + 0x1e3], 0
je 0x5076da
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.00506c00
add esp, 0xc
test al, al
je 0x5076da
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1e0], 0
call fcn.00500c10
add esp, 8
jmp 0x50755a
cmp dword [esi + 0x13c], 0xb
jne 0x50771f
cmp byte [esi + 0x1e3], 0
je 0x50771f
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.00506c00
add esp, 0xc
test al, al
je 0x50771f
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x1e0], 1
call fcn.00500c10
add esp, 8
jmp 0x50755a
cmp dword [esi + 0x13c], 0xa
jne 0x50775b
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.00506c00
add esp, 0xc
test al, al
je 0x50775b
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1e0], 0
call fcn.00500c10
add esp, 8
jmp 0x50755a
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.00506c00
add esp, 0xc
test al, al
je 0x507780
mov byte [esi + 0x1e0], 1
jmp 0x50755a
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x5078de
mov esi, dword [edi + 0x68]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x5077c3
movzx eax, al
push eax
call fcn.00693377
add esp, 4
test eax, eax
jne 0x5077bb
cmp byte [esi], 0x2c
jne 0x5077c3
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x5077a6
push 7
push esi
push str.chunked
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x5077ec
push dword [ebp + 0xc]
mov byte [edi + 0xc0], 1
call fcn.005233a0
add esp, 4
add esi, 7
cmp dword [edi + 0x8c], 0
jne 0x507557
push 8
push esi
push str.identity
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x50781c
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x5077a0
push 7
push esi
push str.deflate
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507842
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x5077a0
push 4
push esi
push str.gzip
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507868
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x5077a0
push 6
push esi
push str.x_gzip
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x50788e
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x5077a0
push 8
push esi
push str.compress
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x5078b4
mov dword [edi + 0x8c], 3
add esi, 8
jmp 0x5077a0
push 0xa
push esi
push str.x_compress
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507557
mov dword [edi + 0x8c], 3
add esi, 0xa
jmp 0x5077a0
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x5079f0
cmp dword [ebx + 0x318], 0
jne 0x50790e
cmp dword [esi + 0x13c], 0x14
jne 0x5079f0
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x507938
lea ebx, [ebx]
movzx eax, al
push eax
call fcn.00693377
add esp, 4
test eax, eax
je 0x507938
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x507920
push 8
push esi
push str.identity
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x50795b
mov dword [edi + 0x8c], 0
jmp 0x507557
push 7
push esi
push str.deflate
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x50797e
mov dword [edi + 0x8c], 1
jmp 0x507557
push 4
push esi
push str.gzip
call fcn.0050c790
add esp, 0xc
test eax, eax
jne 0x5079e1
push 6
push esi
push str.x_gzip
call fcn.0050c790
add esp, 0xc
test eax, eax
jne 0x5079e1
push 8
push esi
push str.compress
call fcn.0050c790
add esp, 0xc
test eax, eax
jne 0x5079d2
push 0xa
push esi
push str.x_compress
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507557
mov dword [edi + 0x8c], 3
jmp 0x507557
mov dword [edi + 0x8c], 2
jmp 0x507557
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507a96
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x507a33
movzx eax, al
push eax
call fcn.00693292
add esp, 4
test eax, eax
jne 0x507a33
cmp byte [esi], 0x2a
je 0x507a33
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x507a16
movzx eax, byte [esi]
push eax
call fcn.00693292
add esp, 4
test eax, eax
je 0x507a7d
push 0xa
push 0
push esi
call fcn.00691b95
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8630]
cmp eax, dword [edi + 0x70]
jne 0x507557
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x8634], edx
jne 0x50755a
mov byte [edi + 0x6c], 1
jmp 0x50755a
mov dword [ebx + 0x8630], 0
mov dword [ebx + 0x8634], 0
jmp 0x507557
cmp dword [ebx + 0x410], 0
je 0x507afe
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507afe
push 2
push 2
push ebx
call fcn.0050c410
mov eax, dword [esi + 0x23c]
add esp, 0xc
test eax, eax
jne 0x507ad2
mov eax, dword [esi + 0x98]
push dword [ebx + 0x8624]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x410]
push ebx
call fcn.004f62a0
push 2
push ebx
call fcn.0050c450
add esp, 0x20
jmp 0x50755a
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507b6a
cmp dword [ebx + 0x238], 0
jne 0x507b26
cmp byte [ebx + 0x2b9], 0
je 0x507b6a
push 0
call fcn.00687f9e
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0x14], edx
push eax
call fcn.0050bd10
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x50755a
mov dword [ebx + 0x8678], eax
jmp 0x50755a
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507b8a
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x507baa
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507bf2
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x507bf2
push dword [edi + 0x68]
cmp eax, 0x197
sete byte [ebp - 0xc]
call fcn.00506cd0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x507f56
push eax
push dword [ebp - 0xc]
push esi
call fcn.00506f70
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [0x7ae4cc]
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
jne 0x50805a
jmp 0x50755a
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x507c92
cmp eax, 0x190
jge 0x507c92
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.0050c790
add esp, 0xc
test eax, eax
je 0x507c92
cmp dword [ebx + 0x100], 0
jne 0x507c92
push dword [edi + 0x68]
call fcn.00506cd0
add esp, 4
test eax, eax
je 0x507f56
cmp byte [eax], 0
jne 0x507c51
push eax
call dword [0x7ae4cc]
add esp, 4
jmp 0x50755a
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x50755a
push eax
call dword [0x7ae4d4]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x507f56
push esi
call fcn.00508370
add esp, 4
test eax, eax
jne 0x50805a
jmp 0x50755a
mov eax, dword [esi + 0x20c]
test dword [eax + 0x3c], 0x40000
je 0x50755a
push dword [edi + 0x68]
push esi
call fcn.0051fbb0
add esp, 8
test eax, eax
jne 0x50805a
jmp 0x50755a
cmp al, 0xd
jne 0x507cc8
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x507cd4
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x507d47
cmp eax, 0xc7
jg 0x507d47
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
sub eax, 0x64
je 0x507d2b
dec eax
jne 0x507d9d
cmp dword [edi + 0x88], 1
jne 0x507d9d
push str.Received_101_n
push ebx
call fcn.00500c10
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 0x507d9d
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x507d9d
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x507d9d
cmp byte [edi + 0xc0], 0
jne 0x507d9d
cmp byte [esi + 0x1e0], 0
jne 0x507d9d
cmp dword [esi + 0x13c], 0xb
jne 0x507d9d
mov eax, dword [esi + 0x20c]
test dword [eax + 0x3c], 0x40000
jne 0x507d9d
cmp dword [ebx + 0x248], 5
je 0x507d9d
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00500c10
add esp, 8
mov byte [esi + 0x1e0], 1
push esi
call fcn.00508540
add esp, 4
test eax, eax
jne 0x507fff
cmp byte [ebx + 0x2c4], al
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x53c]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp + 8], edx
call fcn.00500a60
add esp, 0x10
test eax, eax
jne 0x50805a
mov eax, dword [ebp + 8]
add dword [ebx + 0x80], eax
add dword [ebx + 0x8680], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x507e07
cmp eax, 0xc7
jle 0x507e09
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x84], ecx
cmp byte [eax], 0
jne 0x507ebb
push esi
call fcn.00506da0
add esp, 4
test eax, eax
jne 0x50805a
cmp dword [edi + 0x78], 0x12c
jl 0x507e9a
cmp byte [esi + 0x1ee], al
jne 0x507e9a
cmp byte [esi + 0x1e0], al
jne 0x507e9a
cmp byte [esi + 0x1ef], al
jne 0x507ea3
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x507e9a
cmp byte [edi + 0xac], 0
jne 0x507e9a
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.00500c10
mov byte [esi + 0x1e0], 1
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
mov byte [edi + 0xac], 1
cmp byte [ebx + 0x861c], 0
je 0x507e9a
mov dword [edi + 0x84], 3
cmp byte [esi + 0x1ef], 0
je 0x507eb8
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00500c10
add esp, 8
or dword [edi + 0xa8], 2
mov eax, dword [ebp + 0x14]
cmp byte [edi + 0x48], 0
je 0x507f62
mov eax, dword [ebx + 0x53c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x508058
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x507200
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 0x507f12
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.00508770
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.00500b70
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 0x507f70
mov byte [eax], 1
jmp 0x507f94
cmp byte [edi + 0xc0], 0
je 0x507f94
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 0x507fa2
cmp eax, ecx
je 0x507fb8
push eax
push ecx
push ebx
call fcn.0050a530
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 0x507fcc
cmp dword [edi + 0x14], 0
jne 0x507fcc
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x507fd4
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x507fdb
and dword [edi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x2d0], 0
je 0x508058
push esi
push dword [ebp + 8]
push dword [edi + 0x60]
push 1
push ebx
call fcn.00500a90
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.00500b70
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.005081c0
add esp, 0xc
test eax, eax
jne 0x50805a
cmp dword [edi + 0x50], eax
jne 0x508058
cmp dword [edi + 0x58], 5
jbe 0x508058
push dword [ebx + 0x53c]
push dword [ebp + 0xc]
push ebx
call fcn.005080f0
add esp, 0xc
test al, al
jne 0x508058
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