Function at 0x49b287
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 0x49b2cc
push dword [ebp + 8]
call fcn.0049ddd5
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.0044f712
mov dword [ebp - 0x38], eax
push dword [ebp + 0x14]
call fcn.0042f7c7
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.0042f906
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 0x49b416
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 0x49b3f8
push dword [ebp - 0x34]
call fcn.00441fb9
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 0x49b416
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 0x49b4f0
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 [0x5795b4]
cmp eax, 0
je 0x49b484
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.0044eb95
jmp 0x49b489
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.0044eddb
mov eax, dword [ebp - 0x2c]
xor al, 1
cmp eax, 0
je 0x49b4b7
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49b4b7
jmp 0x49b4bb
xor eax, eax
jmp 0x49b4be
xor eax, eax
inc eax
cmp eax, 0
je 0x49b4d9
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.0049a7fb
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 0x49b43b
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49b51f
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.0048b2bb
mov eax, dword [ebp - 0x18]
leave
ret 0x10