Function at 0x40d729
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x10
mov eax, 0x428b62
call fcn.0042867d
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x40d955
mov eax, dword [esi + 8]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x40d955
test ecx, 0x20000000
je 0x40d773
mov eax, dword [eax + 0x24]
cmp eax, ebx
jle 0x40d76a
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x44]
mov eax, dword [esi + 8]
and dword [eax], 0xdfffffff
mov eax, dword [esi + 8]
test dword [eax], 0x1000000
je 0x40d826
cmp dword [eax + 0x90], ebx
je 0x40d81d
cmp dword [eax + 0x98], ebx
je 0x40d81d
cmp dword [eax + 0x70], ebx
je 0x40d81d
cmp dword [eax + 0x78], ebx
je 0x40d81d
cmp dword [eax + 0x50], ebx
je 0x40d81d
cmp dword [eax + 0x58], ebx
je 0x40d81d
push str.Set_P2P_Server_Infos
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
mov eax, dword [esi + 8]
cmp dword [eax + 0x54], 8
pop ecx
jb 0x40d7c8
mov edi, dword [eax + 0x40]
jmp 0x40d7cb
lea edi, [eax + 0x40]
cmp dword [eax + 0x74], 8
jb 0x40d7d6
mov ecx, dword [eax + 0x60]
jmp 0x40d7d9
lea ecx, [eax + 0x60]
add eax, 0x7c
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x14], ecx
jb 0x40d7ea
mov edx, dword [eax + 4]
jmp 0x40d7ed
lea edx, [eax + 4]
mov eax, dword [esi + 8]
push dword [eax + 0xa4]
mov ecx, dword [esi + 4]
push dword [eax + 0xa0]
mov ebx, dword [ecx]
push dword [eax + 0x9c]
push dword [eax + 0x58]
push edi
push dword [eax + 0x78]
push dword [ebp - 0x14]
push dword [eax + 0x98]
push edx
call dword [ebx + 0x5c]
xor ebx, ebx
mov eax, dword [esi + 8]
and dword [eax], 0xfeffffff
mov eax, dword [esi + 8]
or dword [ebp - 0x14], 0xffffffff
test dword [eax], 0x10000000
je 0x40d865
push dword [eax + 0x28]
push str.Set_Player_Volume__d
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
mov eax, dword [esi + 8]
pop ecx
pop ecx
push dword [eax + 0x2c]
mov ecx, dword [esi + 4]
push dword [eax + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x28]
and dword [eax], 0xefffffff
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 8]
or dword [ebp - 0x18], 0xffffffff
test dword [eax], 0x8000000
je 0x40d8a1
push dword [eax + 0x2c]
push str.Set_Player_Mute__d
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
mov edx, dword [esi + 8]
pop ecx
pop ecx
mov ecx, dword [esi + 4]
push dword [edx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x2c]
and dword [eax], 0xf7ffffff
mov dword [ebp - 0x18], ecx
mov eax, dword [esi + 8]
test dword [eax], 0x40000000
je 0x40d8d1
cmp dword [eax + 0x1c], ebx
je 0x40d8c8
cmp dword [eax + 0x20], 8
jb 0x40d8bc
mov eax, dword [eax + 0xc]
jmp 0x40d8bf
add eax, 0xc
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x50]
mov eax, dword [esi + 8]
and dword [eax], 0xbfffffff
mov eax, dword [esi + 8]
test dword [eax], 0x2000000
je 0x40d927
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x34]
mov edi, 0x80000000
cmp eax, edi
je 0x40d8f9
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
push str.RestrictHttpStartInterval
call dword [edx + 0x70]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x38]
cmp eax, edi
je 0x40d91e
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
push str.RestrictHttpStopInterval
call dword [edx + 0x70]
jmp 0x40d91e
mov eax, dword [esi + 8]
and dword [eax], 0xfdffffff
push dword [esi + 0xc]
call dword [0x42d490]
test eax, eax
je 0x40d955
cmp dword [ebp - 0x14], ebx
jge 0x40d93e
cmp dword [ebp - 0x18], ebx
jl 0x40d955
mov eax, dword [esi + 8]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0x46a
push dword [esi + 0xc]
call dword [0x42d4a0]
call fcn.00428722
ret