Function at 0x402e10
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403779
sub esp, 0x38
lea eax, [0x6beae0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [eax + 4], 3
lea ecx, [0x7024d7]
mov dword [eax], ecx
lea ecx, [0x8c8da1]
mov dword [eax + 8], ecx
mov dword [eax + 0x14], 3
lea ecx, [0x7024da]
mov dword [eax + 0x10], ecx
lea ecx, [0x8c8da0]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x24], 4
lea ecx, [0x7026a8]
mov dword [eax + 0x20], ecx
lea ecx, [0x8c8da9]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x34], 9
lea ecx, [0x703672]
mov dword [eax + 0x30], ecx
lea ecx, [0x8c8dac]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], 6
lea ecx, [0x702b24]
mov dword [eax + 0x40], ecx
lea ecx, [0x8c8dae]
mov dword [eax + 0x48], ecx
mov dword [eax + 0x54], 3
lea ecx, [0x7024dd]
mov dword [eax + 0x50], ecx
lea ecx, [0x8c8daf]
mov dword [eax + 0x58], ecx
mov dword [0x8a783c], 6
mov dword [0x8a7840], 6
mov ecx, dword [0x8c88d8]
test ecx, ecx
je 0x402efc
call fcn.004772f0
mov dword [edi], eax
mov ecx, dword [0x8a7838]
mov dword [edi + 4], ecx
mov dword [0x8a7838], eax
call fcn.00403800
mov eax, dword [esp]
mov dword [esp + 0x28], eax
cmp eax, 2
jge 0x40309b
mov ecx, dword [0x8a7840]
mov edx, dword [0x8a783c]
add edx, 5
mov ebx, dword [0x8a7838]
cmp ecx, edx
jae 0x402f8a
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
lea eax, [0x6e0ca0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x8a7840], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x402f7e
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [0x8a7838]
mov dword [edi + 4], eax
mov dword [0x8a7838], ecx
mov eax, dword [esp + 0x28]
mov ebx, ecx
mov dword [0x8a783c], edx
lea ecx, [edx - 5]
shl ecx, 4
mov dword [ebx + ecx + 4], 6
mov word [ebx + ecx + 0xc], 0
mov edx, dword [0x8c88d8]
test edx, edx
je 0x402ffc
mov edx, dword [ebx + ecx]
call fcn.00477350
mov dword [edi], edx
mov edx, dword [ebx + ecx + 8]
mov dword [edi + 4], edx
mov edx, dword [ebx + ecx + 0x10]
mov dword [edi + 8], edx
mov edx, dword [ebx + ecx + 0x18]
mov dword [edi + 0xc], edx
mov edx, dword [ebx + ecx + 0x20]
mov dword [edi + 0x10], edx
mov edx, dword [ebx + ecx + 0x28]
mov dword [edi + 0x14], edx
mov edx, dword [ebx + ecx + 0x30]
mov dword [edi + 0x18], edx
mov edx, dword [ebx + ecx + 0x38]
mov dword [edi + 0x1c], edx
mov edx, dword [ebx + ecx + 0x40]
call fcn.004772f0
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x48]
mov dword [edi + 4], edx
lea edx, [0x702b2a]
mov dword [ebx + ecx], edx
lea edx, [0x8c8dad]
mov dword [ebx + ecx + 8], edx
mov dword [ebx + ecx + 0x14], 4
mov word [ebx + ecx + 0x1c], 0
lea edx, [0x7026ac]
mov dword [ebx + ecx + 0x10], edx
lea edx, [0x8c8db0]
mov dword [ebx + ecx + 0x18], edx
mov dword [ebx + ecx + 0x24], 5
mov word [ebx + ecx + 0x2c], 0
lea edx, [0x7028ad]
mov dword [ebx + ecx + 0x20], edx
lea edx, [0x8c8db2]
mov dword [ebx + ecx + 0x28], edx
mov dword [ebx + ecx + 0x34], 5
mov word [ebx + ecx + 0x3c], 0
lea edx, [0x7028b2]
mov dword [ebx + ecx + 0x30], edx
lea edx, [0x8c8db3]
mov dword [ebx + ecx + 0x38], edx
mov dword [ebx + ecx + 0x44], 5
mov word [ebx + ecx + 0x4c], 0
lea edx, [0x7028b7]
mov dword [ebx + ecx + 0x40], edx
lea edx, [0x8c8db1]
mov dword [ebx + ecx + 0x48], edx
cmp eax, 3
jge 0x403228
mov ecx, dword [0x8a7840]
mov edx, dword [0x8a783c]
add edx, 5
mov ebx, dword [0x8a7838]
cmp ecx, edx
jae 0x403117
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
lea eax, [0x6e0ca0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x8a7840], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x40310b
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [0x8a7838]
mov dword [edi + 4], eax
mov dword [0x8a7838], ecx
mov eax, dword [esp + 0x28]
mov ebx, ecx
mov dword [0x8a783c], edx
lea ecx, [edx - 5]
shl ecx, 4
mov dword [ebx + ecx + 4], 3
mov word [ebx + ecx + 0xc], 0
mov edx, dword [0x8c88d8]
test edx, edx
je 0x403189
mov edx, dword [ebx + ecx]
call fcn.00477350
mov dword [edi], edx
mov edx, dword [ebx + ecx + 8]
mov dword [edi + 4], edx
mov edx, dword [ebx + ecx + 0x10]
mov dword [edi + 8], edx
mov edx, dword [ebx + ecx + 0x18]
mov dword [edi + 0xc], edx
mov edx, dword [ebx + ecx + 0x20]
mov dword [edi + 0x10], edx
mov edx, dword [ebx + ecx + 0x28]
mov dword [edi + 0x14], edx
mov edx, dword [ebx + ecx + 0x30]
mov dword [edi + 0x18], edx
mov edx, dword [ebx + ecx + 0x38]
mov dword [edi + 0x1c], edx
mov edx, dword [ebx + ecx + 0x40]
call fcn.004772f0
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x48]
mov dword [edi + 4], edx
lea edx, [0x7024e0]
mov dword [ebx + ecx], edx
lea edx, [0x8c8da2]
mov dword [ebx + ecx + 8], edx
mov dword [ebx + ecx + 0x14], 4
mov word [ebx + ecx + 0x1c], 0
lea edx, [0x7026b0]
mov dword [ebx + ecx + 0x10], edx
lea edx, [0x8c8da3]
mov dword [ebx + ecx + 0x18], edx
mov dword [ebx + ecx + 0x24], 4
mov word [ebx + ecx + 0x2c], 0
lea edx, [0x7026b4]
mov dword [ebx + ecx + 0x20], edx
lea edx, [0x8c8da7]
mov dword [ebx + ecx + 0x28], edx
mov dword [ebx + ecx + 0x34], 4
mov word [ebx + ecx + 0x3c], 0
lea edx, [0x7026b8]
mov dword [ebx + ecx + 0x30], edx
lea edx, [0x8c8da8]
mov dword [ebx + ecx + 0x38], edx
mov dword [ebx + ecx + 0x44], 3
mov word [ebx + ecx + 0x4c], 0
lea edx, [0x7024e3]
mov dword [ebx + ecx + 0x40], edx
lea edx, [0x8c8daa]
mov dword [ebx + ecx + 0x48], edx
cmp eax, 4
jge 0x40334f
mov eax, dword [0x8a7840]
mov ecx, dword [0x8a783c]
add ecx, 3
mov edx, dword [0x8a7838]
cmp eax, ecx
jae 0x4032a4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
lea eax, [0x6e0ca0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x8a7840], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x403298
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [0x8a7838]
mov dword [edi + 4], eax
mov dword [0x8a7838], ecx
mov eax, edx
mov edx, ecx
mov ecx, eax
mov dword [0x8a783c], ecx
lea eax, [ecx - 3]
shl eax, 4
mov dword [edx + eax + 4], 7
mov word [edx + eax + 0xc], 0
mov ecx, dword [0x8c88d8]
test ecx, ecx
je 0x4032f6
mov ecx, dword [edx + eax]
call fcn.00477330
mov dword [edi], ecx
mov ecx, dword [edx + eax + 8]
mov dword [edi + 4], ecx
mov ecx, dword [edx + eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [edx + eax + 0x18]
mov dword [edi + 0xc], ecx
mov ecx, dword [edx + eax + 0x20]
mov dword [edi + 0x10], ecx
mov ecx, dword [edx + eax + 0x28]
mov dword [edi + 0x14], ecx
lea ecx, [0x702e29]
mov dword [edx + eax], ecx
lea ecx, [0x8c8da4]
mov dword [edx + eax + 8], ecx
mov dword [edx + eax + 0x14], 8
mov word [edx + eax + 0x1c], 0
lea ecx, [0x703213]
mov dword [edx + eax + 0x10], ecx
lea ecx, [0x8c8da5]
mov dword [edx + eax + 0x18], ecx
mov dword [edx + eax + 0x24], 8
mov word [edx + eax + 0x2c], 0
lea ecx, [0x70321b]
mov dword [edx + eax + 0x20], ecx
lea ecx, [0x8c8da6]
mov dword [edx + eax + 0x28], ecx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.004037c0
mov eax, dword [esp + 8]
test eax, eax
je 0x403775
mov dword [esp + 0x24], eax
mov dword [esp], 0x80000000
mov dword [esp + 4], 0
call fcn.004037c0
mov eax, dword [esp + 8]
mov dword [0x8c85e8], eax
mov dword [esp], 1
mov dword [esp + 4], 0
call fcn.004037c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8db0], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8dac], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8db1], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x80000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8db2], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x100000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8db3], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x800000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8dad], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x2000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da0], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x8000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8dab], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x1000
call fcn.00403790
movzx eax, byte [esp + 8]
test al, al
je 0x4034c7
movzx eax, byte [0x8c8dab]
jmp 0x4034c9
xor eax, eax
mov byte [0x8c8daa], al
movzx eax, byte [0x8c8dab]
test al, al
jne 0x4034e3
xor eax, eax
xor ecx, ecx
jmp 0x40359c
call fcn.004037e0
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov dword [esp + 4], 2
call fcn.00403790
movzx eax, byte [esp + 8]
test al, al
jne 0x403509
xor eax, eax
jmp 0x403522
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [esp + 0x23], al
test al, al
jne 0x40352e
xor ecx, ecx
jmp 0x40354e
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00403790
movzx eax, byte [esp + 8]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x403556
xor ecx, ecx
jmp 0x40359c
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.00403790
movzx eax, byte [esp + 8]
test al, al
jne 0x40357c
movzx eax, byte [esp + 0x23]
xor ecx, ecx
jmp 0x40359c
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00403790
movzx eax, byte [esp + 8]
mov ecx, eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0x10000000
call fcn.00403790
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x23]
and eax, ecx
mov byte [0x8c8da2], al
mov eax, dword [esp + 0x24]
cmp eax, 7
jb 0x403771
mov dword [esp], 7
mov dword [esp + 4], 0
call fcn.004037c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da7], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00403790
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x23]
and ecx, eax
mov byte [0x8c8da3], cl
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x100
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da8], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da9], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x80000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da1], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x20000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8daf], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x10000
call fcn.00403790
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x22]
and ecx, eax
mov byte [0x8c8da4], cl
test cl, cl
je 0x403718
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x40000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da5], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8da6], al
mov dword [esp], 0x80000000
mov dword [esp + 4], 0
call fcn.004037c0
cmp dword [esp + 8], 0x80000001
jae 0x40373a
add esp, 0x38
ret
mov dword [esp], 0x80000001
mov dword [esp + 4], 0
call fcn.004037c0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0x8000000
call fcn.00403790
movzx eax, byte [esp + 8]
mov byte [0x8c8dae], al
add esp, 0x38
ret
add esp, 0x38
ret
add esp, 0x38
ret
call fcn.00475ee0
jmp fcn.00402e10