Function at 0x49a80e
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 0x49a853
push dword [ebp + 8]
call fcn.0049d35c
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.0044eeae
mov dword [ebp - 0x38], eax
push dword [ebp + 0x14]
call fcn.0042f5d3
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.0042f712
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 0x49a99d
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 0x49a97f
push dword [ebp - 0x34]
call fcn.00441712
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 0x49a99d
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 0x49aa77
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 [0x577294]
cmp eax, 0
je 0x49aa0b
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.0044e331
jmp 0x49aa10
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.0044e577
mov eax, dword [ebp - 0x2c]
xor al, 1
cmp eax, 0
je 0x49aa3e
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49aa3e
jmp 0x49aa42
xor eax, eax
jmp 0x49aa45
xor eax, eax
inc eax
cmp eax, 0
je 0x49aa60
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.00499d82
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 0x49a9c2
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49aaa6
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.0048a859
mov eax, dword [ebp - 0x18]
leave
ret 0x10