Function at 0x4564d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jne 0x4564f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe0]
push ecx
push eax
call fcn.00461b70
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
call fcn.0040edc0
mov ebx, 0x20000000
mov edi, eax
test ebx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
je 0x456704
mov edx, dword [esi + 0xa4]
and edx, 0xdfffffff
or edx, 0x400000
push esi
mov dword [esi + 0xa4], edx
call fcn.00580780
add esp, 4
test dword [esi], 0x8000000
je 0x45654e
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
cmp dword [esi + 0xbc], 0
je 0x456561
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x456581
push eax
call fcn.00440e90
mov dword [esi + 0xc8], eax
add esp, 4
mov word [esi + 0xca], ax
or dword [esi], 0x8000000
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi]
mov dword [esi + 0x28], 0x10
test ecx, 0x1000
je 0x4565aa
or dword [esi + 0xe0], 0x80000000
jmp 0x4565bc
test ecx, 0x800
je 0x4565bc
or dword [esi + 0xe0], 0x40000000
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xd0]
mov dword [esi + 0xd8], ecx
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0xcc], ecx
dec ecx
mov dword [esi + 0xdc], edx
je 0x456681
dec ecx
je 0x456605
sub ecx, 2
jne 0x4566dd
or eax, 0x4000000
mov dword [esi], eax
mov dword [esi + 0xe0], ebx
jmp 0x4566dd
mov ecx, dword [esi + 0xb8]
or eax, 0x4000000
mov dword [esi], eax
mov eax, dword [esi + 0xb4]
mov dword [esi + 0xe0], ebx
cmp eax, ecx
jg 0x45662c
push ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
push eax
jmp 0x456634
push eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
push ecx
call fcn.00489dd0
add esp, 8
cmp dword [esi + 0xc4], 0
mov dword [esi + 0x6c], eax
je 0x456655
call fcn.00489c70
and eax, 1
mov dword [esi + 0x68], eax
jmp 0x456662
mov eax, dword [esi + 0x70]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4566dd
mov dword [esi + 0x64], pe_nt_image_headers32
jmp 0x4566dd
mov edx, dword [edi + 0xa2f4]
xor eax, eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xd8], eax
lea eax, [ebp - 4]
push eax
push edx
mov dword [esi + 0xd0], edx
call fcn.00451000
add esp, 8
test eax, eax
je 0x4566d6
mov dx, word [esi + 0x9e]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x50], eax
mov ax, word [esi + 0xa2]
mov word [esi + 0x9c], dx
mov word [esi + 0xa0], ax
mov dword [esi + 0xd8], ecx
jmp 0x4566dd
mov dword [esi + 0x50], 0xffffffff
mov eax, dword [esi + 0xa4]
test eax, 0x2000
je 0x4566f9
and eax, 0xffffdfff
mov dword [esi + 0xa4], eax
push 1
jmp 0x4566fb
push 0
push esi
call fcn.00461ab0
add esp, 8
mov eax, dword [esi + 0x154]
mov edx, dword [esi + 0x128]
mov ebx, dword [esi + 0x124]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x8c]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], eax
call fcn.00441100
mov edi, eax
call fcn.00441110
test dword [esi + 0xe0], 0x40000000
je 0x45679d
sub eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 0x6a4
jle 0x456757
mov ecx, dword [0x5b7800]
jmp 0x456764
cmp eax, 0x4b0
jle 0x456764
mov ecx, dword [0x5b7804]
mov eax, edi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, 0xfffff830
sub edx, dword [0x5b7808]
sub edx, ecx
add eax, edx
cmp eax, 0x100
jle 0x45679d
or dword [esi + 0xa4], 0x10000000
push esi
call fcn.00463a30
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xcc]
xor edi, edi
mov edx, 1
sub eax, edx
mov dword [ebp - 8], edi
je 0x4567fa
sub eax, edx
jne 0x45688a
mov ecx, dword [esi + 0x68]
mov dword [ebp - 8], edx
cmp ecx, edi
jne 0x4567dd
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jl 0x4567f2
mov eax, ecx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
jmp 0x45688a
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
mov edx, dword [esi + 0x70]
cmp eax, edx
jg 0x4567f2
xor ecx, 1
mov eax, edx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
jmp 0x45688a
push 0x2000
call fcn.00426240
add esp, 4
test eax, eax
jne 0x45688a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa2f4]
cmp dword [esi + 0xd0], eax
je 0x45688a
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xdc], edi
mov dword [esi + 0xd8], edi
call fcn.00451000
add esp, 8
cmp eax, edi
je 0x456869
mov cx, word [esi + 0xa2]
mov edx, dword [ebp - 4]
mov dword [esi + 0x50], eax
mov ax, word [esi + 0x9e]
mov word [esi + 0x9c], ax
mov word [esi + 0xa0], cx
mov dword [esi + 0xd8], edx
jmp 0x456870
mov dword [esi + 0x2c], 0xffffffff
test dword [esi + 0xa4], 0x4000
je 0x456880
push 1
jmp 0x456881
push edi
push esi
call fcn.00461ab0
add esp, 8
test dword [esi + 0xa4], 0x800
je 0x4568a4
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x4568b8
mov edi, 0x10000
jmp 0x4568b8
mov eax, dword [ebp + 0xc]
push 0x6969c0
push eax
push ebx
call fcn.00582680
add esp, 0xc
mov edi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push 0x6969c0
lea ecx, [esi + 4]
push ecx
push edi
push edx
push eax
push ebx
call fcn.005826a0
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x14c]
add esp, 0x18
test eax, eax
je 0x4568ee
imul edi
shrd eax, edx, 0x10
sar edx, 0x10
mov edi, eax
cmp edi, 0xb000
jge 0x4568f9
and edi, 0xffffff80
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.00443360
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc8]
add esp, 4
test eax, eax
je 0x456975
jns 0x45694b
dec word [esi + 0xc8]
cmp word [esi + 0xc8], 0
jg 0x45697e
and dword [esi + 0xc8], 0x7fffffff
mov dx, word [esi + 0xca]
mov eax, dword [esi + 0x54]
mov word [esi + 0xc8], dx
mov dword [esi + 0x2c], eax
jmp 0x45697e
push esi
call fcn.00463a30
add esp, 4
test eax, eax
je 0x45697e
movzx ecx, word [esi + 0x9c]
mov edx, dword [esi + 0x54]
or dword [esi + 0xc8], 0x80000000
lea eax, [ecx + edx - 1]
mov dword [esi + 0x2c], eax
jmp 0x45697e
push esi
call fcn.00463a30
add esp, 4
mov ecx, dword [esi + 0x8c]
mov edi, dword [ebp - 0x14]
neg ecx
push ecx
push edi
push 1
push esi
call fcn.004524a0
add esp, 0x10
test eax, eax
jne 0x456ac1
mov eax, dword [esi + 0xa4]
test eax, 0x10000000
jne 0x456ac1
test eax, 0x4000
je 0x456a78
test eax, 0x800
jne 0x456a78
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x6367cc]
jle 0x456a6c
call fcn.00441100
add ebx, dword [esi + 0x8c]
cmp eax, ebx
jl 0x456a6c
add edi, ebx
cmp eax, edi
jg 0x456a6c
mov eax, 0xff
cmp word [esi + 0x16e], ax
jne 0x456a06
mov cx, word [esi + 0x28]
mov word [esi + 0x16e], cx
mov eax, dword [esi + 0xa4]
or dword [esi], 0x20000000
test eax, 0x400
je 0x456a3c
movzx ecx, word [esi + 0x16e]
test cx, cx
je 0x456a2f
dec ecx
mov word [esi + 0x16e], cx
jmp 0x456a50
or eax, 0x10000000
mov dword [esi + 0xa4], eax
jmp 0x456a50
movzx eax, word [esi + 0x16e]
cmp eax, 4
jbe 0x456a50
dec eax
mov word [esi + 0x16e], ax
mov dx, word [esi + 0x16e]
or dword [esi + 0xa4], 0x2000
pop edi
pop ebx
mov word [esi + 0x28], dx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xff
mov word [esi + 0x16e], ax
test dword [esi + 0xa4], 0x2000
je 0x456aa8
mov eax, dword [esi]
test eax, 0x20000000
je 0x456aa8
inc word [esi + 0x28]
cmp word [esi + 0x28], 0x10
jl 0x456aa8
mov ecx, 0x10
and eax, 0xdfffffff
mov word [esi + 0x28], cx
mov dword [esi], eax
cmp dword [ebp - 8], 0
je 0x456ac1
mov edx, dword [esi + 0x6c]
mov eax, dword [ebp + 0xc]
push 2
push edx
push eax
push ebx
call fcn.0042fee0
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret