Function at 0x18089764
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
call fcn.180caa8c
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.1804c6ae
lea eax, [edi + 0x20]
cmp dword [eax + 4], 0
je 0x1808979d
push 0x18091d26
push eax
lea ecx, [esi + 0x20]
call fcn.1804c36d
push ebx
mov ebx, dword [edi + 0x14]
test bl, bl
je 0x180898f3
test bl, 1
je 0x180897d2
mov ecx, dword [edi + 0x30]
or dword [esi + 0x14], 1
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180897c3
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x30]
call fcn.18080269
test bl, 2
je 0x180897fb
mov ecx, dword [edi + 0x34]
or dword [esi + 0x14], 2
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180897ec
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x34]
call fcn.18080269
test bl, 4
je 0x18089824
mov ecx, dword [edi + 0x38]
or dword [esi + 0x14], 4
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x18089815
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x38]
call fcn.18080269
test bl, 8
je 0x1808984d
mov ecx, dword [edi + 0x3c]
or dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x1808983e
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x3c]
call fcn.18080269
test bl, 0x10
je 0x18089876
mov ecx, dword [edi + 0x40]
or dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x18089867
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x40]
call fcn.18080269
test bl, 0x20
je 0x1808989f
mov ecx, dword [edi + 0x44]
or dword [esi + 0x14], 0x20
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x18089890
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x44]
call fcn.18080269
test bl, 0x40
je 0x180898c8
mov ecx, dword [edi + 0x48]
or dword [esi + 0x14], 0x40
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180898b9
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x48]
call fcn.18080269
test bl, bl
jns 0x180898f3
mov ecx, dword [edi + 0x4c]
or dword [esi + 0x14], 0x80
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180898e4
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x4c]
call fcn.18080269
test ebx, 0xff00
je 0x18089a26
mov eax, 0x100
test eax, ebx
je 0x1808992b
mov ecx, dword [edi + 0x50]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x1808991c
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x50]
call fcn.18080269
mov eax, 0x200
test eax, ebx
je 0x18089957
mov ecx, dword [edi + 0x54]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x18089948
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x54]
call fcn.18080269
mov eax, 0x400
test eax, ebx
je 0x18089983
mov ecx, dword [edi + 0x58]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x18089974
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x58]
call fcn.18080269
mov eax, 0x800
test eax, ebx
je 0x180899af
mov ecx, dword [edi + 0x5c]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180899a0
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x5c]
call fcn.18080269
mov eax, 0x1000
test eax, ebx
je 0x180899db
mov ecx, dword [edi + 0x60]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180899cc
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x60]
call fcn.18080269
mov eax, 0x2000
test eax, ebx
je 0x18089a07
mov ecx, dword [edi + 0x64]
or dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
and eax, 0xfffffffe
test byte [esi + 0x10], 1
je 0x180899f8
mov eax, dword [eax]
push eax
push ecx
push 0x181a6e78
lea ecx, [esi + 0x64]
call fcn.18080269
test ebx, 0x4000
je 0x18089a15
mov al, byte [edi + 0x68]
mov byte [esi + 0x68], al
test ebx, 0x8000
je 0x18089a23
mov al, byte [edi + 0x69]
mov byte [esi + 0x69], al
or dword [esi + 0x14], ebx
test ebx, 0xff0000
je 0x18089aa1
test ebx, 0x10000
je 0x18089a3c
mov al, byte [edi + 0x6a]
mov byte [esi + 0x6a], al
test ebx, 0x20000
je 0x18089a4a
mov al, byte [edi + 0x6b]
mov byte [esi + 0x6b], al
test ebx, 0x40000
je 0x18089a58
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
test ebx, 0x80000
je 0x18089a66
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
test ebx, 0x100000
je 0x18089a74
mov al, byte [edi + 0x6e]
mov byte [esi + 0x6e], al
test ebx, 0x200000
je 0x18089a82
mov al, byte [edi + 0x6f]
mov byte [esi + 0x6f], al
test ebx, 0x400000
je 0x18089a90
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
test ebx, 0x800000
je 0x18089a9e
mov al, byte [edi + 0x71]
mov byte [esi + 0x71], al
or dword [esi + 0x14], ebx
test ebx, 0xff000000
je 0x18089b34
test ebx, 0x1000000
je 0x18089abb
mov al, byte [edi + 0x72]
mov byte [esi + 0x72], al
test ebx, 0x2000000
je 0x18089ac9
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
test ebx, 0x4000000
je 0x18089ad7
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
test ebx, 0x8000000
je 0x18089ae5
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
test ebx, 0x10000000
je 0x18089af9
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
test ebx, 0x20000000
je 0x18089b0d
mov al, byte [edi + 0x84]
mov byte [esi + 0x84], al
test ebx, 0x40000000
je 0x18089b21
mov al, byte [edi + 0x85]
mov byte [esi + 0x85], al
test ebx, ebx
jns 0x18089b31
mov al, byte [edi + 0x86]
mov byte [esi + 0x86], al
or dword [esi + 0x14], ebx
test byte [edi + 0x18], 1
pop ebx
je 0x18089b4b
mov eax, dword [edi + 0x88]
or dword [esi + 0x18], 1
mov dword [esi + 0x88], eax
pop edi
pop esi
pop ebp
ret 4