Function at 0x407e30
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x2ac]
push eax
lea ecx, [esi + 4]
push 0x105
push ecx
call fcn.00440c6f
mov edx, dword [edi + 0x2b8]
push edx
lea eax, [esi + 0x109]
push 0x3d
push eax
mov dword [esp + 0x2c], eax
call fcn.00440c6f
mov ecx, dword [edi + 0x2c0]
push ecx
lea eax, [esi + 0x146]
push 0x15
push eax
mov dword [esp + 0x34], eax
call fcn.00440c6f
mov eax, dword [edi + 0x1b0]
add esp, 0x24
cmp eax, 1
jle 0x407e99
add eax, 5
mov dword [edi + 0x1b0], eax
mov edx, dword [edi + 0x1b0]
mov dword [esi + 0x15c], edx
mov eax, dword [edi + 0x1e8]
cmp eax, 0xffffffff
jne 0x407eb4
or eax, eax
jmp 0x407eb5
dec eax
mov dword [esi + 0x18c], eax
mov ax, word [edi + 0x1dc]
inc ax
mov word [esi + 0x1a6], ax
mov cx, word [edi + 0x1e0]
mov word [esi + 0x1a8], cx
mov edx, dword [edi + 0x1b4]
mov dword [esi + 0x160], edx
xor edx, edx
mov dword [esi + 0x164], edx
mov dword [esi + 0x168], edx
mov dword [esi + 0x16c], edx
mov dword [esi + 0x170], edx
mov dword [esi + 0x174], edx
mov dword [esi + 0x178], edx
mov dword [esi + 0x17c], edx
mov dword [esi + 0x180], edx
mov dword [esi + 0x184], edx
mov dword [esi + 0x188], edx
cmp dword [edi + 0x248], edx
je 0x407f35
mov dword [esi + 0x164], 1
cmp dword [edi + 0x24c], edx
je 0x407f47
mov dword [esi + 0x168], 0x8000000
mov ebx, 4
cmp dword [edi + 0x254], edx
je 0x407f5a
mov dword [esi + 0x16c], ebx
mov ecx, 8
cmp dword [edi + 0x258], edx
je 0x407f6d
mov dword [esi + 0x174], ecx
cmp dword [edi + 0x25c], edx
je 0x407f7f
mov dword [esi + 0x17c], 0x20000
cmp dword [edi + 0x260], edx
je 0x407f91
or dword [esi + 0x17c], 0x80000000
cmp dword [edi + 0x264], edx
je 0x407fa3
or dword [esi + 0x17c], 0x200000
mov eax, 0x4000
cmp dword [edi + 0x268], edx
je 0x407fb6
mov dword [esi + 0x180], eax
push ebp
mov ebp, 0x8000
cmp dword [edi + 0x26c], edx
je 0x407fca
mov dword [esi + 0x178], ebp
cmp dword [edi + 0x270], edx
je 0x407fd8
or dword [esi + 0x178], eax
cmp dword [edi + 0x274], edx
je 0x407fea
or dword [esi + 0x16c], 0x400
cmp dword [edi + 0x278], edx
je 0x407ffc
mov dword [esi + 0x170], 0x40000000
cmp dword [edi + 0x27c], edx
je 0x40800b
or dword [esi + 0x178], 0x40
cmp dword [edi + 0x280], edx
je 0x40801d
or dword [esi + 0x178], 0x80000
cmp dword [edi + 0x2a4], edx
je 0x40802c
or dword [esi + 0x16c], 0x10
cmp dword [edi + 0x28c], edx
je 0x40803a
or dword [esi + 0x164], ecx
mov eax, 0x4000000
cmp dword [edi + 0x29c], edx
je 0x40804d
or dword [esi + 0x168], eax
cmp dword [edi + 0x250], edx
je 0x40805b
or dword [esi + 0x170], eax
cmp dword [edi + 0x284], edx
je 0x40806d
or dword [esi + 0x16c], 0x10000
cmp dword [edi + 0x288], edx
je 0x40807f
or dword [esi + 0x17c], 0x2000
cmp dword [edi + 0x290], edx
je 0x408091
or dword [esi + 0x16c], 0x400000
cmp dword [edi + 0x294], edx
je 0x40809f
or dword [esi + 0x174], ebx
cmp dword [edi + 0x298], edx
je 0x4080ad
or dword [esi + 0x174], eax
mov eax, dword [edi + 0x2a0]
sub eax, 1
je 0x4080c5
sub eax, 1
jne 0x4080cf
or dword [esi + 0x17c], ebp
jmp 0x4080cf
or dword [esi + 0x168], 0x20000000
mov eax, dword [edi + 0x1bc]
dec eax
mov ecx, 0x800000
cmp eax, ebx
ja case.default.0x4080df
jmp dword [eax*4 + 0x40907c]
or dword [esi + 0x164], 0x100
jmp case.default.0x4080df
or dword [esi + 0x164], 0x1000000
jmp case.default.0x4080df
or dword [esi + 0x164], 2
jmp case.default.0x4080df
or dword [esi + 0x174], 0x40000
jmp case.default.0x4080df
or dword [esi + 0x174], ecx
mov eax, dword [edi + 0x1b8]
dec eax
mov ebp, 0x20
cmp eax, 3
ja case.default.0x40812a
jmp dword [eax*4 + 0x409090]
or dword [esi + 0x168], ebp
jmp case.default.0x40812a
or dword [esi + 0x168], 0x80
jmp case.default.0x40812a
or dword [esi + 0x17c], 0x400
jmp case.default.0x40812a
or dword [esi + 0x17c], 0x800
mov eax, dword [edi + 0x1c0]
sub eax, 1
je 0x408177
sub eax, 1
jne 0x408181
or dword [esi + 0x174], 0x400
jmp 0x408181
or dword [esi + 0x170], 0x400
mov eax, dword [edi + 0x1c4]
sub eax, 1
mov ebx, 0x100000
je 0x4081b3
sub eax, 1
je 0x4081a7
sub eax, 1
jne 0x4081b9
or dword [esi + 0x178], 0x40000
jmp 0x4081b9
or dword [esi + 0x16c], 0x8000
jmp 0x4081b9
or dword [esi + 0x168], ebx
mov eax, dword [edi + 0x584]
sub eax, edx
je 0x4081e1
sub eax, 1
je 0x4081d9
sub eax, 1
jne 0x4081eb
or dword [esi + 0x170], 0x200000
jmp 0x4081eb
or dword [esi + 0x170], ecx
jmp 0x4081eb
or dword [esi + 0x170], 0x400000
mov eax, dword [edi + 0x1c8]
mov ecx, 1
sub eax, ecx
je 0x40820a
sub eax, ecx
jne 0x408214
or dword [esi + 0x168], 0x80000
jmp 0x408214
or dword [esi + 0x164], 0x4000
mov eax, dword [edi + 0x1cc]
sub eax, ecx
je 0x408242
sub eax, ecx
je 0x408239
sub eax, ecx
jne 0x40824c
or dword [esi + 0x164], 4
or dword [esi + 0x180], 0x80
jmp 0x40824c
or dword [esi + 0x164], 4
jmp 0x40824c
or dword [esi + 0x164], 0x10000
mov eax, dword [edi + 0x1d0]
sub eax, ecx
je 0x408266
sub eax, ecx
jne 0x408270
or dword [esi + 0x16c], 0x80000
jmp 0x408270
or dword [esi + 0x16c], 0x200000
mov eax, dword [edi + 0x1d4]
sub eax, ecx
je 0x40829a
sub eax, ecx
je 0x40828e
sub eax, ecx
jne 0x4082a4
or dword [esi + 0x174], 0x8000
jmp 0x4082a4
or dword [esi + 0x174], 0x4000
jmp 0x4082a4
or dword [esi + 0x174], 0x2000
mov eax, dword [edi + 0x1d8]
sub eax, ecx
je 0x4082ca
sub eax, ecx
je 0x4082be
sub eax, ecx
jne 0x4082d1
or dword [esi + 0x174], ebx
jmp 0x4082d1
or dword [esi + 0x174], 0x200000
jmp 0x4082d1
or dword [esi + 0x170], 2
mov eax, dword [edi + 0x1e4]
sub eax, ecx
je 0x4082f7
sub eax, ecx
je 0x4082ef
sub eax, ecx
jne 0x408301
mov dword [esi + 0x184], 0x11
jmp 0x408301
mov dword [esi + 0x184], ecx
jmp 0x408301
mov dword [esi + 0x184], reloc.dxwnd.dll_Ordinal_1
mov eax, dword [edi + 0x1ec]
sub eax, ecx
je 0x40833f
sub eax, ecx
je 0x408329
sub eax, ecx
jne 0x408349
or dword [esi + 0x164], 0x20000000
or dword [esi + 0x17c], 0x10000000
jmp 0x408349
or dword [esi + 0x164], 0x20000000
or dword [esi + 0x168], 0x40000
jmp 0x408349
or dword [esi + 0x164], 0x20000000
mov eax, dword [edi + 0x550]
sub eax, ecx
je 0x408360
sub eax, ecx
jne 0x408367
or dword [esi + 0x180], 8
jmp 0x408367
or dword [esi + 0x180], 4
mov eax, dword [edi + 0x554]
sub eax, ecx
je 0x408381
sub eax, ecx
jne 0x408388
or dword [esi + 0x164], 0x80
jmp 0x408388
or dword [esi + 0x180], 0x10
mov eax, dword [edi + 0x558]
sub eax, ecx
je 0x40839f
sub eax, ecx
jne 0x4083a5
or dword [esi + 0x180], 2
jmp 0x4083a5
or dword [esi + 0x180], ecx
mov eax, dword [edi + 0x58c]
sub eax, ecx
je 0x4083bf
sub eax, ecx
jne 0x4083c9
or dword [esi + 0x164], 0x800
jmp 0x4083c9
or dword [esi + 0x16c], 0x2000
mov eax, dword [edi + 0x594]
sub eax, 1
mov ecx, 0x1000
mov ebx, 0x200
je 0x4083eb
sub eax, 1
jne 0x4083f1
or dword [esi + 0x180], ecx
jmp 0x4083f1
or dword [esi + 0x180], ebx
cmp dword [edi + 0x1f0], edx
je 0x408400
or dword [esi + 0x164], 0x10
cmp dword [edi + 0x1f4], edx
je 0x40840e
or dword [esi + 0x164], ebx
cmp dword [edi + 0x1f8], edx
je 0x408420
or dword [esi + 0x178], 0x80000000
cmp dword [edi + 0x1fc], edx
je 0x408432
or dword [esi + 0x17c], 0x4000
cmp dword [edi + 0x200], edx
je 0x408444
or dword [esi + 0x17c], 0x10000
cmp dword [edi + 0x204], edx
je 0x408456
or dword [esi + 0x17c], 0x100000
cmp dword [edi + 0x208], edx
je 0x408464
or dword [esi + 0x164], ebp
cmp dword [edi + 0x20c], edx
je 0x408476
or dword [esi + 0x178], 0x8000000
cmp dword [edi + 0x210], edx
je 0x408488
or dword [esi + 0x178], 0x10000000
cmp dword [edi + 0x214], edx
je 0x40849a
or dword [esi + 0x184], 0x100
cmp dword [edi + 0x218], edx
je 0x4084a9
or dword [esi + 0x184], 8
cmp dword [edi + 0x224], edx
je 0x4084bb
or dword [esi + 0x184], 0x40000000
cmp dword [edi + 0x21c], edx
je 0x4084cd
or dword [esi + 0x184], 0x20000000
cmp dword [edi + 0x220], edx
je 0x4084df
or dword [esi + 0x184], 0x8000000
cmp dword [edi + 0x228], edx
je 0x4084ee
or dword [esi + 0x184], 4
cmp dword [edi + 0x22c], edx
je 0x4084fc
or dword [esi + 0x184], ecx
cmp dword [edi + 0x234], edx
je 0x40850b
or dword [esi + 0x184], 2
cmp dword [edi + 0x230], edx
je 0x40851d
or dword [esi + 0x184], 0x800
mov eax, 0x40
cmp dword [edi + 0x238], edx
je 0x408530
or dword [esi + 0x184], eax
cmp dword [edi + 0x23c], edx
je 0x408542
or dword [esi + 0x184], 0x80
cmp dword [edi + 0x240], edx
je 0x408550
or dword [esi + 0x184], ebx
cmp dword [edi + 0x244], edx
je 0x408562
or dword [esi + 0x184], 0x400
cmp dword [edi + 0x3a8], edx
je 0x408570
or dword [esi + 0x164], eax
cmp dword [edi + 0x450], edx
je 0x408582
or dword [esi + 0x168], 0x10000000
cmp dword [edi + 0x454], edx
je 0x408594
or dword [esi + 0x16c], 0x800
cmp dword [edi + 0x458], edx
je 0x4085a6
or dword [esi + 0x170], 0x80000000
cmp dword [edi + 0x45c], edx
je 0x4085b8
or dword [esi + 0x178], 0x20000000
cmp dword [edi + 0x460], edx
je 0x4085ca
or dword [esi + 0x178], 0x40000000
cmp dword [edi + 0x464], edx
je 0x4085dc
or dword [esi + 0x16c], 0x20000
cmp dword [edi + 0x468], edx
je 0x4085ee
or dword [esi + 0x16c], 0x100000
cmp dword [edi + 0x46c], edx
je 0x4085fd
or dword [esi + 0x170], 0x10
cmp dword [edi + 0x470], edx
je 0x40860b
or dword [esi + 0x170], ebp
cmp dword [edi + 0x474], edx
je 0x408619
or dword [esi + 0x170], eax
cmp dword [edi + 0x478], edx
je 0x40862b
or dword [esi + 0x170], 0x10000000
cmp dword [edi + 0x47c], edx
je 0x40863d
or dword [esi + 0x174], 0x400000
mov eax, 0x2000000
cmp dword [edi + 0x480], edx
je 0x408650
or dword [esi + 0x174], eax
cmp dword [edi + 0x484], edx
je 0x408662
or dword [esi + 0x170], 0x100
cmp dword [edi + 0x488], edx
je 0x408670
or dword [esi + 0x170], ebx
cmp dword [edi + 0x48c], edx
je 0x408682
or dword [esi + 0x170], 0x80
cmp dword [edi + 0x490], edx
je 0x408691
or dword [esi + 0x174], 2
cmp dword [edi + 0x494], edx
je 0x4086a3
or dword [esi + 0x178], 0x100
cmp dword [edi + 0x498], edx
je 0x4086b1
or dword [esi + 0x178], ebx
cmp dword [edi + 0x49c], edx
je 0x4086bf
or dword [esi + 0x168], eax
cmp dword [edi + 0x538], edx
je 0x4086ce
or dword [esi + 0x16c], 8
cmp dword [edi + 0x53c], edx
je 0x4086e0
or dword [esi + 0x17c], 0x80000
cmp dword [edi + 0x540], edx
je 0x4086ee
or dword [esi + 0x180], ebp
cmp dword [edi + 0x4a0], edx
je 0x408700
or dword [esi + 0x168], 0x40000000
cmp dword [edi + 0x4a4], edx
je 0x408712
or dword [esi + 0x174], 0x80
cmp dword [edi + 0x4a8], edx
je 0x408721
or dword [esi + 0x174], 1
cmp dword [edi + 0x4ac], edx
je 0x408730
or dword [esi + 0x17c], 8
cmp dword [edi + 0x4b0], edx
je 0x408742
or dword [esi + 0x180], 0x2000
cmp dword [edi + 0x4b4], edx
je 0x408751
or dword [esi + 0x17c], 0x10
cmp dword [edi + 0x4b8], edx
je 0x408763
or dword [esi + 0x17c], 0x4000000
cmp dword [edi + 0x4bc], edx
je 0x408771
or dword [esi + 0x17c], ebp
cmp dword [edi + 0x4c0], edx
je 0x408783
or dword [esi + 0x174], 0x80000000
cmp dword [edi + 0x4c4], edx
je 0x408792
or dword [esi + 0x178], 2
cmp dword [edi + 0x4c8], edx
je 0x4087a4
or dword [esi + 0x178], 0x80
cmp dword [edi + 0x4cc], edx
je 0x4087b3
or dword [esi + 0x17c], 2
cmp dword [edi + 0x4d0], edx
je 0x4087c1
or dword [esi + 0x174], ebx
cmp dword [edi + 0x4d4], edx
je 0x4087cf
or dword [esi + 0x16c], eax
cmp dword [edi + 0x4d8], edx
je 0x4087de
or dword [esi + 0x180], 0x40
cmp dword [edi + 0x4dc], edx
je 0x4087f0
or dword [esi + 0x16c], 0x40000
cmp dword [edi + 0x4e0], edx
je 0x408802
or dword [esi + 0x178], 0x20000
cmp dword [edi + 0x4e4], edx
je 0x408811
or dword [esi + 0x178], 1
cmp dword [edi + 0x4e8], edx
je 0x408823
or dword [esi + 0x16c], 0x8000000
cmp dword [edi + 0x4ec], edx
je 0x408831
or dword [esi + 0x17c], ecx
cmp dword [edi + 0x4f0], edx
je 0x408843
or dword [esi + 0x17c], 0x8000000
cmp dword [edi + 0x4f4], edx
je 0x408855
or dword [esi + 0x16c], 0x80000000
cmp dword [edi + 0x4f8], edx
je 0x408864
or dword [esi + 0x170], 1
cmp dword [edi + 0x4fc], edx
je 0x408873
or dword [esi + 0x170], 4
cmp dword [edi + 0x500], edx
je 0x408885
or dword [esi + 0x170], 0x80000
cmp dword [edi + 0x504], edx
je 0x408897
or dword [esi + 0x170], 0x20000000
cmp dword [edi + 0x508], edx
je 0x4088a9
or dword [esi + 0x170], 0x8000
cmp dword [edi + 0x50c], edx
je 0x4088bb
or dword [esi + 0x178], 0x400
cmp dword [edi + 0x510], edx
je 0x4088cd
or dword [esi + 0x178], 0x800
cmp dword [edi + 0x514], edx
je 0x4088df
or dword [esi + 0x174], 0x40000000
cmp dword [edi + 0x518], edx
je 0x4088ee
or dword [esi + 0x178], 4
cmp dword [edi + 0x51c], edx
je 0x408900
or dword [esi + 0x16c], 0x4000
cmp dword [edi + 0x520], edx
je 0x408912
or dword [esi + 0x174], 0x20000000
cmp dword [edi + 0x544], edx
je 0x408920
or dword [esi + 0x170], ecx
cmp dword [edi + 0x524], edx
je 0x40892e
or dword [esi + 0x16c], ebx
cmp dword [edi + 0x528], edx
je 0x40893c
or dword [esi + 0x174], ebp
cmp dword [edi + 0x2cc], edx
je 0x40894e
or dword [esi + 0x164], 0x8000
cmp dword [edi + 0x2d0], edx
je 0x408960
or dword [esi + 0x164], 0x400
cmp dword [edi + 0x2d4], edx
je 0x408972
or dword [esi + 0x170], 0x20000
cmp dword [edi + 0x2d8], edx
je 0x408980