Function at 0x4583ba
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 0x602c77
call fcn.005f870c
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x10]
mov esi, edx
call fcn.00403fec
xor ebx, ebx
push 0x6a72d8
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004069e3
test al, al
je 0x458425
mov dword [ebp - 0x14], ebx
lea eax, [esi + 0x20]
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6a6738
mov dword [ebp - 0x1c], 6
call fcn.00459286
lea ecx, [ebp - 0x18]
call fcn.0040479b
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00403689
mov al, bl
jmp 0x4588d2
push 0x6a7344
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45843f
or dword [esi + 0x58], 2
jmp 0x4587fe
push 0x6a72e8
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458459
or dword [esi + 0x58], 4
jmp 0x4587fe
push 0x6a730c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458473
or dword [esi + 0x58], 0x10
jmp 0x4587fe
push 0x6a72f0
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45848d
or dword [esi + 0x58], 8
jmp 0x4587fe
push 0x6a72fc
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4584ae
push 1
add esi, 0x58
push esi
call fcn.0043ab8f
jmp 0x4588bc
push 0x6a7308
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4584c8
or dword [esi + 0x58], 0x20
jmp 0x4587fe
push 0x6a7310
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4584e2
or dword [esi + 0x58], 0x40
jmp 0x4587fe
push 0x6a7830
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458503
push 1
add esi, 0x58
push esi
call fcn.0040c3b9
jmp 0x4588bc
push 0x6a784c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458522
add esi, 0x58
push esi
call fcn.0040c3ef
jmp 0x4588bc
push 0x6a7840
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45853f
or dword [esi + 0x58], 0x80
jmp 0x4587fe
push 0x6a7864
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458560
push 1
add esi, 0x58
push esi
call fcn.0040c419
jmp 0x4588bc
push 0x6a7334
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45857d
or dword [esi + 0x58], 0x80000
jmp 0x4587fe
push 0x6a7328
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45859a
or dword [esi + 0x58], 0x1000
jmp 0x4587fe
push 0x6a7338
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4585b7
or dword [esi + 0x58], 0x2000
jmp 0x4587fe
push 0x6a7834
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4585d4
or dword [esi + 0x58], 0x100
jmp 0x4587fe
push 0x6a7320
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4585f1
or dword [esi + 0x58], 0x40000
jmp 0x4587fe
push 0x6a72d4
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458612
push 1
add esi, 0x58
push esi
call fcn.00454889
jmp 0x4588bc
push 0x6a7854
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458631
add esi, 0x58
push esi
call fcn.0040c461
jmp 0x4588bc
push 0x6a72f4
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45864e
or dword [esi + 0x58], 0x10000
jmp 0x4587fe
push 0x6a7850
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45866b
or dword [esi + 0x58], 0x20000
jmp 0x4587fe
push 0x6a78a8
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458688
or dword [esi + 0x5c], 0x40000000
jmp 0x4588b6
push 0x6a7860
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4586a5
or dword [esi + 0x5c], 0x20000000
jmp 0x4588b6
push 0x6a7304
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4586cb
add esi, 0x4c
call fcn.004589de
test al, al
jne 0x4588bc
jmp 0x458416
push 0x6a72dc
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4586e1
add esi, 0x50
jmp 0x4586b9
push 0x6a72e0
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4586fb
mov byte [esi + 0x54], 1
jmp 0x4588bc
push 0x6a7838
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458715
mov byte [esi + 0x55], 1
jmp 0x4588bc
push 0x6a78ac
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458736
push 1
add esi, 0x58
push esi
call fcn.0040c4d5
jmp 0x4588bc
push 0x6a7330
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458755
add esi, 0x58
push esi
call fcn.0040c50b
jmp 0x4588bc
push 0x6a733c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458772
or dword [esi + 0x58], 0x100000
jmp 0x4587fe
push 0x6a72f8
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45878c
or dword [esi + 0x58], 0x200000
jmp 0x4587fe
push 0x6a7318
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4587ac
push 1
add esi, 0x58
call fcn.004548a3
jmp 0x4588bc
push 0x6a72ec
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4587cc
push 1
add esi, 0x58
call fcn.004548cd
jmp 0x4588bc
push 0x6a7314
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4587e6
or dword [esi + 0x58], 0x1000000
jmp 0x4587fe
push 0x6a785c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458809
or dword [esi + 0x58], 0x2000000
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x5c], eax
jmp 0x4588bc
push 0x6a7300
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458826
push edi
push esi
call fcn.00458945
jmp 0x4586be
push 0x6a783c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458843
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], 1
jmp 0x4588bc
push 0x6a732c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458860
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 1
jmp 0x4588bc
push 0x6a731c
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x458885
lea eax, [esi + 0x3c]
add esi, 0x40
push eax
push esi
mov esi, edi
call fcn.00458a7e
jmp 0x4586be
push 0x6a7844
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x45889e
lea eax, [esi + 0x44]
add esi, 0x48
jmp 0x458877
push 0x6a72e4
lea ecx, [ebp - 0x10]
call fcn.004069e3
test al, al
je 0x4588c8
or dword [esi + 0x5c], 0x80000000
mov eax, dword [esi + 0x58]
mov dword [esi + 0x58], eax
lea ecx, [ebp - 0x10]
call fcn.00403689
mov al, 1
jmp 0x4588d2
lea ecx, [ebp - 0x10]
call fcn.00403689
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret