Function at 0x7af7ec
Capabilities:
Inspect section memory permissions

Disassembly:
push edi
push ebp
sub esp, 0x1c
mov ebp, ecx
mov eax, dword [ebp + 0x74]
mov edi, dword [eax + 0x94]
mov edx, dword [ebp + 0x78]
mov eax, dword [edx + 0x94]
add edi, 0x38
add eax, 0x38
push eax
push edi
call fcn.007a9180
add esp, 8
mov eax, dword [ebp + 0x84]
fstp dword [ebp + 0x58]
test eax, eax
je 0x7af83a
mov eax, dword [ebp + 0x74]
movzx edx, word [eax + 0x8a]
push edx
mov ecx, dword [ebp + 0x78]
push dword [ebp + 0x38]
call fcn.007afc68
jmp 0x7af845
push dword [ebp + 0x38]
mov ecx, dword [ebp + 0x78]
call fcn.007afc2c
mov ecx, dword [ebp + 0x78]
call fcn.007af694
mov edx, dword [ebp + 0x78]
mov eax, dword [edx + 0x94]
fld dword [ebp + 0xdc]
fsub dword [eax + 0x38]
fld dword [ebp + 0xe4]
fsub dword [eax + 0x40]
fpatan
fmul qword [0x97dcd0]
fdiv qword [0x97dcc8]
fnstcw word [esp]
movzx eax, word [esp]
or eax, 0xc00
mov dword [esp + 8], eax
fldcw word [esp + 8]
fistp dword [edx + 0x98]
fldcw word [esp]
mov edi, dword [ebp + 0x78]
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x7af9a3
mov eax, dword [edi + 0x94]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov eax, dword [eax + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [edi + 0xa8]
mov edx, dword [edi + 0x98]
mov dword [eax + 0x60], edx
mov edx, dword [0xaae168]
mov eax, dword [0xaae164]
add eax, edx
add eax, dword [0xaae160]
cmp edx, eax
jge 0x7afc03
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov esi, edx
mov ebx, dword [esi*4 + 0xaad720]
test ebx, ebx
je 0x7af98d
mov edx, dword [ebx + 0x30]
test edx, 0x80000000
jne 0x7af98d
push 0x461c4000
push ebx
mov ecx, dword [edi + 0xa8]
call fcn.007b65b4
mov edx, eax
test edx, edx
je 0x7afbed
mov eax, dword [ebx + 0x30]
test eax, 0x40000000
je 0x7af954
mov eax, dword [edx + 0x18]
test eax, 0x308
je 0x7afb55
mov eax, dword [0xaae168]
add eax, dword [0xaae164]
add eax, dword [0xaae160]
jmp 0x7af98d
test eax, 0x20000000
je 0x7af97c
mov eax, dword [edx + 0x18]
test eax, 0x308
je 0x7afc0b
mov eax, dword [0xaae168]
add eax, dword [0xaae164]
add eax, dword [0xaae160]
jmp 0x7af98d
mov eax, dword [0xaae168]
add eax, dword [0xaae164]
add eax, dword [0xaae160]
add esi, 1
cmp esi, eax
jl 0x7af8f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [ebp + 0x78]
mov ecx, edi
call fcn.007affc4
test eax, eax
jne 0x7af9b6
mov ecx, dword [ebp + 0x78]
jmp 0x7afac3
mov ecx, dword [ebp + 0x78]
mov eax, dword [ecx + 0x90]
test al, 0x40
je 0x7af9f7
mov edx, dword [ebp + 0x24]
xor eax, eax
mov word [ebp + 0x5c], ax
cmp edx, 0xe
jne 0x7af9d9
mov ecx, dword [ebp + 0x78]
jmp 0x7afac3
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
mov dword [ebp + 0x24], 0xe
or eax, 4
mov dword [ebp + 0x80], eax
jmp 0x7afac3
test eax, 0x80
je 0x7afa32
mov edx, dword [ebp + 0x24]
xor eax, eax
mov word [ebp + 0x5c], ax
cmp edx, 0xf
jne 0x7afa14
mov ecx, dword [ebp + 0x78]
jmp 0x7afac3
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
mov dword [ebp + 0x24], 0xf
or eax, 4
mov dword [ebp + 0x80], eax
jmp 0x7afac3
test eax, 0x200
je 0x7afa97
mov eax, dword [ebp + 0x7c]
cmp eax, 8
je 0x7afac3
mov eax, dword [ebp + 0x80]
test eax, 0x10000
je 0x7afa5f
and eax, 0xfffeffff
mov dword [ebp + 0x80], eax
jmp 0x7afac3
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x7afac3
mov edx, dword [ebp + 0x24]
xor eax, eax
mov word [ebp + 0x5c], ax
cmp edx, 0x11
jne 0x7afa7c
mov ecx, dword [ebp + 0x78]
jmp 0x7afac3
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
mov dword [ebp + 0x24], 0x11
or eax, 4
mov dword [ebp + 0x80], eax
jmp 0x7afac3
mov edx, dword [ebp + 0x24]
xor eax, eax
mov word [ebp + 0x5c], ax
cmp edx, 0x10
jne 0x7afaaa
mov ecx, dword [ebp + 0x78]
jmp 0x7afac3
mov eax, dword [ebp + 0x80]
mov ecx, dword [ebp + 0x78]
mov dword [ebp + 0x24], 0x10
or eax, 4
mov dword [ebp + 0x80], eax
call fcn.007af628
test eax, eax
jne 0x7afb1d
mov eax, dword [ebp + 0x7c]
cmp eax, 1
jne 0x7afb4f
mov eax, dword [ebp + 0x78]
mov edx, dword [eax + 0x8c]
test edx, 0x80
je 0x7afaf5
xor eax, eax
mov byte [ebp + 0x8c], al
mov byte [ebp + 0x8d], al
jmp 0x7afb4f
movzx eax, byte [ebp + 0x8d]
add byte [ebp + 0x8c], 1
add eax, 1
movsx edx, al
mov edi, 0x1e
cmp edx, 0x1e
jl 0x7afb15
mov edx, edi
mov byte [ebp + 0x8d], dl
jmp 0x7afb4f
mov edi, dword [ebp + 0x78]
mov ecx, dword [edi + 0x94]
mov eax, dword [ecx + 0x44]
mov dword [edi + 0x9c], eax
mov edx, dword [ecx + 0x48]
mov dword [edi + 0xa0], edx
mov eax, dword [ecx + 0x4c]
mov dword [edi + 0xa4], eax
xor eax, eax
mov byte [ebp + 0x8c], al
mov byte [ebp + 0x8d], al
add esp, 0x1c
pop ebp
pop edi
ret
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov eax, edx
mov edx, dword [eax]
mov dword [edi + 0xd8], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
mov dword [edi + 0xdc], edx
mov edx, dword [eax + 8]
mov dword [edi + 0xe0], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xe4], edx
mov edx, dword [eax + 0x10]
mov dword [edi + 0xe8], edx
mov edx, dword [eax + 0x14]
mov dword [edi + 0xec], edx
mov edx, dword [eax + 0x18]
mov dword [edi + 0xf0], edx
mov edx, dword [eax + 0x1c]
mov dword [edi + 0xf4], edx
mov edx, dword [eax + 0x20]
mov dword [edi + 0xf8], edx
mov edx, dword [eax + 0x24]
mov dword [edi + 0xfc], edx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x100], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x60]
mov dword [edi + 0x104], eax
mov eax, dword [edi + 0x8c]
or eax, 0x20
mov dword [edi + 0x8c], eax
mov edi, dword [ebp + 0x78]
jmp 0x7af9a3
mov eax, dword [0xaae168]
add eax, dword [0xaae164]
add eax, dword [0xaae160]
jmp 0x7af98d
mov edi, dword [ebp + 0x78]
jmp 0x7af9a3
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x8c]
or eax, 0x80
mov dword [edi + 0x8c], eax
mov edi, dword [ebp + 0x78]
jmp 0x7af9a3