Function at 0x4455ec
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0044b230
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
inc edx
cmp eax, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
jne 0x445627
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x445620
mov dword [eax], 0x63
xor eax, eax
jmp 0x445a10
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x445632
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
push esi
jne 0x445642
push 0x10
pop eax
jmp 0x445926
mov ecx, dword [ebp + 0xc]
test cx, 0x800
mov dword [eax], edi
je 0x445652
push 0x20
jmp 0x44563c
test ecx, 0xff838580
je 0x44565e
push 0x11
jmp 0x44563c
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jne 0x44566f
mov dword [ebp + 0x1c], 0x4589f0
mov eax, dword [ebp + 0x1c]
lea esi, [eax + 0x100]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
lea esi, [eax + 0x200]
add eax, 0x340
mov dword [ebp - 0x60], eax
mov eax, ecx
and eax, 0x700000
mov dword [ebp - 0x64], esi
je 0x4456dc
cmp eax, 0x100000
je 0x4456d8
cmp eax, 0x200000
je 0x4456dc
cmp eax, 0x300000
je 0x4456b5
cmp eax, 0x400000
je 0x4456e1
push 0x38
jmp 0x44563c
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x24], edi
jle 0x4456e6
mov edx, eax
sar edx, 8
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
jmp 0x4456ec
push 0xd
jmp 0x4456de
push 0xa
pop eax
jmp 0x4456ba
mov dword [ebp - 0x24], edx
jmp 0x4456ec
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x54], ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x445715
sub eax, esi
add eax, ebx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x106c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, ecx
and eax, 7
push eax
push ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x106c], 0x58
call fcn.004451b3
mov eax, dword [ebp - 4]
add esp, 0x30
cmp eax, edi
jne 0x445926
mov eax, dword [ebp - 0xc]
cmp eax, 0x10000
jle 0x445786
push 0x14
jmp 0x44563c
mov ecx, dword [ebp - 0x40]
add ecx, 3
imul ecx, dword [ebp - 0x44]
lea ebx, [ecx + eax + 0x28]
push ebx
call dword [0x461148]
mov esi, eax
cmp esi, edi
pop ecx
jne 0x4457a9
push 0x15
jmp 0x44563c
mov dword [esi + 4], ebx
mov dword [esi], 0x50435245
mov eax, dword [ebp - 0x30]
mov dword [esi + 8], eax
mov word [esi + 0x18], 0x28
mov dword [esi + 0xc], edi
mov word [esi + 0x14], di
mov word [esi + 0x16], di
mov ax, word [ebp - 0x40]
mov word [esi + 0x1a], ax
mov ax, word [ebp - 0x44]
mov word [esi + 0x1c], ax
mov eax, dword [ebp + 0x1c]
sub eax, 0x4589f0
neg eax
sbb eax, eax
and eax, dword [ebp + 0x1c]
mov word [esi + 0x1e], di
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
movzx eax, word [esi + 0x18]
add eax, esi
mov dword [ebp - 0x48], eax
movzx ecx, word [esi + 0x1a]
movzx ebx, word [esi + 0x1c]
imul ebx, ecx
push edi
lea ecx, [ebp - 0x6c]
push ecx
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
add ebx, eax
push edi
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], eax
mov byte [ebx], 0x58
mov eax, dword [esi + 8]
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
and ecx, 7
push ecx
push eax
mov dword [ebp - 8], ebx
call fcn.004451b3
mov ax, word [ebp - 0x3c]
mov word [esi + 0x10], ax
mov ax, word [ebp - 0x38]
add esp, 0x30
mov word [esi + 0x12], ax
cmp dword [ebp - 0x28], edi
je 0x445876
or dword [esi + 8], 0x80000000
cmp dword [ebp - 4], edi
jne 0x44588a
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x44588a
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 8]
mov byte [eax], 0
inc eax
sub eax, ebx
cmp eax, dword [ebp - 0xc]
jle 0x4458fa
mov dword [ebp - 4], 0x17
jmp 0x4458fa
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x106c]
cmp eax, ecx
jbe 0x44590a
dec eax
dec eax
mov dword [ebp - 0x4c], eax
xor ecx, ecx
mov ch, byte [eax]
xor edx, edx
mov cl, byte [eax + 1]
mov eax, ecx
lea ecx, [eax + ebx]
mov dh, byte [ecx]
lea eax, [eax + ebx + 1]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov dl, byte [eax]
mov eax, dword [esi + 8]
shr eax, 0xb
and eax, 1
push edx
push eax
mov eax, ebx
call fcn.00442d0b
cmp eax, edi
pop ecx
pop ecx
je 0x445901
mov edx, dword [ebp - 0xc]
mov ecx, eax
sub ecx, ebx
sar ecx, 8
mov byte [edx], cl
mov ecx, dword [ebp - 8]
sub al, bl
mov byte [ecx], al
cmp dword [ebp - 4], edi
je 0x4458a1
jmp 0x44591b
mov dword [ebp - 4], 0x35
jmp 0x44591b
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x44594d
mov dword [ebp - 4], 0xf
push esi
call dword [0x46114c]
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [eax*4 + 0x461060]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x445946
mov dword [ecx], eax
xor eax, eax
jmp 0x445a0f
mov eax, dword [esi + 8]
test al, 0x10
jne 0x4459cb
push dword [ebp - 0x34]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.004453d7
add esp, 0x10
test eax, eax
je 0x445972
or dword [esi + 8], 0x10
jmp 0x4459cb
mov eax, dword [ebp - 0x18]
cmp eax, edi
jge 0x44598b
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.0044553d
add esp, 0xc
cmp eax, edi
jl 0x4459b3
mov ecx, eax
and ecx, 0xff
test ax, 0x100
je 0x4459a6
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x4459a6
mov eax, ecx
or dword [esi + 8], 0x40000000
mov word [esi + 0x14], ax
jmp 0x4459cb
push dword [ebp - 0x34]
push edi
push ebx
call fcn.00445498
add esp, 0xc
test eax, eax
je 0x4459cb
or dword [esi + 8], 0x10000000
mov edx, dword [ebp - 0x14]
cmp edx, edi
jl 0x445a0d
mov ecx, dword [esi + 8]
test cl, 0x10
je 0x4459e1
test dx, 0x200
je 0x445a0d
mov eax, edx
and eax, 0xff
test dx, 0x100
je 0x445a00
mov edi, dword [ebp - 0x68]
movzx edi, byte [edi + eax]
cmp edi, eax
jne 0x445a00
and edx, 0xfffffeff
or ecx, 0x20000000
mov word [esi + 0x16], dx
mov dword [esi + 8], ecx
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret