Function at 0x40da90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x254]
cmp eax, 1
jle 0x40daa5
add eax, 5
mov esi, dword [esp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [edi + 0x294]
cmp eax, 0xffffffff
jne 0x40dabe
or eax, eax
jmp 0x40dabf
dec eax
mov dword [esi + 0x1c4], eax
movzx eax, word [edi + 0x2a4]
xor ebx, ebx
mov word [esi + 0x1e6], ax
mov cx, word [edi + 0x2a8]
mov word [esi + 0x1e4], cx
mov dx, word [edi + 0x284]
inc dx
mov word [esi + 0x1de], dx
movzx eax, word [edi + 0x288]
mov word [esi + 0x1e0], ax
mov ecx, dword [edi + 0x258]
mov dword [esi + 0x160], ecx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
cmp dword [edi + 0x38c], ebx
je 0x40dbaf
mov dword [esi + 0x164], 1
cmp dword [edi + 0x390], ebx
je 0x40dbc1
mov dword [esi + 0x168], 0x8000000
mov eax, 0x20000
cmp dword [edi + 0x398], ebx
je 0x40dbd4
mov dword [esi + 0x17c], eax
cmp dword [edi + 0x39c], ebx
je 0x40dbe6
mov dword [esi + 0x194], 0x20000000
cmp dword [edi + 0x3a0], ebx
je 0x40dbf4
mov dword [esi + 0x1a0], eax
push ebp
mov ebp, 0x2000000
cmp dword [edi + 0x3a4], ebx
je 0x40dc08
or dword [esi + 0x1a0], ebp
cmp dword [edi + 0x3a8], ebx
je 0x40dc1a
or dword [esi + 0x17c], 0x80000000
cmp dword [edi + 0x3ac], ebx
je 0x40dc2c
mov dword [esi + 0x184], 0x200
cmp dword [edi + 0x3b0], ebx
je 0x40dc3e
or dword [esi + 0x17c], 0x200000
cmp dword [edi + 0x3b4], ebx
je 0x40dc50
mov dword [esi + 0x178], 0x8000
cmp dword [edi + 0x3b8], ebx
je 0x40dc62
or dword [esi + 0x178], 0x4000
cmp dword [edi + 0x3bc], ebx
je 0x40dc74
mov dword [esi + 0x16c], 0x400
cmp dword [edi + 0x3c0], ebx
je 0x40dc86
mov dword [esi + 0x170], 0x40000000
mov eax, 0x40
cmp dword [edi + 0x3c4], ebx
je 0x40dc99
or dword [esi + 0x178], eax
cmp dword [edi + 0x3c8], ebx
je 0x40dcab
or dword [esi + 0x178], 0x80000
cmp dword [edi + 0x42c], ebx
je 0x40dcba
or dword [esi + 0x16c], 0x10
cmp dword [edi + 0x3dc], ebx
je 0x40dcc9
or dword [esi + 0x164], 8
mov edx, 0x10000
cmp dword [edi + 0x3e4], ebx
je 0x40dcdc
mov dword [esi + 0x18c], edx
mov ecx, 0x4000000
cmp dword [edi + 0x424], ebx
je 0x40dcef
or dword [esi + 0x168], ecx
cmp dword [edi + 0x3cc], ebx
je 0x40dcfd
or dword [esi + 0x16c], edx
cmp dword [edi + 0x3d0], ebx
je 0x40dd0f
or dword [esi + 0x17c], 0x2000
cmp dword [edi + 0x3d4], ebx
je 0x40dd1d
or dword [esi + 0x178], ebp
mov edx, 0x1000000
cmp dword [edi + 0x3d8], ebx
je 0x40dd30
mov dword [esi + 0x180], edx
cmp dword [edi + 0x3e8], ebx
je 0x40dd42
or dword [esi + 0x16c], 0x400000
cmp dword [edi + 0x3ec], ebx
je 0x40dd54
mov dword [esi + 0x174], 4
cmp dword [edi + 0x3f0], ebx
je 0x40dd62
or dword [esi + 0x174], ecx
mov ebp, 0x800000
cmp dword [edi + 0x3f4], ebx
je 0x40dd75
or dword [esi + 0x180], ebp
cmp dword [edi + 0x3f8], ebx
je 0x40dd84
or dword [esi + 0x184], 2
cmp dword [edi + 0x3fc], ebx
je 0x40dd96
mov dword [esi + 0x188], 0x10000
cmp dword [edi + 0x400], ebx
je 0x40dda8
or dword [esi + 0x188], 0x2000000
cmp dword [edi + 0x404], ebx
je 0x40ddba
mov dword [esi + 0x190], 0x2000000
cmp dword [edi + 0x408], ebx
je 0x40ddcc
mov dword [esi + 0x198], 0x100
cmp dword [edi + 0x40c], ebx
je 0x40ddde
or dword [esi + 0x1a0], 0x40000
cmp dword [edi + 0x410], ebx
je 0x40ddf0
or dword [esi + 0x1a0], 0x80000
cmp dword [edi + 0x414], ebx
je 0x40de02
or dword [esi + 0x190], 0x8000
cmp dword [edi + 0x418], ebx
je 0x40de10
or dword [esi + 0x174], eax
cmp dword [edi + 0x41c], ebx
je 0x40de1e
or dword [esi + 0x18c], eax
cmp dword [edi + 0x420], ebx
je 0x40de30
or dword [esi + 0x184], 0x10000
cmp dword [edi + 0xbac], ebx
je 0x40de42
or dword [esi + 0x16c], 0x40000000
cmp dword [edi + 0xbb0], ebx
je 0x40de50
or dword [esi + 0x16c], ebp
cmp dword [edi + 0xbb4], ebx
je 0x40de5e
or dword [esi + 0x16c], edx
cmp dword [edi + 0x3e0], ebx
jne 0x40de6c
mov dword [edi + 0x428], ebx
mov eax, dword [edi + 0x428]
dec eax
mov ecx, 3
cmp eax, ecx
ja 0x40dead
jmp dword [eax*4 + 0x410714]
cmp dword [edi + 0x3e0], ebx
je 0x40dec7
cmp dword [edi + 0x428], ebx
jne 0x40dec7
or dword [esi + 0x17c], 0x8000
mov eax, dword [edi + 0x25c]
dec eax
cmp eax, ecx
ja 0x40df04
jmp dword [eax*4 + 0x410724]
mov eax, dword [edi + 0x264]
dec eax
mov edx, 0x100000
cmp eax, ecx
ja 0x40df45
jmp dword [eax*4 + 0x410734]
mov eax, dword [edi + 0xb8c]
cmp eax, ecx
ja 0x40df80
jmp dword [eax*4 + 0x410744]
mov eax, dword [edi + 0x268]
mov ebp, 1
sub eax, ebp
je 0x40df9f
sub eax, ebp
jne 0x40dfa9
or dword [esi + 0x168], 0x80000
jmp 0x40dfa9
or dword [esi + 0x164], 0x4000
mov eax, dword [edi + 0x26c]
sub eax, ebp
je 0x40dfd7
sub eax, ebp
je 0x40dfce
sub eax, ebp
jne 0x40dfe1
or dword [esi + 0x164], 4
or dword [esi + 0x180], 0x80
jmp 0x40dfe1
or dword [esi + 0x164], 4
jmp 0x40dfe1
or dword [esi + 0x164], 0x10000
mov eax, dword [edi + 0x270]
sub eax, ebp
je 0x40dffb
sub eax, ebp
jne 0x40e005
or dword [esi + 0x16c], 0x80000
jmp 0x40e005
or dword [esi + 0x16c], 0x200000
mov eax, dword [edi + 0x274]
dec eax
cmp eax, ecx
ja case.default.0x40e010
jmp dword [eax*4 + 0x410754]
mov eax, dword [edi + 0x278]
sub eax, ebp
je 0x40e06b
sub eax, ebp
je 0x40e05f
sub eax, ebp
jne 0x40e072
or dword [esi + 0x174], edx
jmp 0x40e072
or dword [esi + 0x174], 0x200000
jmp 0x40e072
or dword [esi + 0x170], 2
mov eax, dword [edi + 0x27c]
sub eax, ebp
je 0x40e08c
sub eax, ebp
jne 0x40e096
or dword [esi + 0x19c], 0x2000000
jmp 0x40e096
or dword [esi + 0x170], 0x4000000
mov eax, dword [edi + 0x280]
cmp eax, ecx
ja 0x40e0cf
jmp dword [eax*4 + 0x410764]
mov eax, dword [edi + 0x28c]
dec eax
cmp eax, ecx
ja 0x40e105
jmp dword [eax*4 + 0x410774]
mov eax, dword [edi + 0x290]
sub eax, ebp
je 0x40e12f
sub eax, ebp
je 0x40e123
sub eax, ebp
jne 0x40e139
or dword [esi + 0x1b4], 0x100
jmp 0x40e139
or dword [esi + 0x1b4], 0x1000000
jmp 0x40e139
or dword [esi + 0x1b4], 0x2000000
mov eax, dword [edi + 0x298]
sub eax, ebp
mov edx, 0x10000000
je 0x40e178
sub eax, ebp
je 0x40e162
sub eax, ebp
jne 0x40e182
or dword [esi + 0x164], 0x20000000
or dword [esi + 0x17c], edx
jmp 0x40e182
or dword [esi + 0x164], 0x20000000
or dword [esi + 0x168], 0x40000
jmp 0x40e182
or dword [esi + 0x164], 0x20000000
mov eax, dword [edi + 0xb58]
sub eax, ebp
je 0x40e199
sub eax, ebp
jne 0x40e1a0
or dword [esi + 0x180], 8
jmp 0x40e1a0
or dword [esi + 0x180], 4
mov eax, dword [edi + 0xb5c]
sub eax, ebp
je 0x40e1ba
sub eax, ebp
jne 0x40e1c1
or dword [esi + 0x164], 0x80
jmp 0x40e1c1
or dword [esi + 0x180], 0x10
mov eax, dword [edi + 0xb60]
sub eax, ebp
je 0x40e1d8
sub eax, ebp
jne 0x40e1de
or dword [esi + 0x180], 2
jmp 0x40e1de
or dword [esi + 0x180], ebp
mov eax, dword [edi + 0xb98]
sub eax, ebp
je 0x40e205
sub eax, ebp
je 0x40e1f9
sub eax, ebp
jne 0x40e20f
or dword [esi + 0x174], 8
jmp 0x40e20f
or dword [esi + 0x164], 0x800
jmp 0x40e20f
or dword [esi + 0x16c], 0x2000
mov eax, dword [edi + 0xb9c]
sub eax, ebp
je 0x40e229
sub eax, ebp
jne 0x40e233
or dword [esi + 0x188], 0x4000
jmp 0x40e233
or dword [esi + 0x188], 0x2000
mov eax, dword [edi + 0xba4]
sub eax, 1
mov ebp, 0x1000
je 0x40e250
sub eax, 1
jne 0x40e25a
or dword [esi + 0x180], ebp
jmp 0x40e25a
or dword [esi + 0x180], 0x200
mov eax, dword [edi + 0x29c]
sub eax, 1
je 0x40e284
sub eax, 1
je 0x40e278
sub eax, 1
jne 0x40e28b
or dword [esi + 0x184], 1
jmp 0x40e28b
or dword [esi + 0x164], 0x2000
jmp 0x40e28b
or dword [esi + 0x168], 8
mov eax, dword [edi + 0xba8]
sub eax, 1
je 0x40e2a7
sub eax, 1
jne 0x40e2b1
or dword [esi + 0x168], 0x4000
jmp 0x40e2b1
or dword [esi + 0x168], 0x200000
mov eax, dword [edi + 0x2a0]
sub eax, 1
je 0x40e2cd
sub eax, 1
jne 0x40e2d7
or dword [esi + 0x184], 0x80000
jmp 0x40e2d7
or dword [esi + 0x174], 0x40000000
mov eax, dword [edi + 0xb94]
sub eax, 1
je 0x40e2fe
sub eax, 1
je 0x40e2f5
sub eax, 1
jne 0x40e305
or dword [esi + 0x188], 4
jmp 0x40e305
or dword [esi + 0x188], 2
jmp 0x40e305
or dword [esi + 0x188], 1
mov eax, dword [edi + 0x2d0]
dec eax
cmp eax, ecx
ja 0x40e339
jmp dword [eax*4 + 0x410784]
mov eax, dword [edi + 0xbb8]
sub eax, 1
je 0x40e355
sub eax, 1
jne 0x40e35f
or dword [esi + 0x174], 0x2000000
jmp 0x40e35f
or dword [esi + 0x174], 0x1000000
mov eax, dword [edi + 0x2bc]
sub eax, 1
je 0x40e37b
sub eax, 1
jne 0x40e382
or dword [esi + 0x174], 0x400000
jmp 0x40e382
or dword [esi + 0x17c], 2
mov eax, dword [edi + 0x2c0]
sub eax, 1
je 0x40e3a2
sub eax, 1
je 0x40e399
sub eax, 1
jne 0x40e3b3
jmp 0x40e3a9
or dword [esi + 0x19c], 8
jmp 0x40e3a9
or dword [esi + 0x19c], 4
or dword [esi + 0x180], 0x10000
mov eax, dword [edi + 0x2c4]
sub eax, ebx
je 0x40e3cb
sub eax, 2
jne 0x40e3d2
or dword [esi + 0x19c], 0x10
jmp 0x40e3d2
or dword [esi + 0x19c], 1
mov eax, dword [edi + 0xb50]
sub eax, 1
je 0x40e3ee
sub eax, 1
jne 0x40e3f8
or dword [esi + 0x1a4], 0x200
jmp 0x40e3f8
or dword [esi + 0x1a4], 0x100
mov eax, dword [edi + 0xb54]
sub eax, 1
je 0x40e414
sub eax, 1
jne 0x40e41e
or dword [esi + 0x1a4], 0x800
jmp 0x40e41e
or dword [esi + 0x1a4], 0x400
mov eax, dword [edi + 0x2cc]
sub eax, 1
je 0x40e43a
sub eax, 1
jne 0x40e444
or dword [esi + 0x1a0], 0xa00000
jmp 0x40e444
or dword [esi + 0x1a0], 0x200000
mov eax, dword [edi + 0x2c8]
sub eax, 1
je 0x40e45e
sub eax, 1
jne 0x40e468
or dword [esi + 0x170], 0x20000
or dword [esi + 0x178], 0x10000
cmp dword [edi + 0x31c], ebx
je 0x40e47a
or dword [esi + 0x1b4], 0x40000000
cmp dword [edi + 0x310], ebx
je 0x40e48c
or dword [esi + 0x1b4], 0x20000000
cmp dword [edi + 0x314], ebx
je 0x40e49e
or dword [esi + 0x1b4], 0x8000000
cmp dword [edi + 0x318], ebx
je 0x40e4ac
or dword [esi + 0x1b4], edx
cmp dword [edi + 0x32c], ebx
je 0x40e4be
or dword [esi + 0x1b4], 0x8000
cmp dword [edi + 0x330], ebx
je 0x40e4d0
or dword [esi + 0x1b4], 0x4000000
cmp dword [edi + 0x334], ebx
je 0x40e4df
or dword [esi + 0x1b4], 2
cmp dword [edi + 0x364], ebx
je 0x40e4ee
or dword [esi + 0x1b4], 0x40
cmp dword [edi + 0x320], ebx
je 0x40e4fd
or dword [esi + 0x1b8], 4
cmp dword [edi + 0x324], ebx
je 0x40e50b
or dword [esi + 0x1b8], ebp
cmp dword [edi + 0x328], ebx
je 0x40e51d
or dword [esi + 0x1b8], 0x4000
cmp dword [edi + 0x338], ebx
je 0x40e52f
or dword [esi + 0x1b8], 0x10000
cmp dword [edi + 0x33c], ebx
je 0x40e541
or dword [esi + 0x1b8], 0x20000
cmp dword [edi + 0x340], ebx
je 0x40e553
or dword [esi + 0x1b8], 0x40000
cmp dword [edi + 0x344], ebx
je 0x40e565
or dword [esi + 0x1b8], 0x80000
cmp dword [edi + 0x348], ebx
je 0x40e577
or dword [esi + 0x1b8], 0x200000
cmp dword [edi + 0x34c], ebx
je 0x40e589
or dword [esi + 0x1b8], 0x400000
cmp dword [edi + 0x350], ebx
je 0x40e59b
or dword [esi + 0x1b8], 0x100000
cmp dword [edi + 0x354], ebx
je 0x40e5ad
or dword [esi + 0x1b8], 0x2000
cmp dword [edi + 0x358], ebx
je 0x40e5bf
or dword [esi + 0x1b8], 0x8000
cmp dword [edi + 0x360], ebx
je 0x40e5ce
or dword [esi + 0x1b8], 2
cmp dword [edi + 0x35c], ebx
je 0x40e5e0
or dword [esi + 0x1b8], 0x800
cmp dword [edi + 0x30c], ebx
je 0x40e5ef
or dword [esi + 0x1b8], 8
cmp dword [edi + 0x36c], ebx
je 0x40e601
or dword [esi + 0x1b8], 0x80
cmp dword [edi + 0x370], ebx
je 0x40e610
or dword [esi + 0x1b8], 1
cmp dword [edi + 0x374], ebx
je 0x40e622
or dword [esi + 0x1b8], 0x200
cmp dword [edi + 0x378], ebx
je 0x40e634
or dword [esi + 0x1b8], 0x800000
cmp dword [edi + 0x37c], ebx
je 0x40e646
or dword [esi + 0x1b8], 0x1000000
mov eax, 0x2000000
cmp dword [edi + 0x380], ebx
je 0x40e659
or dword [esi + 0x1b8], eax
cmp dword [edi + 0x384], ebx
je 0x40e66b
or dword [esi + 0x1b8], 0x4000000
cmp dword [edi + 0x388], ebx
je 0x40e67d
or dword [esi + 0x1b8], 0x400
mov dword [edi + 0x28c], ebx
test byte [esi + 0x1b4], 1
je 0x40e696
mov dword [edi + 0x28c], 2
test dword [esi + 0x1b4], 0x80000000
je 0x40e6ac
mov dword [edi + 0x28c], 1
test byte [esi + 0x1b4], 0x10
je 0x40e6bb
mov dword [edi + 0x28c], ecx
test byte [esi + 0x1b4], 0x20
je 0x40e6ce
mov dword [edi + 0x28c], 4
mov dword [edi + 0x290], ebx
test dword [esi + 0x1b4], eax
je 0x40e6e6
mov dword [edi + 0x290], 1
test dword [esi + 0x1b4], 0x1000000
je 0x40e6fc
mov dword [edi + 0x290], 2
test dword [esi + 0x1b4], 0x100
je 0x40e70e
mov dword [edi + 0x290], ecx
cmp dword [edi + 0x260], ebx
je 0x40e720
or dword [esi + 0x174], 0x400
mov ecx, 0x10
cmp dword [edi + 0x2d4], ebx
je 0x40e733
or dword [esi + 0x164], ecx
cmp dword [edi + 0x2d8], ebx
je 0x40e745
or dword [esi + 0x164], 0x200
cmp dword [edi + 0x2dc], ebx
je 0x40e757
or dword [esi + 0x178], 0x80000000
cmp dword [edi + 0x2e0], ebx
je 0x40e769
or dword [esi + 0x178], 0x800000
cmp dword [edi + 0x2e4], ebx
je 0x40e77b
or dword [esi + 0x17c], 0x4000
cmp dword [edi + 0x2e8], ebx
je 0x40e78d
or dword [esi + 0x17c], 0x10000
cmp dword [edi + 0x2ec], ebx
je 0x40e79f
or dword [esi + 0x17c], 0x100000
cmp dword [edi + 0x2f0], ebx
je 0x40e7ad
or dword [esi + 0x1a4], edx
cmp dword [edi + 0x2f4], ebx
je 0x40e7bc
or dword [esi + 0x1a8], 1
cmp dword [edi + 0x2f8], ebx
je 0x40e7cb
or dword [esi + 0x164], 0x20
cmp dword [edi + 0x2fc], ebx
je 0x40e7dd
or dword [esi + 0x178], 0x8000000
cmp dword [edi + 0x300], ebx
je 0x40e7ef
jp 0x40fe2b
add byte [eax + 0x52], bl