Function at 0x10050ef0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.10134b10
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x10051d18
mov ecx, dword [esi + 0x6c]
sub ecx, eax
mov eax, dword [ebp + 0x10]
dec ecx
add dword [eax], ecx
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push edi
call fcn.10051fb0
add esp, 0xc
test eax, eax
jne 0x10051d57
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x874]
mov dword [esi + 0x78], eax
jne 0x10050f86
cmp dword [esi + 0x68], 5
jbe 0x10050f86
push dword [edi + 0x874]
push ebx
push edi
call fcn.10051eb0
add esp, 0xc
test al, al
je 0x10051b5a
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x100518a4
cmp al, 0xd
je 0x100518a8
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x1005127c
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x100510d3
lea ecx, [esi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [ebx + 0x180]
push eax
lea eax, [ebp - 0xc]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.10042140
add esp, 0x18
cmp eax, 1
jne 0x10051022
cmp dword [ebp - 0xc], 2
jne 0x10051b91
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.10042140
add esp, 0xc
cmp eax, 1
jne 0x10051b91
lea ecx, [ebx + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x10051037
cmp eax, 4
jne 0x10051070
cmp byte [ebp + 0xb], 0x20
jne 0x10051b91
lea ecx, [ebx + 0x180]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0xa4], 2
jne 0x1005112f
cmp dword [ecx], 0x14
je 0x1005112f
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.1004afa0
add esp, 8
lea ecx, [ebx + 0x180]
jmp 0x1005112f
test eax, eax
jne 0x10051b91
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.10042140
add esp, 0xc
mov dword [ebx + 0x180], 0xa
lea ecx, [ebx + 0x180]
test eax, eax
jne 0x1005112f
push dword [esi + 0x78]
push edi
call fcn.10051e30
add esp, 8
test al, al
je 0x10051d51
lea ecx, [ebx + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x1005112f
test eax, 0x40000
je 0x10051d51
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebx + 0x184]
push ecx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.10042140
add esp, 0x18
cmp eax, 4
jne 0x10051d51
cmp byte [ebp - 1], 0x20
jne 0x10051d51
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x184], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x4bb8], eax
mov eax, dword [ecx]
mov dword [edi + 0x4bc0], eax
mov eax, dword [edi + 0x4b38]
test eax, eax
je 0x10051151
cmp eax, dword [ecx]
jle 0x10051159
mov eax, dword [ecx]
mov dword [edi + 0x4b38], eax
mov eax, dword [edi + 0x4b50]
or eax, dword [edi + 0x4b54]
je 0x10051185
cmp dword [edi + 0x400], 1
jne 0x10051185
cmp dword [esi + 0x88], 0x1a0
jne 0x10051185
mov byte [esi + 0xc9], 1
jmp 0x100511c3
cmp byte [edi + 0x4f8], 0
je 0x100511c3
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x100511c3
cmp eax, 0x191
jne 0x100511ab
cmp byte [ebx + 0x288], 0
jne 0x100511c3
cmp eax, 0x197
jne 0x10051bab
cmp byte [ebx + 0x289], 0
je 0x10051bab
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x100511e2
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.1004afa0
push 1
push ebx
call fcn.1004b980
add esp, 0x10
jmp 0x10051238
cmp eax, 0x14
je 0x1005122c
cmp dword [esi + 0xa4], 1
jne 0x100511f9
cmp dword [esi + 0x88], 0x65
je 0x1005122c
cmp eax, 0xb
jl 0x10051238
cmp byte [ebx + 0x281], 0
jne 0x10051238
cmp dword [ebx + 0x548], 0
je 0x10051238
push ebx
push edi
call fcn.10056760
add esp, 8
test al, al
jne 0x10051238
mov eax, dword [ebx + 0x548]
mov dword [eax], 1
jmp 0x10051238
mov eax, dword [ebx + 0x548]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1005124a
sub eax, 0x64
jne 0x1005127c
cmp dword [edi + 0x3f0], 0
je 0x1005125a
mov byte [edi + 0x4bd0], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x10051348
cmp byte [edi + 0x51f], 0
jne 0x10051348
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051348
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10057fd0
add esp, 0x10
test eax, eax
jne 0x10051312
mov eax, dword [edi + 0x4d8]
mov edx, dword [edi + 0x4dc]
or eax, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
je 0x100512f7
cmp ecx, edx
jg 0x10051bc0
jl 0x100512f7
cmp eax, dword [edi + 0x4d8]
ja 0x10051bc0
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.100551f0
add esp, 0xc
jmp 0x10051847
cmp eax, 1
jne 0x10051bda
mov eax, dword [edi + 0x4d8]
or eax, dword [edi + 0x4dc]
jne 0x10051bc0
push 2
push ebx
call fcn.1004b980
push str.Overflow_Content_Length:_value__n
push edi
call fcn.1004afa0
add esp, 0x10
jmp 0x10051847
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x100513a5
push dword [esi + 0x78]
call fcn.10050980
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x10051bf4
cmp byte [eax], 0
jne 0x10051388
push eax
call dword [0x101bf068]
add esp, 4
jmp 0x10051847
push dword [edi + 0x4be8]
call dword [0x101bf068]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x4be8], eax
jmp 0x10051847
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051411
cmp dword [ebx + 0x180], 0x14
jge 0x10051847
push dword [esi + 0x78]
call fcn.10050980
mov ecx, dword [ebx + 0x548]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10051402
cmp dword [ecx], 1
jne 0x10051402
push eax
push edi
call fcn.10056560
add esp, 8
test al, al
je 0x100513ff
mov eax, dword [ebx + 0x548]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x101bf068]
add esp, 4
jmp 0x10051847
cmp dword [ebx + 0x180], 0xa
jne 0x10051457
cmp byte [ebx + 0x286], 0
je 0x10051457
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.100508b0
add esp, 0xc
test al, al
je 0x10051457
push 0
push ebx
call fcn.1004b980
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.1004afa0
add esp, 0x10
jmp 0x10051847
cmp dword [ebx + 0x180], 0xb
jne 0x1005149d
cmp byte [ebx + 0x286], 0
je 0x1005149d
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.100508b0
add esp, 0xc
test al, al
je 0x1005149d
push 1
push ebx
call fcn.1004b980
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.1004afa0
add esp, 0x10
jmp 0x10051847
cmp dword [ebx + 0x180], 0xa
jne 0x100514da
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.100508b0
add esp, 0xc
test al, al
je 0x100514da
push 0
push ebx
call fcn.1004b980
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.1004afa0
add esp, 0x10
jmp 0x10051847
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.100508b0
add esp, 0xc
test al, al
je 0x10051503
push 2
push ebx
call fcn.1004b980
add esp, 8
jmp 0x10051847
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051530
mov eax, dword [esi + 0x78]
push 1
add eax, 0x12
push eax
push ebx
call fcn.1004d6f0
add esp, 0xc
jmp 0x1005183f
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051566
cmp dword [edi + 0x55c], 0
je 0x10051566
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebx
call fcn.1004d6f0
add esp, 0xc
jmp 0x1005183f
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x1005162b
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x100515b7
mov ebx, eax
movzx eax, cl
push eax
call fcn.1003d3c0
add esp, 4
test eax, eax
jne 0x100515ae
cmp byte [ebx], 0x2a
je 0x100515ae
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x10051591
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.1003d3c0
add esp, 4
test eax, eax
je 0x10051612
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.10057fd0
add esp, 0x10
test eax, eax
jne 0x10051847
mov eax, dword [edi + 0x4b50]
cmp eax, dword [esi + 0x80]
jne 0x10051847
mov eax, dword [edi + 0x4b54]
cmp eax, dword [esi + 0x84]
jne 0x10051847
mov byte [esi + 0x7c], 1
jmp 0x10051847
mov dword [edi + 0x4b50], 0
mov dword [edi + 0x4b54], 0
jmp 0x10051847
cmp dword [edi + 0x6b8], 0
je 0x10051695
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051695
push 2
push 2
push edi
call fcn.1004d930
mov eax, dword [ebx + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x10051667
mov eax, dword [ebx + 0xa0]
push dword [edi + 0x4b44]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0x6b8]
push edi
call fcn.10040650
push 2
push edi
call fcn.1004d970
add esp, 0x24
jmp 0x10051847
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x1005170d
cmp dword [edi + 0x3f0], 0
jne 0x100516bd
cmp byte [edi + 0x4f1], 0
je 0x1005170d
push 0
call fcn.1013fc5d
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 0x28], edx
push eax
call fcn.100578f0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [edi + 0x4f1], 0
je 0x10051847
mov dword [edi + 0x4bc8], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x4bcc], eax
jmp 0x10051847
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051733
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x10051759
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x1005179b
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x1005179b
push dword [esi + 0x78]
call fcn.10050980
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10051bf4
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.10050c20
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x101bf068]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x1005183f
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x10051824
cmp eax, 0x190
jge 0x10051824
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.1004d510
add esp, 0xc
test eax, eax
je 0x10051824
cmp dword [edi + 0x13c], 0
jne 0x10051824
push dword [esi + 0x78]
call fcn.10050980
add esp, 4
test eax, eax
je 0x10051bf4
cmp byte [eax], 0
jne 0x100517f2
push eax
call dword [0x101bf068]
add esp, 4
jmp 0x10051847
cmp byte [edi + 0x4fa], 0
mov dword [edi + 0x13c], eax
je 0x10051847
push eax
call dword [0x101bf070]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x10051bf4
push ebx
call fcn.100521c0
add esp, 4
jmp 0x1005183f
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x10051847
push dword [esi + 0x78]
push ebx
call fcn.1006bb80
add esp, 8
test eax, eax
jne 0x10051d57
xor eax, eax
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
cmp byte [edi + 0x508], 0
mov dword [ebp - 0x14], eax
je 0x10051875
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.1004ae40
mov eax, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push ebx
call fcn.1004ae10
add esp, 0x10
test eax, eax
jne 0x10051d57
mov eax, dword [esi + 0x68]
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
jmp 0x10051b36
cmp al, 0xd
jne 0x100518ae
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x100518ba
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1005192e
cmp eax, 0xc7
jg 0x1005192e
sub eax, 0x64
je 0x100518fc
sub eax, 1
je 0x100518e6
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x10051985
cmp dword [esi + 0xa4], 1
je 0x10051c00
mov byte [esi + 0x58], 0
jmp 0x10051985
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x10051985
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.1003ab70
add esp, 8
jmp 0x10051985
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x10051985
cmp byte [esi + 0xdc], 0
jne 0x10051985
cmp byte [ebx + 0x281], 0
jne 0x1005198e
cmp dword [ebx + 0x180], 0xb
jne 0x10051985
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x10051985
cmp dword [edi + 0x400], 6
je 0x10051985
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.1004afa0
push 2
push ebx
call fcn.1004b980
add esp, 0x10
cmp byte [ebx + 0x281], 0
je 0x100519c9
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x100519a4
cmp dword [ebx + 0x33c], 2
je 0x100519b4
cmp eax, 0x197
jne 0x100519c9
cmp dword [ebx + 0x354], 2
jne 0x100519c9
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.1004afa0
add esp, 8
mov byte [edi + 0x494c], 1
push ebx
call fcn.10052370
add esp, 4
test eax, eax
jne 0x10051cf8
mov eax, dword [edi + 0x874]
mov ecx, dword [esi + 0x78]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 8], ecx
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
push eax
push ebx
call fcn.1004ae10
add esp, 0x10
test eax, eax
jne 0x10051d57
mov eax, dword [ebp - 8]
add dword [edi + 0xa0], eax
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x10051a31
cmp eax, 0xc7
jle 0x10051a33
xor ecx, ecx
push ebx
mov dword [edi + 0xa4], ecx
call fcn.10050a50
add esp, 4
test eax, eax
jne 0x10051d57
cmp dword [esi + 0x88], 0x12c
jl 0x10051b2c
cmp byte [ebx + 0x292], al
jne 0x10051b0e
cmp byte [ebx + 0x281], al
jne 0x10051b0e
cmp byte [ebx + 0x293], al
jne 0x10051b17
mov eax, dword [edi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x10051b0e
push 0
push edi
call fcn.1003ab70
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x10051b0e
cmp byte [edi + 0x4f9], 0
je 0x10051ad7
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.1004afa0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x10051b0e
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x10051b0e
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.1004afa0
push 2
push ebx
call fcn.1004b980
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [edi + 0x4b3c], 0
je 0x10051b0e
mov dword [esi + 0xa0], 3
cmp byte [ebx + 0x293], 0
je 0x10051b2c
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.1004afa0
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x10051c2f
mov eax, dword [edi + 0x874]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
je 0x10051d55
mov ecx, dword [ebp + 0x10]
jmp 0x10050f10
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [eax], 0
je 0x10051b76
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x5c], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [esi + 0x6c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.1004aec0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.100525f0
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 edi
call fcn.1004aec0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.1004aec0
add esp, 8
mov eax, 8
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
push str.Received_101_n
push edi
call fcn.1004afa0
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x500], 0
je 0x10051c40
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x10051c94
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x10051c6d
cmp dword [edi + 0x63c], 2
jne 0x10051c6d
cmp dword [esi + 4], 0xffffffff
jg 0x10051c6d
jl 0x10051c65
cmp dword [esi], 0xffffffff
ja 0x10051c6d
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x10051c94
cmp byte [esi + 0xdc], 0
mov ebx, dword [ebp + 0x14]
je 0x10051c94
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 0x10051ca2
cmp eax, ecx
je 0x10051cb8
push eax
push ecx
push edi
call fcn.100551f0
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 0x10051cc9
cmp dword [esi + 0x14], 0
jne 0x10051cc9
mov byte [ebx], 1
jmp 0x10051cce
cmp byte [ebx], 0
je 0x10051cd5
and dword [esi + 0xc4], 0xfffffffe
cmp byte [edi + 0x508], 0
je 0x10051d55
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push edi
call fcn.1004ae40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.1004aec0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
push edi
call fcn.10051fb0
add esp, 0xc
test eax, eax
jne 0x10051d57
cmp dword [esi + 0x60], eax
jne 0x10051d55
cmp dword [esi + 0x68], 5
jbe 0x10051d55
push dword [edi + 0x874]
push ebx
push edi
call fcn.10051eb0
add esp, 0xc
test al, al
jne 0x10051d55
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret