Function at 0x445d22
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0044b8a0
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 0x445d5d
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x445d56
mov dword [eax], 0x63
xor eax, eax
jmp 0x446146
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x445d68
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
push esi
jne 0x445d78
push 0x10
pop eax
jmp 0x44605c
mov ecx, dword [ebp + 0xc]
test cx, 0x800
mov dword [eax], edi
je 0x445d88
push 0x20
jmp 0x445d72
test ecx, 0xff838580
je 0x445d94
push 0x11
jmp 0x445d72
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jne 0x445da5
mov dword [ebp + 0x1c], 0x459a38
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 0x445e12
cmp eax, 0x100000
je 0x445e0e
cmp eax, 0x200000
je 0x445e12
cmp eax, 0x300000
je 0x445deb
cmp eax, 0x400000
je 0x445e17
push 0x38
jmp 0x445d72
mov eax, 0xd0a
cmp eax, 0xff
mov dword [ebp - 0x24], edi
jle 0x445e1c
mov edx, eax
sar edx, 8
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
jmp 0x445e22
push 0xd
jmp 0x445e14
push 0xa
pop eax
jmp 0x445df0
mov dword [ebp - 0x24], edx
jmp 0x445e22
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 0x445e4b
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.004458e9
mov eax, dword [ebp - 4]
add esp, 0x30
cmp eax, edi
jne 0x44605c
mov eax, dword [ebp - 0xc]
cmp eax, 0x10000
jle 0x445ebc
push 0x14
jmp 0x445d72
mov ecx, dword [ebp - 0x40]
add ecx, 3
imul ecx, dword [ebp - 0x44]
lea ebx, [ecx + eax + 0x28]
push ebx
call dword [0x464148]
mov esi, eax
cmp esi, edi
pop ecx
jne 0x445edf
push 0x15
jmp 0x445d72
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, 0x459a38
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.004458e9
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 0x445fac
or dword [esi + 8], 0x80000000
cmp dword [ebp - 4], edi
jne 0x445fc0
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x445fc0
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 0x446030
mov dword [ebp - 4], 0x17
jmp 0x446030
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x106c]
cmp eax, ecx
jbe 0x446040
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.00443441
cmp eax, edi
pop ecx
pop ecx
je 0x446037
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 0x445fd7
jmp 0x446051
mov dword [ebp - 4], 0x35
jmp 0x446051
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x446083
mov dword [ebp - 4], 0xf
push esi
call dword [0x46414c]
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 + 0x464060]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x44607c
mov dword [ecx], eax
xor eax, eax
jmp 0x446145
mov eax, dword [esi + 8]
test al, 0x10
jne 0x446101
push dword [ebp - 0x34]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00445b0d
add esp, 0x10
test eax, eax
je 0x4460a8
or dword [esi + 8], 0x10
jmp 0x446101
mov eax, dword [ebp - 0x18]
cmp eax, edi
jge 0x4460c1
push edi
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00445c73
add esp, 0xc
cmp eax, edi
jl 0x4460e9
mov ecx, eax
and ecx, 0xff
test ax, 0x100
je 0x4460dc
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x4460dc
mov eax, ecx
or dword [esi + 8], 0x40000000
mov word [esi + 0x14], ax
jmp 0x446101
push dword [ebp - 0x34]
push edi
push ebx
call fcn.00445bce
add esp, 0xc
test eax, eax
je 0x446101
or dword [esi + 8], 0x10000000
mov edx, dword [ebp - 0x14]
cmp edx, edi
jl 0x446143
mov ecx, dword [esi + 8]
test cl, 0x10
je 0x446117
test dx, 0x200
je 0x446143
mov eax, edx
and eax, 0xff
test dx, 0x100
je 0x446136
mov edi, dword [ebp - 0x68]
movzx edi, byte [edi + eax]
cmp edi, eax
jne 0x446136
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