Function at 0x1807175a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
call fcn.1804c4bc
mov ebx, dword [edi + 8]
test bl, bl
je 0x180718e4
test bl, 1
je 0x180717a8
or dword [esi + 8], 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x18071796
call fcn.180744ed
mov dword [esi + 0x10], eax
mov ecx, eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x180717a2
mov eax, 0x1819b710
push eax
call fcn.1804f457
test bl, 2
je 0x180717da
or dword [esi + 8], 2
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x180717c2
call fcn.18074549
mov dword [esi + 0x14], eax
mov ecx, eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x180717ce
mov eax, 0x1819b858
add eax, 4
add ecx, 4
push eax
call fcn.1804c4bc
test bl, 4
je 0x18071806
or dword [esi + 8], 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x180717f4
call fcn.18074802
mov dword [esi + 0x18], eax
mov ecx, eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x18071800
mov eax, 0x1819ad50
push eax
call fcn.1805483f
test bl, 8
je 0x18071832
or dword [esi + 8], 8
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x18071820
call fcn.18074bee
mov dword [esi + 0x1c], eax
mov ecx, eax
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x1807182c
mov eax, 0x1819b058
push eax
call fcn.1805c551
test bl, 0x10
je 0x1807185e
or dword [esi + 8], 0x10
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x1807184c
call fcn.18075043
mov dword [esi + 0x20], eax
mov ecx, eax
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x18071858
mov eax, 0x1819b1b0
push eax
call fcn.18065357
test bl, 0x20
je 0x1807188a
or dword [esi + 8], 0x20
mov ecx, dword [esi + 0x24]
test ecx, ecx
jne 0x18071878
call fcn.18075126
mov dword [esi + 0x24], eax
mov ecx, eax
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x18071884
mov eax, 0x1819b9f0
push eax
call fcn.18065e3b
test bl, 0x40
je 0x180718b6
or dword [esi + 8], 0x40
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x180718a4
call fcn.180745a3
mov dword [esi + 0x28], eax
mov ecx, eax
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x180718b0
mov eax, 0x1819bcc0
push eax
call fcn.1804e9a8
test bl, bl
jns 0x180718e4
or dword [esi + 8], 0x80
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x180718d2
call fcn.180745ff
mov dword [esi + 0x2c], eax
mov ecx, eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x180718de
mov eax, 0x1819adc0
push eax
call fcn.1805080b
test ebx, 0xff00
je 0x18071a6e
mov eax, 0x100
test eax, ebx
je 0x1807191f
or dword [esi + 8], eax
mov ecx, dword [esi + 0x30]
test ecx, ecx
jne 0x1807190d
call fcn.18075180
mov dword [esi + 0x30], eax
mov ecx, eax
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x18071919
mov eax, 0x1819abf0
push eax
call fcn.18050b45
mov eax, 0x200
test eax, ebx
je 0x1807194e
or dword [esi + 8], eax
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x1807193c
call fcn.180751af
mov dword [esi + 0x34], eax
mov ecx, eax
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x18071948
mov eax, 0x1819ab48
push eax
call fcn.180666ed
mov eax, 0x400
test eax, ebx
je 0x1807197d
or dword [esi + 8], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1807196b
call fcn.18075267
mov dword [esi + 0x38], eax
mov ecx, eax
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x18071977
mov eax, 0x1819aea8
push eax
call fcn.180542bb
mov eax, 0x800
test eax, ebx
je 0x180719ac
or dword [esi + 8], eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x1807199a
call fcn.180752c3
mov dword [esi + 0x3c], eax
mov ecx, eax
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x180719a6
mov eax, 0x1819b660
push eax
call fcn.180542bb
mov eax, 0x1000
test eax, ebx
je 0x180719db
or dword [esi + 8], eax
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x180719c9
call fcn.18075379
mov dword [esi + 0x40], eax
mov ecx, eax
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x180719d5
mov eax, 0x1819ade8
push eax
call fcn.1806879f
mov eax, 0x2000
test eax, ebx
je 0x18071a10
or dword [esi + 8], eax
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x180719f8
call fcn.180753d3
mov dword [esi + 0x44], eax
mov ecx, eax
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x18071a04
mov eax, 0x1819b8e8
add eax, 4
add ecx, 4
push eax
call fcn.1804c4bc
mov eax, 0x4000
test eax, ebx
je 0x18071a3f
or dword [esi + 8], eax
mov ecx, dword [esi + 0x48]
test ecx, ecx
jne 0x18071a2d
call fcn.1807542f
mov dword [esi + 0x48], eax
mov ecx, eax
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x18071a39
mov eax, 0x1819b8f8
push eax
call fcn.180542bb
mov eax, 0x8000
test eax, ebx
je 0x18071a6e
or dword [esi + 8], eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x18071a5c
call fcn.1807548b
mov dword [esi + 0x4c], eax
mov ecx, eax
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x18071a68
mov eax, 0x1819b210
push eax
call fcn.18050b45
test ebx, 0xff0000
je 0x18071c04
mov eax, 0x10000
test eax, ebx
je 0x18071aaf
or dword [esi + 8], eax
mov ecx, dword [esi + 0x50]
test ecx, ecx
jne 0x18071a97
call fcn.180754e7
mov dword [esi + 0x50], eax
mov ecx, eax
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x18071aa3
mov eax, 0x1819b440
add eax, 4
add ecx, 4
push eax
call fcn.1804c4bc
mov eax, 0x20000
test eax, ebx
je 0x18071ade
or dword [esi + 8], eax
mov ecx, dword [esi + 0x54]
test ecx, ecx
jne 0x18071acc
call fcn.18075541
mov dword [esi + 0x54], eax
mov ecx, eax
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x18071ad8
mov eax, 0x1819b960
push eax
call fcn.18069b4b
mov eax, 0x40000
test eax, ebx
je 0x18071b0d
or dword [esi + 8], eax
mov ecx, dword [esi + 0x58]
test ecx, ecx
jne 0x18071afb
call fcn.180755fb
mov dword [esi + 0x58], eax
mov ecx, eax
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x18071b07
mov eax, 0x1819af60
push eax
call fcn.18050b45
mov eax, 0x80000
test eax, ebx
je 0x18071b3c
or dword [esi + 8], eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x18071b2a
call fcn.180756e4
mov dword [esi + 0x5c], eax
mov ecx, eax
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x18071b36
mov eax, 0x1819b9d8
push eax
call fcn.18050b45
mov eax, 0x100000
test eax, ebx
je 0x18071b71
or dword [esi + 8], eax
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x18071b59
call fcn.18075740
mov dword [esi + 0x60], eax
mov ecx, eax
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x18071b65
mov eax, 0x1819b9c8
add eax, 4
add ecx, 4
push eax
call fcn.1804c4bc
mov eax, 0x200000
test eax, ebx
je 0x18071ba6
or dword [esi + 8], eax
mov ecx, dword [esi + 0x64]
test ecx, ecx
jne 0x18071b8e
call fcn.180757c9
mov dword [esi + 0x64], eax
mov ecx, eax
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x18071b9a
mov eax, 0x1819b9b8
add eax, 4
add ecx, 4
push eax
call fcn.1804c4bc
mov eax, 0x400000
test eax, ebx
je 0x18071bd5
or dword [esi + 8], eax
mov ecx, dword [esi + 0x68]
test ecx, ecx
jne 0x18071bc3
call fcn.180755cc
mov dword [esi + 0x68], eax
mov ecx, eax
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x18071bcf
mov eax, 0x1819ba58
push eax
call fcn.18062647
mov eax, 0x800000
test eax, ebx
je 0x18071c04
or dword [esi + 8], eax
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x18071bf2
call fcn.18075908
mov dword [esi + 0x6c], eax
mov ecx, eax
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x18071bfe
mov eax, 0x1819b6b0
push eax
call fcn.1806e0eb
test ebx, 0xff000000
je 0x18071dab
mov eax, 0x1000000
test eax, ebx
je 0x18071c3f
or dword [esi + 8], eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x18071c2d
call fcn.18074ed5
mov dword [esi + 0x70], eax
mov ecx, eax
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x18071c39
mov eax, 0x1819b5d8
push eax
call fcn.18062daf
mov eax, 0x2000000
test eax, ebx
je 0x18071c6e
or dword [esi + 8], eax
mov ecx, dword [esi + 0x74]
test ecx, ecx
jne 0x18071c5c
call fcn.18074f60
mov dword [esi + 0x74], eax
mov ecx, eax
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x18071c68
mov eax, 0x1819bbd8
push eax
call fcn.18063b95
mov eax, 0x4000000
test eax, ebx
je 0x18071c9d
or dword [esi + 8], eax
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x18071c8b
call fcn.1807520b
mov dword [esi + 0x78], eax
mov ecx, eax
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x18071c97
mov eax, 0x1819abc8
push eax
call fcn.180542bb
mov eax, 0x8000000
test eax, ebx
je 0x18071ccc
or dword [esi + 8], eax
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x18071cba
call fcn.18075962
mov dword [esi + 0x7c], eax
mov ecx, eax
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x18071cc6
mov eax, 0x1819b270
push eax
call fcn.1804e5ac
mov eax, 0x10000000
test eax, ebx
je 0x18071d04
or dword [esi + 8], eax
mov ecx, dword [esi + 0x80]
test ecx, ecx
jne 0x18071cef
call fcn.18075a47
mov dword [esi + 0x80], eax
mov ecx, eax
mov eax, dword [edi + 0x80]
test eax, eax
jne 0x18071cfe
mov eax, 0x1819ab68
push eax
call fcn.1806f27d
mov eax, 0x20000000
test eax, ebx
je 0x18071d3c
or dword [esi + 8], eax
mov ecx, dword [esi + 0x84]
test ecx, ecx
jne 0x18071d27
call fcn.180759be
mov dword [esi + 0x84], eax
mov ecx, eax
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x18071d36
mov eax, 0x1819b6f8
push eax
call fcn.180542bb
mov eax, 0x40000000
test eax, ebx
je 0x18071d74
or dword [esi + 8], eax
mov ecx, dword [esi + 0x88]
test ecx, ecx
jne 0x18071d5f
call fcn.18075686
mov dword [esi + 0x88], eax
mov ecx, eax
mov eax, dword [edi + 0x88]
test eax, eax
jne 0x18071d6e
mov eax, 0x1819ba40
push eax
call fcn.18050b45
test ebx, ebx
jns 0x18071dab
or dword [esi + 8], 0x80000000
mov ecx, dword [esi + 0x8c]
test ecx, ecx
jne 0x18071d96
call fcn.18074f02
mov dword [esi + 0x8c], eax
mov ecx, eax
mov eax, dword [edi + 0x8c]
test eax, eax
jne 0x18071da5
mov eax, 0x1819b7f0
push eax
call fcn.180633cd
pop edi
pop esi
pop ebx
pop ebp
ret 4