Function at 0x4022c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov eax, dword [0x10ce358]
sub eax, dword [0x10ce35c]
mov dword [0x10ce358], eax
mov ecx, dword [ebp + 8]
and ecx, 0x4000000
je 0x40230d
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov eax, dword [0x10ce358]
sub eax, dword [0x10ce35c]
mov dword [0x10ce358], eax
mov ecx, dword [ebp + 8]
and ecx, 0x20000000
je 0x40244d
mov edx, dword [ebp + 8]
and edx, 0x40000000
je 0x4023ce
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov eax, dword [0x10ce358]
sub eax, dword [0x10ce35c]
mov dword [0x10ce358], eax
mov ecx, dword [ebp + 8]
and ecx, 0x80000000
je 0x402396
mov edx, dword [ebp - 4]
or edx, 0x80
mov dword [ebp - 4], edx
jmp 0x40239f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov ecx, dword [0x10ce358]
sub ecx, dword [0x10ce35c]
mov dword [0x10ce358], ecx
jmp 0x402448
mov edx, dword [ebp + 8]
and edx, 0x80000000
je 0x402412
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov eax, dword [0x10ce358]
sub eax, dword [0x10ce35c]
mov dword [0x10ce358], eax
mov ecx, dword [ebp - 4]
or ecx, 0x80
mov dword [ebp - 4], ecx
jmp 0x402448
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp - 4]
or eax, 0x10
mov dword [ebp - 4], eax
jmp 0x40254b
mov ecx, dword [ebp + 8]
and ecx, 0x40000000
je 0x4024d2
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp + 8]
and eax, 0x80000000
je 0x40249a
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
jmp 0x4024d0
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
jmp 0x40254b
mov ecx, dword [ebp + 8]
and ecx, 0x80000000
je 0x402515
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov edx, dword [0x10ce358]
sub edx, dword [0x10ce35c]
mov dword [0x10ce358], edx
mov eax, dword [ebp - 4]
or eax, 8
mov dword [ebp - 4], eax
jmp 0x40254b
mov dword [0x10ce358], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [0x10ce358]
mov dword [0x10ce358], eax
mov ecx, dword [0x10ce358]
sub ecx, dword [0x10ce35c]
mov dword [0x10ce358], ecx
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4