Function at 0x512e5f
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test bl, 1
push esi
mov esi, ecx
je 0x512e86
lea edx, [esi + 0xc]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x18]
xor ecx, ecx
mov dword [esi + 0x14], eax
call fcn.0040dced
mov dword [esi + 0x20], eax
test bl, 2
je 0x512ea5
lea edx, [esi + 0x3c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x48]
xor ecx, ecx
mov dword [esi + 0x44], eax
call fcn.0040dced
mov dword [esi + 0x50], eax
test bl, 4
je 0x512ec7
lea edx, [esi + 0x6c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x78]
xor ecx, ecx
mov dword [esi + 0x74], eax
call fcn.0040dced
mov dword [esi + 0x80], eax
test bl, 8
je 0x512ef2
lea edx, [esi + 0x9c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0xa8]
xor ecx, ecx
mov dword [esi + 0xa4], eax
call fcn.0040dced
mov dword [esi + 0xb0], eax
test bl, 0x10
je 0x512f1d
lea edx, [esi + 0xcc]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0xd8]
xor ecx, ecx
mov dword [esi + 0xd4], eax
call fcn.0040dced
mov dword [esi + 0xe0], eax
test bl, 0x20
je 0x512f48
lea edx, [esi + 0xfc]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x108]
xor ecx, ecx
mov dword [esi + 0x104], eax
call fcn.0040dced
mov dword [esi + 0x110], eax
test bl, 0x40
je 0x512f73
lea edx, [esi + 0x12c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x138]
xor ecx, ecx
mov dword [esi + 0x134], eax
call fcn.0040dced
mov dword [esi + 0x140], eax
test bl, 0x80
je 0x512f9e
lea edx, [esi + 0x15c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x168]
xor ecx, ecx
mov dword [esi + 0x164], eax
call fcn.0040dced
mov dword [esi + 0x170], eax
test bh, 1
je 0x512fc9
lea edx, [esi + 0x18c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x198]
xor ecx, ecx
mov dword [esi + 0x194], eax
call fcn.0040dced
mov dword [esi + 0x1a0], eax
test bh, 2
je 0x512ff4
lea edx, [esi + 0x1b0]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x1bc]
xor ecx, ecx
mov dword [esi + 0x1b8], eax
call fcn.0040dced
mov dword [esi + 0x1c4], eax
test bh, 4
je 0x51301f
lea edx, [esi + 0x1d4]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x1e0]
xor ecx, ecx
mov dword [esi + 0x1dc], eax
call fcn.0040dced
mov dword [esi + 0x1e8], eax
test bh, 8
je 0x51304a
lea edx, [esi + 0x1f8]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x204]
xor ecx, ecx
mov dword [esi + 0x200], eax
call fcn.0040dced
mov dword [esi + 0x20c], eax
test bh, 0x10
je 0x513075
lea edx, [esi + 0x21c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x228]
xor ecx, ecx
mov dword [esi + 0x224], eax
call fcn.0040dced
mov dword [esi + 0x230], eax
test bh, 0x20
je 0x5130a0
lea edx, [esi + 0x240]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x24c]
xor ecx, ecx
mov dword [esi + 0x248], eax
call fcn.0040dced
mov dword [esi + 0x254], eax
test bh, 0x40
je 0x5130cb
lea edx, [esi + 0x264]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x270]
xor ecx, ecx
mov dword [esi + 0x26c], eax
call fcn.0040dced
mov dword [esi + 0x278], eax
test bh, 0x80
je 0x5130f6
lea edx, [esi + 0x288]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x294]
xor ecx, ecx
mov dword [esi + 0x290], eax
call fcn.0040dced
mov dword [esi + 0x29c], eax
test ebx, 0x10000
je 0x513124
lea edx, [esi + 0x2ac]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x2b8]
xor ecx, ecx
mov dword [esi + 0x2b4], eax
call fcn.0040dced
mov dword [esi + 0x2c0], eax
test ebx, 0x20000
je 0x513152
lea edx, [esi + 0x2d0]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x2dc]
xor ecx, ecx
mov dword [esi + 0x2d8], eax
call fcn.0040dced
mov dword [esi + 0x2e4], eax
test ebx, 0x40000
je 0x513180
lea edx, [esi + 0x2f4]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x300]
xor ecx, ecx
mov dword [esi + 0x2fc], eax
call fcn.0040dced
mov dword [esi + 0x308], eax
test ebx, 0x80000
je 0x5131ae
lea edx, [esi + 0x318]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x324]
xor ecx, ecx
mov dword [esi + 0x320], eax
call fcn.0040dced
mov dword [esi + 0x32c], eax
test ebx, 0x100000
je 0x5131dc
lea edx, [esi + 0x33c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x348]
xor ecx, ecx
mov dword [esi + 0x344], eax
call fcn.0040dced
mov dword [esi + 0x350], eax
test ebx, 0x200000
je 0x51320a
lea edx, [esi + 0x360]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x36c]
xor ecx, ecx
mov dword [esi + 0x368], eax
call fcn.0040dced
mov dword [esi + 0x374], eax
test ebx, 0x400000
je 0x513238
lea edx, [esi + 0x390]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x39c]
xor ecx, ecx
mov dword [esi + 0x398], eax
call fcn.0040dced
mov dword [esi + 0x3a4], eax
test ebx, 0x800000
je 0x513266
lea edx, [esi + 0x3b4]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x3c0]
xor ecx, ecx
mov dword [esi + 0x3bc], eax
call fcn.0040dced
mov dword [esi + 0x3c8], eax
test ebx, 0x1000000
je 0x513294
lea edx, [esi + 0x3d8]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x3e4]
xor ecx, ecx
mov dword [esi + 0x3e0], eax
call fcn.0040dced
mov dword [esi + 0x3ec], eax
test ebx, 0x2000000
je 0x5132c2
lea edx, [esi + 0x3fc]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x408]
xor ecx, ecx
mov dword [esi + 0x404], eax
call fcn.0040dced
mov dword [esi + 0x410], eax
test ebx, 0x4000000
je 0x5132f0
lea edx, [esi + 0x420]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x42c]
xor ecx, ecx
mov dword [esi + 0x428], eax
call fcn.0040dced
mov dword [esi + 0x434], eax
test ebx, 0x8000000
je 0x51331e
lea edx, [esi + 0x444]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x450]
xor ecx, ecx
mov dword [esi + 0x44c], eax
call fcn.0040dced
mov dword [esi + 0x458], eax
test ebx, 0x10000000
je 0x51334c
lea edx, [esi + 0x468]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x474]
xor ecx, ecx
mov dword [esi + 0x470], eax
call fcn.0040dced
mov dword [esi + 0x47c], eax
test ebx, 0x20000000
je 0x51337a
lea edx, [esi + 0x48c]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x498]
xor ecx, ecx
mov dword [esi + 0x494], eax
call fcn.0040dced
mov dword [esi + 0x4a0], eax
test ebx, 0x40000000
je 0x5133a8
lea edx, [esi + 0x4b0]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x4bc]
xor ecx, ecx
mov dword [esi + 0x4b8], eax
call fcn.0040dced
mov dword [esi + 0x4c4], eax
test ebx, 0x80000000
je 0x5133d6
lea edx, [esi + 0x4d4]
xor ecx, ecx
call fcn.0040dced
lea edx, [esi + 0x4e0]
xor ecx, ecx
mov dword [esi + 0x4dc], eax
call fcn.0040dced
mov dword [esi + 0x4e8], eax
pop esi
pop ebx
ret 4