Function at 0x4470ce
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0044cc70
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 0x447109
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x447102
mov dword [eax], 0x63
xor eax, eax
jmp 0x4474f2
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x447114
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
push esi
jne 0x447124
push 0x10
pop eax
jmp 0x447408
mov ecx, dword [ebp + 0xc]
test cx, 0x800
mov dword [eax], edi
je 0x447134
push 0x20
jmp 0x44711e
test ecx, 0xff838580
je 0x447140
push 0x11
jmp 0x44711e
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jne 0x447151
mov dword [ebp + 0x1c], 0x45aa48
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 0x4471be
cmp eax, 0x100000
je 0x4471ba
cmp eax, 0x200000
je 0x4471be
cmp eax, 0x300000
je 0x447197
cmp eax, 0x400000
je 0x4471c3
push 0x38
jmp 0x44711e
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x24], edi
jle 0x4471c8
mov edx, eax
sar edx, 8
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
jmp 0x4471ce
push 0xd
jmp 0x4471c0
push 0xa
pop eax
jmp 0x44719c
mov dword [ebp - 0x24], edx
jmp 0x4471ce
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 0x4471f7
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.00446c95
mov eax, dword [ebp - 4]
add esp, 0x30
cmp eax, edi
jne 0x447408
mov eax, dword [ebp - 0xc]
cmp eax, 0x10000
jle 0x447268
push 0x14
jmp 0x44711e
mov ecx, dword [ebp - 0x40]
add ecx, 3
imul ecx, dword [ebp - 0x44]
lea ebx, [ecx + eax + 0x28]
push ebx
call dword [0x465148]
mov esi, eax
cmp esi, edi
pop ecx
jne 0x44728b
push 0x15
jmp 0x44711e
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, 0x45aa48
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.00446c95
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 0x447358
or dword [esi + 8], 0x80000000
cmp dword [ebp - 4], edi
jne 0x44736c
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x44736c
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 0x4473dc
mov dword [ebp - 4], 0x17
jmp 0x4473dc
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x106c]
cmp eax, ecx
jbe 0x4473ec
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.004447ed
cmp eax, edi
pop ecx
pop ecx
je 0x4473e3
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 0x447383
jmp 0x4473fd
mov dword [ebp - 4], 0x35
jmp 0x4473fd
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x44742f
mov dword [ebp - 4], 0xf
push esi
call dword [0x46514c]
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 + 0x465060]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x447428
mov dword [ecx], eax
xor eax, eax
jmp 0x4474f1
mov eax, dword [esi + 8]
test al, 0x10
jne 0x4474ad
push dword [ebp - 0x34]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00446eb9
add esp, 0x10
test eax, eax
je 0x447454
or dword [esi + 8], 0x10
jmp 0x4474ad
mov eax, dword [ebp - 0x18]
cmp eax, edi
jge 0x44746d
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.0044701f
add esp, 0xc
cmp eax, edi
jl 0x447495
mov ecx, eax
and ecx, 0xff
test ax, 0x100
je 0x447488
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x447488
mov eax, ecx
or dword [esi + 8], 0x40000000
mov word [esi + 0x14], ax
jmp 0x4474ad
push dword [ebp - 0x34]
push edi
push ebx
call fcn.00446f7a
add esp, 0xc
test eax, eax
je 0x4474ad
or dword [esi + 8], 0x10000000
mov edx, dword [ebp - 0x14]
cmp edx, edi
jl 0x4474ef
mov ecx, dword [esi + 8]
test cl, 0x10
je 0x4474c3
test dx, 0x200
je 0x4474ef
mov eax, edx
and eax, 0xff
test dx, 0x100
je 0x4474e2
mov edi, dword [ebp - 0x68]
movzx edi, byte [edi + eax]
cmp edi, eax
jne 0x4474e2
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