Function at 0x10051db0
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.10135950
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x10052bd8
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.10052e70
add esp, 0xc
test eax, eax
jne 0x10052c17
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 0x10051e46
cmp dword [esi + 0x68], 5
jbe 0x10051e46
push dword [edi + 0x874]
push ebx
push edi
call fcn.10052d70
add esp, 0xc
test al, al
je 0x10052a1a
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x10052764
cmp al, 0xd
je 0x10052768
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x1005213c
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x10051f93
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.10043020
add esp, 0x18
cmp eax, 1
jne 0x10051ee2
cmp dword [ebp - 0xc], 2
jne 0x10052a51
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.10043020
add esp, 0xc
cmp eax, 1
jne 0x10052a51
lea ecx, [ebx + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x10051ef7
cmp eax, 4
jne 0x10051f30
cmp byte [ebp + 0xb], 0x20
jne 0x10052a51
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 0x10051fef
cmp dword [ecx], 0x14
je 0x10051fef
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.1004be50
add esp, 8
lea ecx, [ebx + 0x180]
jmp 0x10051fef
test eax, eax
jne 0x10052a51
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.10043020
add esp, 0xc
mov dword [ebx + 0x180], 0xa
lea ecx, [ebx + 0x180]
test eax, eax
jne 0x10051fef
push dword [esi + 0x78]
push edi
call fcn.10052cf0
add esp, 8
test al, al
je 0x10052c11
lea ecx, [ebx + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x10051fef
test eax, 0x40000
je 0x10052c11
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.10043020
add esp, 0x18
cmp eax, 4
jne 0x10052c11
cmp byte [ebp - 1], 0x20
jne 0x10052c11
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 0x10052011
cmp eax, dword [ecx]
jle 0x10052019
mov eax, dword [ecx]
mov dword [edi + 0x4b38], eax
mov eax, dword [edi + 0x4b50]
or eax, dword [edi + 0x4b54]
je 0x10052045
cmp dword [edi + 0x400], 1
jne 0x10052045
cmp dword [esi + 0x88], 0x1a0
jne 0x10052045
mov byte [esi + 0xc9], 1
jmp 0x10052083
cmp byte [edi + 0x4f8], 0
je 0x10052083
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x10052083
cmp eax, 0x191
jne 0x1005206b
cmp byte [ebx + 0x288], 0
jne 0x10052083
cmp eax, 0x197
jne 0x10052a6b
cmp byte [ebx + 0x289], 0
je 0x10052a6b
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x100520a2
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.1004be50
push 1
push ebx
call fcn.1004c830
add esp, 0x10
jmp 0x100520f8
cmp eax, 0x14
je 0x100520ec
cmp dword [esi + 0xa4], 1
jne 0x100520b9
cmp dword [esi + 0x88], 0x65
je 0x100520ec
cmp eax, 0xb
jl 0x100520f8
cmp byte [ebx + 0x281], 0
jne 0x100520f8
cmp dword [ebx + 0x548], 0
je 0x100520f8
push ebx
push edi
call fcn.10057620
add esp, 8
test al, al
jne 0x100520f8
mov eax, dword [ebx + 0x548]
mov dword [eax], 1
jmp 0x100520f8
mov eax, dword [ebx + 0x548]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1005210a
sub eax, 0x64
jne 0x1005213c
cmp dword [edi + 0x3f0], 0
je 0x1005211a
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 0x10052208
cmp byte [edi + 0x51f], 0
jne 0x10052208
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x10052208
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10058ea0
add esp, 0x10
test eax, eax
jne 0x100521d2
mov eax, dword [edi + 0x4d8]
mov edx, dword [edi + 0x4dc]
or eax, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
je 0x100521b7
cmp ecx, edx
jg 0x10052a80
jl 0x100521b7
cmp eax, dword [edi + 0x4d8]
ja 0x10052a80
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.100560b0
add esp, 0xc
jmp 0x10052707
cmp eax, 1
jne 0x10052a9a
mov eax, dword [edi + 0x4d8]
or eax, dword [edi + 0x4dc]
jne 0x10052a80
push 2
push ebx
call fcn.1004c830
push str.Overflow_Content_Length:_value__n
push edi
call fcn.1004be50
add esp, 0x10
jmp 0x10052707
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x10052265
push dword [esi + 0x78]
call fcn.10051840
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x10052ab4
cmp byte [eax], 0
jne 0x10052248
push eax
call dword [0x101c0068]
add esp, 4
jmp 0x10052707
push dword [edi + 0x4be8]
call dword [0x101c0068]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x4be8], eax
jmp 0x10052707
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100522d1
cmp dword [ebx + 0x180], 0x14
jge 0x10052707
push dword [esi + 0x78]
call fcn.10051840
mov ecx, dword [ebx + 0x548]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x100522c2
cmp dword [ecx], 1
jne 0x100522c2
push eax
push edi
call fcn.10057420
add esp, 8
test al, al
je 0x100522bf
mov eax, dword [ebx + 0x548]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x101c0068]
add esp, 4
jmp 0x10052707
cmp dword [ebx + 0x180], 0xa
jne 0x10052317
cmp byte [ebx + 0x286], 0
je 0x10052317
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.10051770
add esp, 0xc
test al, al
je 0x10052317
push 0
push ebx
call fcn.1004c830
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.1004be50
add esp, 0x10
jmp 0x10052707
cmp dword [ebx + 0x180], 0xb
jne 0x1005235d
cmp byte [ebx + 0x286], 0
je 0x1005235d
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.10051770
add esp, 0xc
test al, al
je 0x1005235d
push 1
push ebx
call fcn.1004c830
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.1004be50
add esp, 0x10
jmp 0x10052707
cmp dword [ebx + 0x180], 0xa
jne 0x1005239a
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.10051770
add esp, 0xc
test al, al
je 0x1005239a
push 0
push ebx
call fcn.1004c830
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.1004be50
add esp, 0x10
jmp 0x10052707
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.10051770
add esp, 0xc
test al, al
je 0x100523c3
push 2
push ebx
call fcn.1004c830
add esp, 8
jmp 0x10052707
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100523f0
mov eax, dword [esi + 0x78]
push 1
add eax, 0x12
push eax
push ebx
call fcn.1004e5b0
add esp, 0xc
jmp 0x100526ff
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x10052426
cmp dword [edi + 0x55c], 0
je 0x10052426
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebx
call fcn.1004e5b0
add esp, 0xc
jmp 0x100526ff
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100524eb
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x10052477
mov ebx, eax
movzx eax, cl
push eax
call fcn.1003e2a0
add esp, 4
test eax, eax
jne 0x1005246e
cmp byte [ebx], 0x2a
je 0x1005246e
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x10052451
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.1003e2a0
add esp, 4
test eax, eax
je 0x100524d2
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.10058ea0
add esp, 0x10
test eax, eax
jne 0x10052707
mov eax, dword [edi + 0x4b50]
cmp eax, dword [esi + 0x80]
jne 0x10052707
mov eax, dword [edi + 0x4b54]
cmp eax, dword [esi + 0x84]
jne 0x10052707
mov byte [esi + 0x7c], 1
jmp 0x10052707
mov dword [edi + 0x4b50], 0
mov dword [edi + 0x4b54], 0
jmp 0x10052707
cmp dword [edi + 0x6b8], 0
je 0x10052555
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x10052555
push 2
push 2
push edi
call fcn.1004e7f0
mov eax, dword [ebx + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x10052527
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.10041530
push 2
push edi
call fcn.1004e830
add esp, 0x24
jmp 0x10052707
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100525cd
cmp dword [edi + 0x3f0], 0
jne 0x1005257d
cmp byte [edi + 0x4f1], 0
je 0x100525cd
push 0
call fcn.10140d0d
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.100587c0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [edi + 0x4f1], 0
je 0x10052707
mov dword [edi + 0x4bc8], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x4bcc], eax
jmp 0x10052707
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100525f3
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x10052619
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x1005265b
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x1005265b
push dword [esi + 0x78]
call fcn.10051840
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10052ab4
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.10051ae0
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x101c0068]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x100526ff
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x100526e4
cmp eax, 0x190
jge 0x100526e4
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.1004e3d0
add esp, 0xc
test eax, eax
je 0x100526e4
cmp dword [edi + 0x13c], 0
jne 0x100526e4
push dword [esi + 0x78]
call fcn.10051840
add esp, 4
test eax, eax
je 0x10052ab4
cmp byte [eax], 0
jne 0x100526b2
push eax
call dword [0x101c0068]
add esp, 4
jmp 0x10052707
cmp byte [edi + 0x4fa], 0
mov dword [edi + 0x13c], eax
je 0x10052707
push eax
call dword [0x101c0070]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x10052ab4
push ebx
call fcn.10053080
add esp, 4
jmp 0x100526ff
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x10052707
push dword [esi + 0x78]
push ebx
call fcn.1006ca60
add esp, 8
test eax, eax
jne 0x10052c17
xor eax, eax
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
cmp byte [edi + 0x508], 0
mov dword [ebp - 0x14], eax
je 0x10052735
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.1004bcf0
mov eax, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push ebx
call fcn.1004bcc0
add esp, 0x10
test eax, eax
jne 0x10052c17
mov eax, dword [esi + 0x68]
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
jmp 0x100529f6
cmp al, 0xd
jne 0x1005276e
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x1005277a
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x100527ee
cmp eax, 0xc7
jg 0x100527ee
sub eax, 0x64
je 0x100527bc
sub eax, 1
je 0x100527a6
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x10052845
cmp dword [esi + 0xa4], 1
je 0x10052ac0
mov byte [esi + 0x58], 0
jmp 0x10052845
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x10052845
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.1003ba50
add esp, 8
jmp 0x10052845
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x10052845
cmp byte [esi + 0xdc], 0
jne 0x10052845
cmp byte [ebx + 0x281], 0
jne 0x1005284e
cmp dword [ebx + 0x180], 0xb
jne 0x10052845
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x10052845
cmp dword [edi + 0x400], 6
je 0x10052845
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.1004be50
push 2
push ebx
call fcn.1004c830
add esp, 0x10
cmp byte [ebx + 0x281], 0
je 0x10052889
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x10052864
cmp dword [ebx + 0x33c], 2
je 0x10052874
cmp eax, 0x197
jne 0x10052889
cmp dword [ebx + 0x354], 2
jne 0x10052889
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.1004be50
add esp, 8
mov byte [edi + 0x494c], 1
push ebx
call fcn.10053230
add esp, 4
test eax, eax
jne 0x10052bb8
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.1004bcc0
add esp, 0x10
test eax, eax
jne 0x10052c17
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 0x100528f1
cmp eax, 0xc7
jle 0x100528f3
xor ecx, ecx
push ebx
mov dword [edi + 0xa4], ecx
call fcn.10051910
add esp, 4
test eax, eax
jne 0x10052c17
cmp dword [esi + 0x88], 0x12c
jl 0x100529ec
cmp byte [ebx + 0x292], al
jne 0x100529ce
cmp byte [ebx + 0x281], al
jne 0x100529ce
cmp byte [ebx + 0x293], al
jne 0x100529d7
mov eax, dword [edi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x100529ce
push 0
push edi
call fcn.1003ba50
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x100529ce
cmp byte [edi + 0x4f9], 0
je 0x10052997
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.1004be50
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x100529ce
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x100529ce
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.1004be50
push 2
push ebx
call fcn.1004c830
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [edi + 0x4b3c], 0
je 0x100529ce
mov dword [esi + 0xa0], 3
cmp byte [ebx + 0x293], 0
je 0x100529ec
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.1004be50
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x10052aef
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 0x10052c15
mov ecx, dword [ebp + 0x10]
jmp 0x10051dd0
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [eax], 0
je 0x10052a36
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.1004bd70
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.100534b0
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.1004bd70
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.1004bd70
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.1004be50
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 0x10052b00
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x10052b54
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x10052b2d
cmp dword [edi + 0x63c], 2
jne 0x10052b2d
cmp dword [esi + 4], 0xffffffff
jg 0x10052b2d
jl 0x10052b25
cmp dword [esi], 0xffffffff
ja 0x10052b2d
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x10052b54
cmp byte [esi + 0xdc], 0
mov ebx, dword [ebp + 0x14]
je 0x10052b54
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 0x10052b62
cmp eax, ecx
je 0x10052b78
push eax
push ecx
push edi
call fcn.100560b0
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 0x10052b89
cmp dword [esi + 0x14], 0
jne 0x10052b89
mov byte [ebx], 1
jmp 0x10052b8e
cmp byte [ebx], 0
je 0x10052b95
and dword [esi + 0xc4], 0xfffffffe
cmp byte [edi + 0x508], 0
je 0x10052c15
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push edi
call fcn.1004bcf0
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.1004bd70
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.10052e70
add esp, 0xc
test eax, eax
jne 0x10052c17
cmp dword [esi + 0x60], eax
jne 0x10052c15
cmp dword [esi + 0x68], 5
jbe 0x10052c15
push dword [edi + 0x874]
push ebx
push edi
call fcn.10052d70
add esp, 0xc
test al, al
jne 0x10052c15
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