Function at 0x402860
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [0x58f5c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403274
sub esp, 0x38
lea eax, [0x4b5e60]
mov dword [esp], eax
call fcn.0040ef60
mov eax, dword [esp + 4]
mov dword [eax + 4], 3
lea ecx, [0x4c7f26]
mov dword [eax], ecx
lea ecx, [0x58fa01]
mov dword [eax + 8], ecx
mov dword [eax + 0x14], 3
lea ecx, [0x4c7f29]
mov dword [eax + 0x10], ecx
lea ecx, [0x58fa00]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x24], 4
lea ecx, [0x4c803c]
mov dword [eax + 0x20], ecx
lea ecx, [0x58fa09]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x34], 9
lea ecx, [0x4c8922]
mov dword [eax + 0x30], ecx
lea ecx, [0x58fa0c]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], 6
lea ecx, [0x4c82e0]
mov dword [eax + 0x40], ecx
lea ecx, [0x58fa0e]
mov dword [eax + 0x48], ecx
mov dword [eax + 0x54], 3
lea ecx, [0x4c7f2c]
mov dword [eax + 0x50], ecx
lea ecx, [0x58fa0f]
mov dword [eax + 0x58], ecx
mov dword [0x54fedc], 6
mov dword [0x54fee0], 6
mov ecx, dword [0x58f668]
test ecx, ecx
je 0x40294c
call fcn.0046d780
mov dword [edi], eax
mov ecx, dword [0x54fed8]
mov dword [edi + 4], ecx
mov dword [0x54fed8], eax
call fcn.004032f0
mov eax, dword [esp]
mov dword [esp + 0x28], eax
cmp eax, 2
jge 0x402b2e
mov ecx, dword [0x54fee0]
mov edx, dword [0x54fedc]
add edx, 5
mov ebx, dword [0x54fed8]
cmp ecx, edx
jae 0x4029da
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
lea eax, [0x4be400]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x54fee0], eax
mov eax, dword [0x58f668]
test eax, eax
je 0x4029ce
call fcn.0046d780
mov dword [edi], ecx
mov eax, dword [0x54fed8]
mov dword [edi + 4], eax
mov dword [0x54fed8], ecx
mov eax, dword [esp + 0x28]
mov ebx, ecx
mov dword [0x54fedc], edx
lea ecx, [edx - 5]
shl ecx, 4
mov dword [ebx + ecx + 4], 6
mov byte [ebx + ecx + 0xc], 0
mov byte [ebx + ecx + 0xd], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402a13
mov edx, dword [ebx + ecx]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 8]
mov dword [edi + 4], edx
lea edx, [0x4c82e6]
mov dword [ebx + ecx], edx
lea edx, [0x58fa0d]
mov dword [ebx + ecx + 8], edx
mov dword [ebx + ecx + 0x14], 4
mov byte [ebx + ecx + 0x1c], 0
mov byte [ebx + ecx + 0x1d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402a54
mov edx, dword [ebx + ecx + 0x10]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x18]
mov dword [edi + 4], edx
lea edx, [0x4c8040]
mov dword [ebx + ecx + 0x10], edx
lea edx, [0x58fa10]
mov dword [ebx + ecx + 0x18], edx
mov dword [ebx + ecx + 0x24], 5
mov byte [ebx + ecx + 0x2c], 0
mov byte [ebx + ecx + 0x2d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402a96
mov edx, dword [ebx + ecx + 0x20]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x28]
mov dword [edi + 4], edx
lea edx, [0x4c8181]
mov dword [ebx + ecx + 0x20], edx
lea edx, [0x58fa12]
mov dword [ebx + ecx + 0x28], edx
mov dword [ebx + ecx + 0x34], 5
mov byte [ebx + ecx + 0x3c], 0
mov byte [ebx + ecx + 0x3d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402ad8
mov edx, dword [ebx + ecx + 0x30]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x38]
mov dword [edi + 4], edx
lea edx, [0x4c8186]
mov dword [ebx + ecx + 0x30], edx
lea edx, [0x58fa13]
mov dword [ebx + ecx + 0x38], edx
mov dword [ebx + ecx + 0x44], 5
mov byte [ebx + ecx + 0x4c], 0
mov byte [ebx + ecx + 0x4d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402b1a
mov edx, dword [ebx + ecx + 0x40]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x48]
mov dword [edi + 4], edx
lea edx, [0x4c818b]
mov dword [ebx + ecx + 0x40], edx
lea edx, [0x58fa11]
mov dword [ebx + ecx + 0x48], edx
cmp eax, 3
jge 0x402cfe
mov ecx, dword [0x54fee0]
mov edx, dword [0x54fedc]
add edx, 5
mov ebx, dword [0x54fed8]
cmp ecx, edx
jae 0x402baa
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 5
lea eax, [0x4be400]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x54fee0], eax
mov eax, dword [0x58f668]
test eax, eax
je 0x402b9e
call fcn.0046d780
mov dword [edi], ecx
mov eax, dword [0x54fed8]
mov dword [edi + 4], eax
mov dword [0x54fed8], ecx
mov eax, dword [esp + 0x28]
mov ebx, ecx
mov dword [0x54fedc], edx
lea ecx, [edx - 5]
shl ecx, 4
mov dword [ebx + ecx + 4], 3
mov byte [ebx + ecx + 0xc], 0
mov byte [ebx + ecx + 0xd], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402be3
mov edx, dword [ebx + ecx]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 8]
mov dword [edi + 4], edx
lea edx, [0x4c7f2f]
mov dword [ebx + ecx], edx
lea edx, [0x58fa02]
mov dword [ebx + ecx + 8], edx
mov dword [ebx + ecx + 0x14], 4
mov byte [ebx + ecx + 0x1c], 0
mov byte [ebx + ecx + 0x1d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402c24
mov edx, dword [ebx + ecx + 0x10]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x18]
mov dword [edi + 4], edx
lea edx, [0x4c8044]
mov dword [ebx + ecx + 0x10], edx
lea edx, [0x58fa03]
mov dword [ebx + ecx + 0x18], edx
mov dword [ebx + ecx + 0x24], 4
mov byte [ebx + ecx + 0x2c], 0
mov byte [ebx + ecx + 0x2d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402c66
mov edx, dword [ebx + ecx + 0x20]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x28]
mov dword [edi + 4], edx
lea edx, [0x4c8048]
mov dword [ebx + ecx + 0x20], edx
lea edx, [0x58fa07]
mov dword [ebx + ecx + 0x28], edx
mov dword [ebx + ecx + 0x34], 4
mov byte [ebx + ecx + 0x3c], 0
mov byte [ebx + ecx + 0x3d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402ca8
mov edx, dword [ebx + ecx + 0x30]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x38]
mov dword [edi + 4], edx
lea edx, [0x4c804c]
mov dword [ebx + ecx + 0x30], edx
lea edx, [0x58fa08]
mov dword [ebx + ecx + 0x38], edx
mov dword [ebx + ecx + 0x44], 3
mov byte [ebx + ecx + 0x4c], 0
mov byte [ebx + ecx + 0x4d], 0
mov edx, dword [0x58f668]
test edx, edx
je 0x402cea
mov edx, dword [ebx + ecx + 0x40]
call fcn.0046d780
mov dword [edi], edx
mov edx, dword [ebx + ecx + 0x48]
mov dword [edi + 4], edx
lea edx, [0x4c7f32]
mov dword [ebx + ecx + 0x40], edx
lea edx, [0x58fa0a]
mov dword [ebx + ecx + 0x48], edx
cmp eax, 4
jge 0x402e4a
mov eax, dword [0x54fee0]
mov ecx, dword [0x54fedc]
add ecx, 3
mov edx, dword [0x54fed8]
cmp eax, ecx
jae 0x402d7a
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
lea eax, [0x4be400]
mov dword [esp + 0x10], eax
call fcn.00453590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x54fee0], eax
mov eax, dword [0x58f668]
test eax, eax
je 0x402d6e
call fcn.0046d780
mov dword [edi], ecx
mov eax, dword [0x54fed8]
mov dword [edi + 4], eax
mov dword [0x54fed8], ecx
mov eax, edx
mov edx, ecx
mov ecx, eax
mov dword [0x54fedc], ecx
lea eax, [ecx - 3]
shl eax, 4
mov dword [edx + eax + 4], 7
mov byte [edx + eax + 0xc], 0
mov byte [edx + eax + 0xd], 0
mov ecx, dword [0x58f668]
test ecx, ecx
je 0x402db3
mov ecx, dword [edx + eax]
call fcn.0046d780
mov dword [edi], ecx
mov ecx, dword [edx + eax + 8]
mov dword [edi + 4], ecx
lea ecx, [0x4c8480]
mov dword [edx + eax], ecx
lea ecx, [0x58fa04]
mov dword [edx + eax + 8], ecx
mov dword [edx + eax + 0x14], 8
mov byte [edx + eax + 0x1c], 0
mov byte [edx + eax + 0x1d], 0
mov ecx, dword [0x58f668]
test ecx, ecx
je 0x402df4
mov ecx, dword [edx + eax + 0x10]
call fcn.0046d780
mov dword [edi], ecx
mov ecx, dword [edx + eax + 0x18]
mov dword [edi + 4], ecx
lea ecx, [0x4c867d]
mov dword [edx + eax + 0x10], ecx
lea ecx, [0x58fa05]
mov dword [edx + eax + 0x18], ecx
mov dword [edx + eax + 0x24], 8
mov byte [edx + eax + 0x2c], 0
mov byte [edx + eax + 0x2d], 0
mov ecx, dword [0x58f668]
test ecx, ecx
je 0x402e36
mov ecx, dword [edx + eax + 0x20]
call fcn.0046d780
mov dword [edi], ecx
mov ecx, dword [edx + eax + 0x28]
mov dword [edi + 4], ecx
lea ecx, [0x4c8685]
mov dword [edx + eax + 0x20], ecx
lea ecx, [0x58fa06]
mov dword [edx + eax + 0x28], ecx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.004032b0
mov eax, dword [esp + 8]
test eax, eax
je 0x403270
mov dword [esp + 0x24], eax
mov dword [esp], 0x80000000
mov dword [esp + 4], 0
call fcn.004032b0
mov eax, dword [esp + 8]
mov dword [0x58f5c0], eax
mov dword [esp], 1
mov dword [esp + 4], 0
call fcn.004032b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa10], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa0c], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa11], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x80000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa12], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x100000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa13], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x800000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa0d], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x2000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa00], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x8000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa0b], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x1000
call fcn.00403280
movzx eax, byte [esp + 8]
test al, al
je 0x402fc2
movzx eax, byte [0x58fa0b]
jmp 0x402fc4
xor eax, eax
mov byte [0x58fa0a], al
movzx eax, byte [0x58fa0b]
test al, al
jne 0x402fde
xor eax, eax
xor ecx, ecx
jmp 0x403097
call fcn.004032d0
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov dword [esp + 4], 2
call fcn.00403280
movzx eax, byte [esp + 8]
test al, al
jne 0x403004
xor eax, eax
jmp 0x40301d
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [esp + 0x23], al
test al, al
jne 0x403029
xor ecx, ecx
jmp 0x403049
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00403280
movzx eax, byte [esp + 8]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x403051
xor ecx, ecx
jmp 0x403097
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.00403280
movzx eax, byte [esp + 8]
test al, al
jne 0x403077
movzx eax, byte [esp + 0x23]
xor ecx, ecx
jmp 0x403097
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00403280
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.00403280
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x23]
and eax, ecx
mov byte [0x58fa02], al
mov eax, dword [esp + 0x24]
cmp eax, 7
jb 0x40326c
mov dword [esp], 7
mov dword [esp + 4], 0
call fcn.004032b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa07], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00403280
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x23]
and ecx, eax
mov byte [0x58fa03], cl
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x100
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa08], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa09], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x80000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa01], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x20000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa0f], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x10000
call fcn.00403280
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 0x22]
and ecx, eax
mov byte [0x58fa04], cl
test cl, cl
je 0x403213
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x40000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa05], al
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa06], al
mov dword [esp], 0x80000000
mov dword [esp + 4], 0
call fcn.004032b0
cmp dword [esp + 8], 0x80000001
jae 0x403235
add esp, 0x38
ret
mov dword [esp], 0x80000001
mov dword [esp + 4], 0
call fcn.004032b0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0x8000000
call fcn.00403280
movzx eax, byte [esp + 8]
mov byte [0x58fa0e], al
add esp, 0x38
ret
add esp, 0x38
ret
add esp, 0x38
ret
call fcn.0046c370
jmp fcn.00402860