Function at 0x49a20d
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 - 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.0044ecf0
mov dword [ebp - 0x38], eax
push dword [ebp + 0x10]
call fcn.0042f3b1
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.0042f4f0
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 0x49a38a
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 0x49a36c
push dword [ebp - 0x34]
call fcn.004415de
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 0x49a38a
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 0x49a461
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0xc]
xchg edx, eax
shl eax, 2
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x573b3c]
cmp eax, 0
je 0x49a3f8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
mov edx, eax
mov eax, dword [ebp + 0xc]
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.0044e173
jmp 0x49a3fd
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.0044e3b9
mov eax, dword [ebp - 0x2c]
xor al, 1
cmp eax, 0
je 0x49a42b
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49a42b
jmp 0x49a42f
xor eax, eax
jmp 0x49a432
xor eax, eax
inc eax
cmp eax, 0
je 0x49a44a
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.004998ca
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 0x49a3af
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x49a490
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.0048a839
mov eax, dword [ebp - 0x18]
leave
ret 0xc