Function at 0x456d20
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 0x456d47
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe0]
push ecx
push eax
call fcn.00462440
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
call fcn.0040e810
mov ebx, 0x20000000
mov edi, eax
test ebx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
je 0x456f54
mov edx, dword [esi + 0xa4]
and edx, 0xdfffffff
or edx, 0x400000
push esi
mov dword [esi + 0xa4], edx
call fcn.00589550
add esp, 4
test dword [esi], 0x8000000
je 0x456d9e
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
cmp dword [esi + 0xbc], 0
je 0x456db1
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x456dd1
push eax
call fcn.004416f0
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 0x456dfa
or dword [esi + 0xe0], 0x80000000
jmp 0x456e0c
test ecx, 0x800
je 0x456e0c
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 0x456ed1
dec ecx
je 0x456e55
sub ecx, 2
jne 0x456f2d
or eax, 0x4000000
mov dword [esi], eax
mov dword [esi + 0xe0], ebx
jmp 0x456f2d
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 0x456e7c
push ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
push eax
jmp 0x456e84
push eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
push ecx
call fcn.0048a7d0
add esp, 8
cmp dword [esi + 0xc4], 0
mov dword [esi + 0x6c], eax
je 0x456ea5
call fcn.0048a670
and eax, 1
mov dword [esi + 0x68], eax
jmp 0x456eb2
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 0x456f2d
mov dword [esi + 0x64], pe_nt_image_headers32
jmp 0x456f2d
mov edx, dword [edi + 0xe1ba]
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.00451860
add esp, 8
test eax, eax
je 0x456f26
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 0x456f2d
mov dword [esi + 0x50], 0xffffffff
mov eax, dword [esi + 0xa4]
test eax, 0x2000
je 0x456f49
and eax, 0xffffdfff
mov dword [esi + 0xa4], eax
push 1
jmp 0x456f4b
push 0
push esi
call fcn.00462380
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.00441950
mov edi, eax
call fcn.00441960
test dword [esi + 0xe0], 0x40000000
je 0x456fed
sub eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 0x6a4
jle 0x456fa7
mov ecx, dword [0x5c1820]
jmp 0x456fb4
cmp eax, 0x4b0
jle 0x456fb4
mov ecx, dword [0x5c1824]
mov eax, edi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, 0xfffff830
sub edx, dword [0x5c1828]
sub edx, ecx
add eax, edx
cmp eax, 0x100
jle 0x456fed
or dword [esi + 0xa4], 0x10000000
push esi
call fcn.00464300
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 0x45704a
sub eax, edx
jne 0x4570da
mov ecx, dword [esi + 0x68]
mov dword [ebp - 8], edx
cmp ecx, edi
jne 0x45702d
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jl 0x457042
mov eax, ecx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
jmp 0x4570da
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
mov edx, dword [esi + 0x70]
cmp eax, edx
jg 0x457042
xor ecx, 1
mov eax, edx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
jmp 0x4570da
push 0x2000
call fcn.00426230
add esp, 4
test eax, eax
jne 0x4570da
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe1ba]
cmp dword [esi + 0xd0], eax
je 0x4570da
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.00451860
add esp, 8
cmp eax, edi
je 0x4570b9
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 0x4570c0
mov dword [esi + 0x2c], 0xffffffff
test dword [esi + 0xa4], 0x4000
je 0x4570d0
push 1
jmp 0x4570d1
push edi
push esi
call fcn.00462380
add esp, 8
test dword [esi + 0xa4], 0x800
je 0x4570f4
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x457108
mov edi, 0x10000
jmp 0x457108
mov eax, dword [ebp + 0xc]
push 0x6a0d00
push eax
push ebx
call fcn.0058b450
add esp, 0xc
mov edi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push 0x6a0d00
lea ecx, [esi + 4]
push ecx
push edi
push edx
push eax
push ebx
call fcn.0058b470
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x14c]
add esp, 0x18
test eax, eax
je 0x45713e
imul edi
shrd eax, edx, 0x10
sar edx, 0x10
mov edi, eax
cmp edi, 0xb000
jge 0x457149
and edi, 0xffffff80
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.00443930
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc8]
add esp, 4
test eax, eax
je 0x4571c5
jns 0x45719b
dec word [esi + 0xc8]
cmp word [esi + 0xc8], 0
jg 0x4571ce
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 0x4571ce
push esi
call fcn.00464300
add esp, 4
test eax, eax
je 0x4571ce
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 0x4571ce
push esi
call fcn.00464300
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.00452ce0
add esp, 0x10
test eax, eax
jne 0x457311
mov eax, dword [esi + 0xa4]
test eax, 0x10000000
jne 0x457311
test eax, 0x4000
je 0x4572c8
test eax, 0x800
jne 0x4572c8
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x6420b4]
jle 0x4572bc
call fcn.00441950
add ebx, dword [esi + 0x8c]
cmp eax, ebx
jl 0x4572bc
add edi, ebx
cmp eax, edi
jg 0x4572bc
mov eax, 0xff
cmp word [esi + 0x16e], ax
jne 0x457256
mov cx, word [esi + 0x28]
mov word [esi + 0x16e], cx
mov eax, dword [esi + 0xa4]
or dword [esi], 0x20000000
test eax, 0x400
je 0x45728c
movzx ecx, word [esi + 0x16e]
test cx, cx
je 0x45727f
dec ecx
mov word [esi + 0x16e], cx
jmp 0x4572a0
or eax, 0x10000000
mov dword [esi + 0xa4], eax
jmp 0x4572a0
movzx eax, word [esi + 0x16e]
cmp eax, 4
jbe 0x4572a0
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 0x4572f8
mov eax, dword [esi]
test eax, 0x20000000
je 0x4572f8
inc word [esi + 0x28]
cmp word [esi + 0x28], 0x10
jl 0x4572f8
mov ecx, 0x10
and eax, 0xdfffffff
mov word [esi + 0x28], cx
mov dword [esi], eax
cmp dword [ebp - 8], 0
je 0x457311
mov edx, dword [esi + 0x6c]
mov eax, dword [ebp + 0xc]
push 2
push edx
push eax
push ebx
call fcn.00430410
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret