Function at 0x41eee0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00436810
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 4]
push 6
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
and ebx, 0x40000000
je 0x41ef37
mov edx, dword [esi + 4]
push edx
call ebp
jmp 0x41ef43
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
push ecx
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
jne 0x41efba
test edi, edi
je 0x41ef75
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x41ef73
test eax, 0x20000000
je 0x41ef75
xor edi, edi
lea eax, [esp + 0x20]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
jne 0x41efac
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x41efe7
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41efe7
mov eax, dword [esi + 4]
push eax
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x20]
mov ebx, eax
push ecx
push ebx
call ebp
lea edx, [esp + 0x10]
push edx
push edi
call ebp
lea eax, [esp + 0x10]
push 2
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sub ebp, edx
mov edx, dword [esp + 0x10]
sub ebx, edi
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x41f045
mov eax, dword [esp + 0x28]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x41f047
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp edi, eax
jl 0x41f05c
mov eax, dword [esp + 0x2c]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x41f05e
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x4cf768]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
call ebx
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call ebp
mov edx, dword [0x4cf768]
push 0
push 0x32
mov dword [esp + 0x18], edx
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
xor ebx, ebx
push eax
push ebx
push 0x80
push ecx
call ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4cf6e8]
mov edi, eax
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4cf7e8]
push edi
call fcn.00420ce0
mov edi, eax
mov eax, dword [0x4cf6e8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, ebx
je 0x41f123
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], ecx
jmp 0x41f127
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x10]
lea ecx, [edi + 4]
push edx
call fcn.00420c00
cmp esi, ebx
je 0x41f141
lea eax, [esi + 0x24]
mov dword [esp + 0x10], eax
jmp 0x41f145
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x10]
call fcn.00420c70
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41f171
lea edx, [esp + 0x10]
lea ecx, [esi + 0x28]
push edx
mov dword [esp + 0x14], eax
mov word [esp + 0x18], 4
call fcn.00420d30
push ebx
mov ecx, esi
call fcn.00420bc0
mov ecx, esi
call fcn.0041f3b0
push 0x2000000
push 1
push ebx
lea ecx, [esi + 0x40]
call fcn.00420de0
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00435b00
mov ecx, dword [esi + 4]
add eax, 4
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret