Function at 0x456d70
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 0x456d97
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe0]
push ecx
push eax
call fcn.00462470
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
call fcn.0040eae0
mov ebx, 0x20000000
mov edi, eax
test ebx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
je 0x456fa4
mov edx, dword [esi + 0xa4]
and edx, 0xdfffffff
or edx, 0x400000
push esi
mov dword [esi + 0xa4], edx
call fcn.00588e90
add esp, 4
test dword [esi], 0x8000000
je 0x456dee
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
cmp dword [esi + 0xbc], 0
je 0x456e01
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x456e21
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 0x456e4a
or dword [esi + 0xe0], 0x80000000
jmp 0x456e5c
test ecx, 0x800
je 0x456e5c
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 0x456f21
dec ecx
je 0x456ea5
sub ecx, 2
jne 0x456f7d
or eax, 0x4000000
mov dword [esi], eax
mov dword [esi + 0xe0], ebx
jmp 0x456f7d
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 0x456ecc
push ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
push eax
jmp 0x456ed4
push eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
push ecx
call fcn.0048ad20
add esp, 8
cmp dword [esi + 0xc4], 0
mov dword [esi + 0x6c], eax
je 0x456ef5
call fcn.0048abc0
and eax, 1
mov dword [esi + 0x68], eax
jmp 0x456f02
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 0x456f7d
mov dword [esi + 0x64], pe_nt_image_headers32
jmp 0x456f7d
mov edx, dword [edi + 0xb2d0]
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.00451890
add esp, 8
test eax, eax
je 0x456f76
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 0x456f7d
mov dword [esi + 0x50], 0xffffffff
mov eax, dword [esi + 0xa4]
test eax, 0x2000
je 0x456f99
and eax, 0xffffdfff
mov dword [esi + 0xa4], eax
push 1
jmp 0x456f9b
push 0
push esi
call fcn.004623b0
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 0x45703d
sub eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 0x6a4
jle 0x456ff7
mov ecx, dword [0x5c0820]
jmp 0x457004
cmp eax, 0x4b0
jle 0x457004
mov ecx, dword [0x5c0824]
mov eax, edi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, 0xfffff830
sub edx, dword [0x5c0828]
sub edx, ecx
add eax, edx
cmp eax, 0x100
jle 0x45703d
or dword [esi + 0xa4], 0x10000000
push esi
call fcn.00464330
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 0x45709a
sub eax, edx
jne 0x45712a
mov ecx, dword [esi + 0x68]
mov dword [ebp - 8], edx
cmp ecx, edi
jne 0x45707d
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jl 0x457092
mov eax, ecx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
jmp 0x45712a
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
mov edx, dword [esi + 0x70]
cmp eax, edx
jg 0x457092
xor ecx, 1
mov eax, edx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
jmp 0x45712a
push 0x2000
call fcn.00426050
add esp, 4
test eax, eax
jne 0x45712a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb2d0]
cmp dword [esi + 0xd0], eax
je 0x45712a
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.00451890
add esp, 8
cmp eax, edi
je 0x457109
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 0x457110
mov dword [esi + 0x2c], 0xffffffff
test dword [esi + 0xa4], 0x4000
je 0x457120
push 1
jmp 0x457121
push edi
push esi
call fcn.004623b0
add esp, 8
test dword [esi + 0xa4], 0x800
je 0x457144
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x457158
mov edi, 0x10000
jmp 0x457158
mov eax, dword [ebp + 0xc]
push 0x694460
push eax
push ebx
call fcn.0058ad90
add esp, 0xc
mov edi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push 0x694460
lea ecx, [esi + 4]
push ecx
push edi
push edx
push eax
push ebx
call fcn.0058adb0
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x14c]
add esp, 0x18
test eax, eax
je 0x45718e
imul edi
shrd eax, edx, 0x10
sar edx, 0x10
mov edi, eax
cmp edi, 0xb000
jge 0x457199
and edi, 0xffffff80
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.004439a0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc8]
add esp, 4
test eax, eax
je 0x457215
jns 0x4571eb
dec word [esi + 0xc8]
cmp word [esi + 0xc8], 0
jg 0x45721e
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 0x45721e
push esi
call fcn.00464330
add esp, 4
test eax, eax
je 0x45721e
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 0x45721e
push esi
call fcn.00464330
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.00452d30
add esp, 0x10
test eax, eax
jne 0x457361
mov eax, dword [esi + 0xa4]
test eax, 0x10000000
jne 0x457361
test eax, 0x4000
je 0x457318
test eax, 0x800
jne 0x457318
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x640ca4]
jle 0x45730c
call fcn.00441950
add ebx, dword [esi + 0x8c]
cmp eax, ebx
jl 0x45730c
add edi, ebx
cmp eax, edi
jg 0x45730c
mov eax, 0xff
cmp word [esi + 0x16e], ax
jne 0x4572a6
mov cx, word [esi + 0x28]
mov word [esi + 0x16e], cx
mov eax, dword [esi + 0xa4]
or dword [esi], 0x20000000
test eax, 0x400
je 0x4572dc
movzx ecx, word [esi + 0x16e]
test cx, cx
je 0x4572cf
dec ecx
mov word [esi + 0x16e], cx
jmp 0x4572f0
or eax, 0x10000000
mov dword [esi + 0xa4], eax
jmp 0x4572f0
movzx eax, word [esi + 0x16e]
cmp eax, 4
jbe 0x4572f0
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 0x457348
mov eax, dword [esi]
test eax, 0x20000000
je 0x457348
inc word [esi + 0x28]
cmp word [esi + 0x28], 0x10
jl 0x457348
mov ecx, 0x10
and eax, 0xdfffffff
mov word [esi + 0x28], cx
mov dword [esi], eax
cmp dword [ebp - 8], 0
je 0x457361
mov edx, dword [esi + 0x6c]
mov eax, dword [ebp + 0xc]
push 2
push edx
push eax
push ebx
call fcn.00430330
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret