Function at 0x4490c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [0x58bba0]
mov cl, byte [0x4a8cb7]
shl eax, 4
sub esp, 0x24
mov dword [0x4a8d40], eax
add eax, 0x10
push ebx
mov dword [0x4ce420], eax
push ebp
mov eax, 7
push esi
push edi
test cl, cl
mov dword [0x4e9d20], eax
je 0x449152
test byte [0x4d9cfc], 0x10
je 0x449152
push 0x4b8de0
call fcn.00467178
mov al, byte [0x4ce42f]
add esp, 4
cmp al, 2
jne 0x449116
call fcn.00448e20
jmp 0x449126
cmp al, 5
jne 0x449121
call fcn.00448af0
jmp 0x449126
call fcn.00448c80
push 0x4b8de0
call fcn.00467199
mov eax, dword [0x4a1e98]
mov ecx, dword [0x4e9d20]
add esp, 4
push eax
push ecx
call fcn.0042e9b0
mov eax, 6
add esp, 8
mov dword [0x4e9d20], eax
test eax, eax
jl 0x4497c9
mov cl, byte [eax + 0x4a8cb0]
test cl, cl
je 0x4497a8
test byte [eax*4 + 0x4d9ce0], 0x10
je 0x449185
mov al, byte [eax + 0x4ce428]
cmp al, 2
je 0x449180
cmp al, 3
jne 0x449185
call fcn.00448f80
mov eax, dword [0x4e9d20]
mov edi, dword [0x4a1e94]
mov edx, eax
mov esi, 1
mov ecx, dword [eax*4 + 0x4a8d00]
mov dword [esp + 0x30], esi
shl edx, 0xa
add edx, 0x20
inc edi
cmp edi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
jle 0x4497a8
lea edi, [ecx + 0x10]
lea edx, [edx*4 + 0x4d1c84]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edx
jmp 0x4491d2
mov esi, 1
mov edx, dword [esp + 0x10]
mov ebp, dword [eax*4 + 0x4a8d20]
cmp edx, 0x10
jl 0x4495ff
mov edx, dword [0x58bb98]
add edx, 0xffffffe0
cmp ecx, edx
jg 0x4495ff
mov edi, ecx
mov edx, dword [0x58bba4]
imul edi, dword [0x58bba0]
add edi, ebp
add edi, edx
test ebp, ebp
jge 0x449374
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov ebx, esi
and ebx, 0xf0000000
and esi, 0xffff
mov dword [esp + 0x18], ebx
je 0x449360
test ebx, ebx
je 0x449360
cmp esi, 0xffff
je 0x449360
test ebx, 0x80000000
je 0x449269
mov eax, esi
push edi
shl eax, 4
mov edx, esi
push ecx
mov ecx, dword [eax + 0x4b0d80]
push ebp
shl edx, 5
push ecx
call dword [edx + 0x4b9e44]
add esp, 0x10
test ebx, 0x20000000
je 0x44929a
mov eax, dword [0x4a8d40]
mov edx, esi
shl edx, 5
lea ecx, [edi + eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esi
shl ecx, 4
push eax
push ebp
mov eax, dword [ecx + 0x4b0d88]
push eax
call dword [edx + 0x4b9e54]
add esp, 0x10
lea ebx, [ebp + 0x10]
test ebx, ebx
jge 0x449304
test dword [esp + 0x18], 0x40000000
je 0x4492cf
mov eax, dword [esp + 0x14]
lea edx, [edi + 0x10]
push edx
mov edx, esi
shl edx, 4
mov ecx, esi
push eax
mov eax, dword [edx + 0x4b0d84]
push ebx
shl ecx, 5
push eax
call dword [ecx + 0x4b9e4c]
add esp, 0x10
test dword [esp + 0x18], 0x10000000
je 0x449360
mov edx, dword [0x4ce420]
mov ecx, esi
shl esi, 4
lea eax, [edi + edx]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x4b0d8c]
push edx
push ebx
shl ecx, 5
push eax
call dword [ecx + 0x4b9e5c]
jmp 0x44935d
mov ebx, dword [esp + 0x18]
test ebx, 0x40000000
je 0x449332
mov eax, esi
lea edx, [edi + 0x10]
shl eax, 4
mov ecx, esi
push edx
mov edx, dword [eax + 0x4b0d84]
push 0
shl ecx, 5
push 0
push edx
call dword [ecx + 0x4b9e48]
add esp, 0x10
test ebx, 0x10000000
je 0x449360
mov ecx, dword [0x4ce420]
mov eax, esi
shl esi, 4
lea edx, [edi + ecx]
mov ecx, dword [esi + 0x4b0d8c]
push edx
push 0
push 0
shl eax, 5
push ecx
call dword [eax + 0x4b9e58]
add esp, 0x10
mov ecx, dword [esp + 0x14]
add ebp, 0x20
add edi, 0x20
mov dword [esp + 0x1c], 2
jmp 0x449378
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4a1e8c]
cmp eax, edx
jge 0x4494cb
lea edx, [edi + 0x10]
lea ebx, [ebp + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
add edx, eax
lea eax, [edx*4 + 0x4d1c80]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2c]
mov esi, dword [edx]
mov eax, esi
and eax, 0xf0000000
and esi, 0xffff
mov dword [esp + 0x18], eax
je 0x449491
test eax, eax
je 0x449491
cmp esi, 0xffff
je 0x449491
test eax, 0x80000000
je 0x4493fe
push edi
push ecx
mov ecx, esi
mov eax, esi
shl ecx, 4
shl eax, 5
mov edx, dword [ecx + 0x4b0d80]
push ebp
push edx
call dword [eax + 0x4b9e40]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x40000000
je 0x44942e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, esi
shl ecx, 4
mov eax, esi
push edx
mov edx, dword [ecx + 0x4b0d84]
push ebx
shl eax, 5
push edx
call dword [eax + 0x4b9e48]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x20000000
je 0x449463
mov ecx, dword [0x4a8d40]
mov eax, esi
shl eax, 5
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x10]
push edx
mov edx, esi
shl edx, 4
push ecx
push ebp
mov ecx, dword [edx + 0x4b0d88]
push ecx
call dword [eax + 0x4b9e50]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x10000000
je 0x449491
mov eax, dword [0x4ce420]
mov edx, esi
shl esi, 4
lea ecx, [edi + eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x4b0d8c]
push eax
push ebx
shl edx, 5
push ecx
call dword [edx + 0x4b9e58]
add esp, 0x10
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add eax, 0x20
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add edx, 4
add ebp, 0x20
add ebx, 0x20
add edi, 0x20
mov dword [esp + 0x2c], edx
mov edx, dword [0x4a1e8c]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x4493a5
cmp ebp, dword [0x58bb9c]
jge 0x4495c4
mov eax, dword [esp + 0x20]
add eax, edx
mov esi, dword [eax*4 + 0x4d1c80]
mov ebx, esi
and ebx, 0xf0000000
and esi, 0xffff
je 0x4495c4
test ebx, ebx
je 0x4495c4
cmp esi, 0xffff
je 0x4495c4
test ebx, 0x80000000
je 0x449531
mov eax, esi
push edi
shl eax, 4
mov edx, esi
push ecx
mov ecx, dword [eax + 0x4b0d80]
push ebp
shl edx, 5
push ecx
call dword [edx + 0x4b9e44]
add esp, 0x10
test ebx, 0x40000000
je 0x449560
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x10]
push eax
push ecx
mov ecx, esi
lea eax, [ebp + 0x10]
shl ecx, 4
mov edx, esi
push eax
mov eax, dword [ecx + 0x4b0d84]
shl edx, 5
push eax
call dword [edx + 0x4b9e4c]
add esp, 0x10
test ebx, 0x20000000
je 0x449592
mov edx, dword [0x4a8d40]
mov ecx, esi
shl ecx, 5
lea eax, [edi + edx]
mov edx, dword [esp + 0x10]
push eax
mov eax, esi
shl eax, 4
push edx
push ebp
mov edx, dword [eax + 0x4b0d88]
push edx
call dword [ecx + 0x4b9e54]
add esp, 0x10
test ebx, 0x10000000
je 0x4495c4
mov ecx, dword [0x4ce420]
mov edx, dword [esp + 0x10]
mov eax, esi
add edi, ecx
shl esi, 4
push edi
add ebp, 0x10
mov ecx, dword [esi + 0x4b0d8c]
push edx
shl eax, 5
push ebp
push ecx
call dword [eax + 0x4b9e5c]
add esp, 0x10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, 0x20
add edi, 0x80
add ebx, eax
add ecx, eax
add edx, eax
mov eax, dword [0x4e9d20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jmp 0x449790
mov edi, ecx
mov edx, dword [0x58bba4]
imul edi, dword [0x58bba0]
add edi, ebp
mov dword [esp + 0x1c], esi
add edi, edx
mov edx, dword [0x4a1e8c]
inc edx
cmp edx, esi
jle 0x449763
mov edx, dword [esp + 0x24]
lea eax, [edi + 0x10]
lea ebx, [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov eax, esi
and eax, 0xf0000000
and esi, 0xffff
mov dword [esp + 0x18], eax
je 0x449723
test eax, eax
je 0x449723
cmp esi, 0xffff
je 0x449723
test eax, 0x80000000
je 0x449690
mov eax, esi
push edi
shl eax, 4
mov edx, esi
push ecx
mov ecx, dword [eax + 0x4b0d80]
push ebp
shl edx, 5
push ecx
call dword [edx + 0x4b9e44]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x40000000
je 0x4496c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, esi
shl eax, 4
mov edx, esi
push ecx
mov ecx, dword [eax + 0x4b0d84]
push ebx
shl edx, 5
push ecx
call dword [edx + 0x4b9e4c]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x20000000
je 0x4496f4
mov eax, dword [0x4a8d40]
mov edx, esi
shl edx, 5
lea ecx, [edi + eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esi
shl ecx, 4
push eax
push ebp
mov eax, dword [ecx + 0x4b0d88]
push eax
call dword [edx + 0x4b9e54]
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, 0x10000000
je 0x449723
mov edx, dword [0x4ce420]
mov ecx, esi
shl esi, 4
lea eax, [edi + edx]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x4b0d8c]
push edx
push ebx
shl ecx, 5
push eax
call dword [ecx + 0x4b9e5c]
add esp, 0x10
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov ecx, dword [0x4a1e8c]
add ebp, 0x20
add ebx, 0x20
add edi, 0x20
add edx, 0x20
inc eax
add esi, 4
inc ecx
mov dword [esp + 0x2c], edx
cmp eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jl 0x449637
mov eax, dword [0x4e9d20]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov edx, 0x20
add ebp, edx
add ebx, 0x80
add ecx, edx
add esi, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x30]
mov esi, dword [0x4a1e94]
inc edx
inc esi
cmp edx, esi
mov dword [esp + 0x30], edx
jl 0x4491cd
mov edx, dword [0x4a1e98]
push edx
push eax
call fcn.0042e9b0
mov eax, dword [0x4e9d20]
add esp, 8
dec eax
mov dword [0x4e9d20], eax
jns 0x44915a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret