Function at 0x42a5a7
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
lea eax, [ebp - 8]
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push eax
push ebx
push 0x35
push dword [esi + 4]
call fcn.00413750
cmp dword [ebp - 8], 0x40
jne 0x42a811
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x10]
push dword [eax + 0xd20]
push 0x32
push dword [esi + 4]
call fcn.00413750
cmp dword [ebp - 8], ebx
je 0x42a811
lea eax, [ebp - 0x30]
push eax
push 0x64
push dword [esi + 4]
call fcn.004133c6
mov eax, dword [ebp - 0x24]
push ebx
push dword [0x46f8a8]
sub eax, dword [ebp - 0x2c]
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
mov eax, SysReAllocStringLen
push eax
push eax
push 4
push 0x46fb08
push str.RichEdit
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a811
mov eax, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [eax + 0xd20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
push 0x449
mov dword [ebp - 0x18], 0x42a473
push dword [ebp - 4]
call edi
test eax, eax
je 0x42a807
push 0x3c
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004447a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
sub eax, 0x12
mov dword [ebp - 0x6c], 0x3c
je 0x42a794
dec eax
je 0x42a770
dec eax
je 0x42a74f
dec eax
dec eax
je 0x42a6e0
sub eax, 7
jne 0x42a7bd
lea eax, [ebp + 8]
mov dword [ebp - 0x68], 0x40000000
push eax
push ebx
push 0x1d
push dword [esi + 4]
call fcn.00413750
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
jmp 0x42a7ad
lea eax, [ebp + 8]
push eax
push ebx
push 0x16
push dword [esi + 4]
call fcn.00413750
push 0x9c
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004447a0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x108], 0x9c
push 8
pop ecx
sub eax, ecx
mov dword [ebp - 0x104], ecx
je 0x42a737
dec eax
je 0x42a72c
mov word [ebp - 0xf0], 1
jmp 0x42a740
mov word [ebp - 0xf0], 2
jmp 0x42a740
mov word [ebp - 0xf0], 3
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x447
jmp 0x42a7b8
lea eax, [ebp + 8]
mov dword [ebp - 0x68], 7
push eax
push ebx
push 0x14
push dword [esi + 4]
call fcn.00413750
mov eax, dword [ebp + 8]
and eax, 7
or dword [ebp - 0x64], eax
jmp 0x42a7ad
lea eax, [ebp + 8]
mov dword [ebp - 0x68], SysReAllocStringLen
push eax
push ebx
push 0x13
push dword [esi + 4]
call fcn.00413750
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ebp - 0x60], eax
jmp 0x42a7ad
lea eax, [ebp + 8]
mov dword [ebp - 0x68], 0x20000000
push eax
lea eax, [ebp - 0x52]
push eax
push 0x12
push dword [esi + 4]
call fcn.00413750
lea eax, [ebp - 0x6c]
push eax
push 4
push 0x444
push dword [ebp - 4]
call edi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xd20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
push 0x44a
mov dword [ebp - 0x10], ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], 0x42a4b7
call edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x42a807
push eax
mov eax, dword [esi + 0x10]
push dword [eax + 0xd20]
push 0x32
push dword [esi + 4]
call fcn.00413775
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebx
leave
ret