Function at 0x426b00
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x426b15
mov eax, 0x18
mov ecx, dword [esp + 0x30]
cmp dword [0x4c21f4], ecx
jne 0x426b39
mov edx, dword [0x4c21f8]
cmp edx, dword [esp + 0x34]
jne 0x426b39
cmp dword [0x4c2204], eax
je 0x426e88
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.00414cb0
mov ebx, dword [esp + 0x48]
add esp, 0xc
test ebx, 0x80000000
jne 0x426b9c
mov esi, 0x8c9ac8
test byte [esi + 0x14], 1
jne 0x426b91
push esi
call fcn.00413010
add esp, 4
test eax, eax
je 0x426b91
mov eax, dword [esi + 0x14]
mov ecx, dword [0x4c2204]
mov edx, dword [0x4c21f8]
push eax
mov eax, dword [0x4c21f4]
push ecx
push edx
push eax
push esi
call fcn.004130d0
add esp, 0x14
test eax, eax
je 0x426bd3
add esi, 0x30
cmp esi, 0x8ccaf8
jl 0x426b59
mov al, byte [0xd09e48]
mov cl, 2
test cl, al
je 0x426bdc
test ebx, 0x4000000
je 0x426bdc
mov eax, dword [0xd09e28]
lea eax, [eax + eax*2]
shl eax, 4
mov ecx, dword [eax + 0x8c9ae4]
mov edx, dword [eax + 0x8c9ae8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x426c59
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
test ebx, 0x10000000
jne 0x426c6d
mov eax, dword [0xd09e28]
lea eax, [eax + eax*2]
shl eax, 4
test byte [eax + 0x8c9adc], cl
je 0x426c59
mov edx, dword [0x4c21f4]
mov ecx, dword [eax + 0x8c9ae4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
fild qword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
fidiv dword [esp + 0xc]
mov eax, dword [eax + 0x8c9ae8]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x4c21f8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], eax
fstp dword [0x4c2214]
fild qword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
fidiv dword [esp + 0xc]
fstp dword [0x4c2218]
jmp 0x426c6d
mov dword [0x4c2214], 0x3f800000
mov dword [0x4c2218], 0x3f800000
cmp dword [0xd09e18], edi
je 0x426c7d
push edi
call fcn.00413e70
jmp 0x426cb2
mov eax, dword [0xd09dfc]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [0xd09e18], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebx
mov dword [0x4c2238], ecx
mov dword [0x4c223c], edx
call fcn.00414270
add esp, 4
test ebx, 0x40000000
je 0x426d97
mov eax, dword [0xd09dfc]
push ebp
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x4c21f4]
mov edx, dword [0x4c21f8]
mov dword [esp + 0x3c], eax
cmp dword [0xd09e18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ebx, 0x40
je 0x426d04
or ebp, 0xffffffff
xor esi, esi
jmp 0x426d50
cmp dword [0xd0ad4c], edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, 0xfffffffe
mov ebx, 0x60
je 0x426d24
push 0xf
call edi
add dword [esp + 0x1c], eax
push 0
call edi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub ecx, esi
add eax, ecx
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call edi
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [0xd09e18]
mov edx, dword [0x4c2240]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [0xd09dfc]
push ebx
sub ecx, dword [esp + 0x18]
push ecx
sub edx, dword [esp + 0x18]
push edx
push edi
push esi
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [esp + 0x40]
xor edi, edi
pop ebp
test ebx, 0x20000000
fld dword [0x4c2214]
mov ecx, dword [0x4c2218]
mov dword [esp + 0x3c], ecx
jne 0x426dd8
fcom dword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x426dc0
fstp st(0)
fld dword [esp + 0x3c]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [0x4c2214]
fstp dword [0x4c2218]
fld dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x4c21f4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
fimul dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
fild qword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fild qword [esp + 0xc]
fsub st(1)
fadd qword [0x4a1548]
fmul qword [0x4a1708]
call fcn.00408160
mov edx, dword [0x4c21f8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
fild qword [esp + 0xc]
mov dword [0xd09e3c], eax
fsub dword [esp + 0x3c]
fadd qword [0x4a1548]
fmul qword [0x4a1708]
call fcn.00408160
fadd qword [0x4a1708]
mov dword [0xd09e40], eax
call fcn.00408160
fld dword [esp + 0x3c]
fadd qword [0x4a1708]
mov dword [0x4c220c], eax
call fcn.00408160
push edi
mov dword [0x4c2210], eax
mov eax, dword [0xd09dfc]
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret