Function at 0x5715e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x623e08
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.005277f0
mov ebx, dword [esp + 0x64]
test bl, 7
je 0x571a46
test bh, 3
je 0x571a46
test bh, 0xc
je 0x571a46
push 0
push 0x6c6e20
lea ecx, [esp + 0x24]
call fcn.0050edc6
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0
call fcn.0050eded
mov ecx, dword [0x6c6e10]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], eax
jle 0x571a2c
mov ecx, dword [0x6c6e0c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x571a07
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x571a07
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x571a07
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5716b6
cmp ebp, eax
je 0x571a07
mov edx, dword [ebp + 0x1c]
mov eax, dword [eax + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x571a07
push 0x659388
mov ecx, ebp
call fcn.005dda74
test eax, eax
je 0x5716da
push 0x6575b0
mov ecx, ebp
call fcn.005dda74
test eax, eax
je 0x571a07
test byte [ebp + 0x7c], 4
jne 0x571a07
push ebp
call fcn.00572960
mov ecx, dword [esp + 0x60]
add esp, 4
cmp eax, ecx
jne 0x571a07
cmp ebx, 0xfff
jne 0x57171c
mov esi, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.005277f0
mov edx, dword [edi + 4]
mov dword [edx + esi*4], ebp
jmp 0x571a07
test bl, 1
jne 0x571734
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xf4]
test al, al
jne 0x571a07
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xf4]
test al, al
jne 0x57176d
test bl, 6
je 0x571a07
mov ecx, ebp
call fcn.005783b0
test bl, 2
jne 0x571760
test al, al
jne 0x571a07
test bl, 4
jne 0x57176d
test al, al
je 0x571a07
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xc8]
test eax, eax
je 0x571787
test bh, 1
je 0x571a07
jmp 0x571790
test bh, 2
je 0x571a07
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5717a9
test bh, 4
je 0x571a07
jmp 0x5717b2
test bh, 8
je 0x571a07
mov ecx, ebp
call fcn.00572b50
test al, al
je 0x5717c8
test bl, 0x80
je 0x571a07
jmp case.default.0x5717e9
mov eax, ebx
and eax, 0x78
je 0x571a07
cmp eax, 0x78
je case.default.0x5717e9
mov ecx, ebp
call fcn.005729a0
add eax, 0xffff17e5
cmp eax, 3
ja case.default.0x5717e9
jmp dword [eax*4 + 0x571a5c]
test bl, 8
je 0x571a07
jmp case.default.0x5717e9
test bl, 0x10
je 0x571a07
jmp case.default.0x5717e9
test bl, 0x20
je 0x571a07
jmp case.default.0x5717e9
test bl, 0x40
je 0x571a07
test ebx, 0xf7ff8000
je 0x5719f7
mov ecx, ebp
mov edi, ebp
call fcn.00572b50
test al, al
je 0x57183c
mov ecx, ebp
call fcn.005f04f1
mov edi, eax
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x571a03
test bh, 0x80
jne 0x571a1e
test ebx, 0x20000
je 0x5718bb
lea esi, [ebp + 0xb8]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x571a03
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
sub ecx, edx
mov edx, dword [esp + 0x2c]
sub eax, edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x571a03
mov esi, dword [esp + 0x6c]
test ebx, 0x10000
je 0x5718f7
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
call fcn.005e0f44
mov eax, dword [esp + 0x68]
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x571a03
test ebx, 0xf7fe0000
je 0x5719f3
mov edx, dword [esp + 0x68]
mov eax, dword [edi + 0x1c]
and esi, 0xffff
and edx, 0xffff
shl esi, 0x10
or esi, edx
push esi
push 0
push 0x84
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, 0x40000
je 0x57193b
cmp eax, 0xa
jne 0x571a03
test ebx, 0x80000
je 0x57194c
cmp eax, 0xb
jne 0x571a03
test ebx, 0x100000
je 0x57195d
cmp eax, 0xc
jne 0x571a03
test ebx, 0x200000
je 0x57196e
cmp eax, 0xf
jne 0x571a03
test ebx, 0x400000
je 0x57197f
cmp eax, 0xd
jne 0x571a03
test ebx, 0x800000
je 0x57198c
cmp eax, 0xe
jne 0x571a03
test ebx, 0x1000000
je 0x571999
cmp eax, 0x10
jne 0x571a03
test ebx, 0x2000000
je 0x5719a6
cmp eax, 0x11
jne 0x571a03
test ebx, 0x4000000
je 0x5719b2
test eax, eax
jne 0x571a03
test ebx, 0x6000000
je 0x5719bf
cmp eax, 3
jne 0x571a03
test ebx, 0x10000000
je 0x5719cc
cmp eax, 4
jne 0x571a03
test ebx, 0x20000000
je 0x5719d9
cmp eax, 8
jne 0x571a03
test ebx, 0x40000000
je 0x5719e6
cmp eax, 9
jne 0x571a03
test ebx, 0x80000000
je 0x5719f3
cmp eax, 1
jne 0x571a03
mov edi, dword [esp + 0x60]
push ebp
push edi
call fcn.00571a70
add esp, 8
jmp 0x571a07
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x571665
jmp 0x571a2c
mov ecx, dword [esp + 0x60]
push ebp
push ecx
call fcn.00571a70
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.0050ee02
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.0050ee02
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret