Function at 0x49af02
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x40
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
add eax, 8
mov edx, eax
mov eax, dword [ebp - 0x34]
shl eax, 2
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jbe 0x49af47
push dword [ebp + 8]
call fcn.0049da50
mov eax, dword [ebp - 0x20]
and eax, 0x40000000
cmp eax, 0
setne al
xor ah, ah
cwde
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
and eax, 0x20000000
cmp eax, 0
setne al
xor ah, ah
cwde
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
and eax, 0x10000000
cmp eax, 0
setne al
xor ah, ah
cwde
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
and eax, 0xc000000
sar eax, 0x1a
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
call fcn.0044f692
mov dword [ebp - 0x38], eax
push dword [ebp + 0x14]
call fcn.0042f734
mov dword [ebp - 0x10], eax
mov eax, 0x20
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x38]
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, 0xffffffff
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
add eax, 0x10
push eax
push dword [ebp - 0x10]
call fcn.0042f873
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
xor al, 1
cmp eax, 0
je 0x49b091
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49b073
push dword [ebp - 0x34]
call fcn.00441ef6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
jmp 0x49b091
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x34]
shl eax, 4
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp + 8], eax
mov eax, 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x34]
cmp eax, 0
jle 0x49b16b
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x10]
xchg edx, eax
shl eax, 2
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x57949c]
cmp eax, 0
je 0x49b0ff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 8]
mov edx, eax
mov eax, dword [ebp + 0x10]
xchg edx, eax
shl eax, 2
add eax, edx
push eax
pop edx
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
xchg edx, eax
add eax, edx
push eax
call fcn.0044eb15
jmp 0x49b104
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x44]
push dword [ebp - 0xc]
call fcn.0044ed5b
mov eax, dword [ebp - 0x2c]
xor al, 1
cmp eax, 0
je 0x49b132
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49b132
jmp 0x49b136
xor eax, eax
jmp 0x49b139
xor eax, eax
inc eax
cmp eax, 0
je 0x49b154
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.0049a476
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x48]
sub eax, 1
jg 0x49b0b6
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49b19a
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x34]
shl eax, 4
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
push 1
call fcn.0048af4d
mov eax, dword [ebp - 0x18]
leave
ret 0x10