Function at 0x4f1b82
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0xff
mov byte [ebp - 0x12], 0x55
mov byte [ebp - 0x11], 0xaa
mov byte [ebp - 0x10], 1
mov byte [ebp - 0xf], 2
mov byte [ebp - 0xe], 4
mov byte [ebp - 0xd], 8
mov byte [ebp - 0xc], 0x10
mov byte [ebp - 0xb], 0x20
mov byte [ebp - 0xa], 0x40
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0xfe
mov byte [ebp - 7], 0xfd
mov byte [ebp - 6], 0xfb
mov byte [ebp - 5], 0xf7
mov byte [ebp - 4], 0xef
mov byte [ebp - 3], 0xdf
mov byte [ebp - 2], 0xbf
mov byte [ebp - 1], 0x7f
mov word [ebp - 0x68], 0
jmp 0x4f1bfa
inc word [ebp - 0x68]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f33fa
and eax, 0xffff
mov ecx, dword [ebp - 0x68]
and ecx, 0xffff
cmp eax, ecx
jle 0x4f1e0d
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3442
cmp eax, 1
je 0x4f1c50
mov eax, dword [0xb178]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x19
jmp 0x4f1d73
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3491
cmp eax, 1
je 0x4f1c84
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f1d73
mov word [ebp - 0x70], 0
jmp 0x4f1c93
inc word [ebp - 0x70]
mov eax, dword [ebp - 0x70]
and eax, 0xffff
cmp eax, 0x14
jae 0x4f1d73
mov eax, dword [ebp - 0x70]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x14]
xor eax, eax
mov al, byte [ebp - 0x188]
and ecx, eax
mov byte [ebp - 0x190], cl
mov eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f34e7
cmp eax, 1
je 0x4f1cf6
mov eax, dword [0xb180]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1b
jmp 0x4f1d73
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3491
cmp eax, 1
je 0x4f1d2a
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f1d73
xor eax, eax
mov al, byte [ebp - 0x18c]
xor ecx, ecx
mov cl, byte [ebp - 0x188]
and eax, ecx
mov byte [ebp - 0x18c], al
xor eax, eax
mov al, byte [ebp - 0x190]
xor ecx, ecx
mov cl, byte [ebp - 0x18c]
cmp eax, ecx
je 0x4f1d6e
mov eax, dword [0xb184]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1c
jmp 0x4f1d73
jmp 0x4f1c8f
cmp dword [ebp - 0x1c], 0
je 0x4f1dc0
xor eax, eax
mov al, byte [ebp - 0x190]
push eax
xor eax, eax
mov al, byte [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x68]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 5
mov eax, dword [0xb1e0]
push eax
mov eax, dword [0xb1e0]
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 0x28
jmp 0x4f2622
xor eax, eax
mov al, byte [ebp - 0x184]
xor ecx, ecx
mov cl, byte [ebp - 0x188]
and eax, ecx
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f34e7
mov eax, dword [0xc498]
mov eax, dword [eax]
mov ecx, dword [0xc498]
call dword [eax + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4f1e08
mov eax, dword [ebp - 0x6c]
jmp 0x4f2622
jmp 0x4f1bf6
mov word [ebp - 0x64], 0
mov word [ebp - 0x62], 0xffff
mov word [ebp - 0x60], 0x5555
mov word [ebp - 0x5e], 0xaaaa
mov word [ebp - 0x5c], 1
mov word [ebp - 0x5a], 2
mov word [ebp - 0x58], 4
mov word [ebp - 0x56], 8
mov word [ebp - 0x54], 0x10
mov word [ebp - 0x52], 0x20
mov word [ebp - 0x50], 0x40
mov word [ebp - 0x4e], 0x80
mov word [ebp - 0x4c], 0x100
mov word [ebp - 0x4a], 0x200
mov word [ebp - 0x48], 0x400
mov word [ebp - 0x46], 0x800
mov word [ebp - 0x44], 0x1000
mov word [ebp - 0x42], 0x2000
mov word [ebp - 0x40], 0x4000
mov word [ebp - 0x3e], 0x8000
mov word [ebp - 0x3c], 0xfffe
mov word [ebp - 0x3a], 0xfffd
mov word [ebp - 0x38], 0xfffb
mov word [ebp - 0x36], 0xfff7
mov word [ebp - 0x34], 0xffef
mov word [ebp - 0x32], 0xffdf
mov word [ebp - 0x30], 0xffbf
mov word [ebp - 0x2e], 0xff7f
mov word [ebp - 0x2c], 0xfeff
mov word [ebp - 0x2a], 0xfdff
mov word [ebp - 0x28], 0xfbff
mov word [ebp - 0x26], 0xf7ff
mov word [ebp - 0x24], 0xefff
mov word [ebp - 0x22], 0xdfff
mov word [ebp - 0x20], 0xbfff
mov word [ebp - 0x1e], 0x7fff
mov word [ebp - 0x68], 0
jmp 0x4f1ef4
inc word [ebp - 0x68]
push 0
mov eax, dword [0xc498]
mov eax, dword [eax]
mov ecx, dword [0xc498]
call dword [eax + 0xc]
test eax, eax
jne 0x4f2145
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f353d
and eax, 0xffff
mov ecx, dword [ebp - 0x68]
and ecx, 0xffff
cmp eax, ecx
jle 0x4f2145
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3585
cmp eax, 1
je 0x4f1f64
mov eax, dword [0xb178]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x19
jmp 0x4f209e
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f35d4
cmp eax, 1
je 0x4f1f98
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f209e
mov word [ebp - 0x70], 0
jmp 0x4f1fa7
inc word [ebp - 0x70]
mov eax, dword [ebp - 0x70]
and eax, 0xffff
cmp eax, 0x24
jae 0x4f209e
mov eax, dword [ebp - 0x70]
and eax, 0xffff
mov eax, dword [ebp + eax*2 - 0x64]
and eax, 0xffff
mov ecx, dword [ebp - 0x198]
and ecx, 0xffff
and eax, ecx
mov word [ebp - 0x1a0], ax
mov eax, dword [ebp - 0x1a0]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f362a
cmp eax, 1
je 0x4f2012
mov eax, dword [0xb180]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1b
jmp 0x4f209e
lea eax, [ebp - 0x19c]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f35d4
cmp eax, 1
je 0x4f2046
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f209e
mov eax, dword [ebp - 0x19c]
and eax, 0xffff
mov ecx, dword [ebp - 0x198]
and ecx, 0xffff
and eax, ecx
mov word [ebp - 0x19c], ax
mov eax, dword [ebp - 0x19c]
and eax, 0xffff
mov ecx, dword [ebp - 0x1a0]
and ecx, 0xffff
cmp eax, ecx
je 0x4f2099
mov eax, dword [0xb188]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1d
jmp 0x4f209e
jmp 0x4f1fa3
cmp dword [ebp - 0x1c], 0
je 0x4f20f1
mov eax, dword [ebp - 0x1a0]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x19c]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x68]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 5
mov eax, dword [0xb1e0]
push eax
mov eax, dword [0xb1e0]
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 0x28
jmp 0x4f2622
mov eax, dword [ebp - 0x198]
and eax, 0xffff
mov ecx, dword [ebp - 0x194]
and ecx, 0xffff
and eax, ecx
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f362a
mov eax, dword [0xc498]
mov eax, dword [eax]
mov ecx, dword [0xc498]
call dword [eax + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4f2140
mov eax, dword [ebp - 0x6c]
jmp 0x4f2622
jmp 0x4f1ef0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xffffffff
mov dword [ebp - 0x178], 0x55555555
mov dword [ebp - 0x174], 0xaaaaaaaa
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 2
mov dword [ebp - 0x168], 4
mov dword [ebp - 0x164], 8
mov dword [ebp - 0x160], 0x10
mov dword [ebp - 0x15c], 0x20
mov dword [ebp - 0x158], 0x40
mov dword [ebp - 0x154], 0x80
mov dword [ebp - 0x150], 0x100
mov dword [ebp - 0x14c], 0x200
mov dword [ebp - 0x148], 0x400
mov dword [ebp - 0x144], 0x800
mov dword [ebp - 0x140], 0x1000
mov dword [ebp - 0x13c], 0x2000
mov dword [ebp - 0x138], 0x4000
mov dword [ebp - 0x134], 0x8000
mov dword [ebp - 0x130], 0x10000
mov dword [ebp - 0x12c], 0x20000
mov dword [ebp - 0x128], 0x40000
mov dword [ebp - 0x124], 0x80000
mov dword [ebp - 0x120], 0x100000
mov dword [ebp - 0x11c], 0x200000
mov dword [ebp - 0x118], 0x400000
mov dword [ebp - 0x114], 0x800000
mov dword [ebp - 0x110], 0x1000000
mov dword [ebp - 0x10c], 0x2000000
mov dword [ebp - 0x108], 0x4000000
mov dword [ebp - 0x104], 0x8000000
mov dword [ebp - 0x100], 0x10000000
mov dword [ebp - 0xfc], 0x20000000
mov dword [ebp - 0xf8], 0x40000000
mov dword [ebp - 0xf4], 0x80000000
mov dword [ebp - 0xf0], 0xfffffffe
mov dword [ebp - 0xec], 0xfffffffd
mov dword [ebp - 0xe8], 0xfffffffb
mov dword [ebp - 0xe4], 0xfffffff7
mov dword [ebp - 0xe0], 0xffffffef
mov dword [ebp - 0xdc], 0xffffffdf
mov dword [ebp - 0xd8], 0xffffffbf
mov dword [ebp - 0xd4], 0xffffff7f
mov dword [ebp - 0xd0], 0xfffffeff
mov dword [ebp - 0xcc], 0xfffffdff
mov dword [ebp - 0xc8], 0xfffffbff
mov dword [ebp - 0xc4], 0xfffff7ff
mov dword [ebp - 0xc0], 0xffffefff
mov dword [ebp - 0xbc], 0xffffdfff
mov dword [ebp - 0xb8], 0xffffbfff
mov dword [ebp - 0xb4], 0xffff7fff
mov dword [ebp - 0xb0], 0xfffeffff
mov dword [ebp - 0xac], 0xfffdffff
mov dword [ebp - 0xa8], 0xfffbffff
mov dword [ebp - 0xa4], 0xfff7ffff
mov dword [ebp - 0xa0], 0xffefffff
mov dword [ebp - 0x9c], 0xffdfffff
mov dword [ebp - 0x98], 0xffbfffff
mov dword [ebp - 0x94], 0xff7fffff
mov dword [ebp - 0x90], 0xfeffffff
mov dword [ebp - 0x8c], 0xfdffffff
mov dword [ebp - 0x88], 0xfbffffff
mov dword [ebp - 0x84], 0xf7ffffff
mov dword [ebp - 0x80], 0xefffffff
mov dword [ebp - 0x7c], 0xdfffffff
mov dword [ebp - 0x78], 0xbfffffff
mov dword [ebp - 0x74], 0x7fffffff
mov word [ebp - 0x68], 0
jmp 0x4f23f0
inc word [ebp - 0x68]
push 0
mov eax, dword [0xc498]
mov eax, dword [eax]
mov ecx, dword [0xc498]
call dword [eax + 0xc]
test eax, eax
jne 0x4f25fe
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3680
and eax, 0xffff
mov ecx, dword [ebp - 0x68]
and ecx, 0xffff
cmp eax, ecx
jle 0x4f25fe
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f36c8
cmp eax, 1
je 0x4f2460
mov eax, dword [0xb178]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x19
jmp 0x4f256e
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3717
cmp eax, 1
je 0x4f2494
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f256e
mov word [ebp - 0x70], 0
jmp 0x4f24a3
inc word [ebp - 0x70]
mov eax, dword [ebp - 0x70]
and eax, 0xffff
cmp eax, 0x44
jae 0x4f256e
mov eax, dword [ebp - 0x70]
and eax, 0xffff
mov eax, dword [ebp + eax*4 - 0x180]
and eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f376d
cmp eax, 1
je 0x4f2503
mov eax, dword [0xb180]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1b
jmp 0x4f256e
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f3717
cmp eax, 1
je 0x4f2537
mov eax, dword [0xb17c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1a
jmp 0x4f256e
mov eax, dword [ebp - 0x1a8]
and dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x1b0], eax
je 0x4f2569
mov eax, dword [0xb18c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x1e
jmp 0x4f256e
jmp 0x4f249f
cmp dword [ebp - 0x1c], 0
je 0x4f25b7
mov eax, dword [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x68]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 5
mov eax, dword [0xb1e0]
push eax
mov eax, dword [0xb1e0]
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 0x28
jmp 0x4f2622
mov eax, dword [ebp - 0x1a4]
and eax, dword [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004f376d
mov eax, dword [0xc498]
mov eax, dword [eax]
mov ecx, dword [0xc498]
call dword [eax + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4f25f9
mov eax, dword [ebp - 0x6c]
jmp 0x4f2622
jmp 0x4f23ec
push 0
push 0
push 0
push 0
push 0
push 1
mov eax, dword [0xb1e0]
push eax
mov eax, dword [0xb1e0]
mov eax, dword [eax]
call dword [eax + 0x30]
add esp, 0x1c
jmp 0x4f2622
pop edi
pop esi
pop ebx
leave
ret 8