Function at 0x6aab30
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x82f184]
xor eax, esp
mov dword [esp + 0x78], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov cl, byte [esi]
movzx eax, cl
mov ebx, dword [edi]
add eax, 0xffffffec
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
cmp eax, 0x98
ja case.0x6aab78.21
movzx eax, byte [eax + 0x6ab468]
jmp dword [eax*4 + 0x6ab444]
mov ecx, dword [edi + 4]
mov byte [esi], 0xa7
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x34]
dec word [esi + 0x20]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
jmp case.0x6aab78.21
xor edx, edx
mov ecx, edi
cmp edx, 8
jge 0x6aabb6
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + edx*4 + 0x48], eax
inc edx
test ecx, ecx
jne 0x6aaba2
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6aabc6
mov ecx, dword [esp + 0x14]
call fcn.006a9400
cmp byte [ebx + 0xdc], 2
jae 0x6ab2e9
mov ecx, dword [esi + 0xc]
call fcn.006af440
test eax, eax
jne 0x6ab2e9
mov eax, edi
nop word [eax + eax]
test dword [eax + 0x18], 0x100000
je 0x6ab2e9
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6aabf0
cmp byte [esi], 0x33
mov byte [esi], 0x9b
sete al
or dword [esi + 4], 0x800
mov dword [esi + 8], eax
xor edx, edx
nop dword [eax]
cmp edx, 8
jge 0x6aac34
mov eax, dword [esp + edx*4 + 0x48]
inc edx
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x6aac20
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6aac42
mov ecx, dword [ebx]
call fcn.006adb90
mov dword [esi + 0xc], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x6aac72
xor edx, edx
mov eax, esi
mov dword [esp + 0xc], edx
jmp 0x6aacf2
test byte [edi + 0x18], 0x28
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
je 0x6aac97
push esi
push 0
push str.the__.__operator
mov edx, edi
mov ecx, ebx
call fcn.006aaac0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
cmp byte [eax], 0x3b
jne 0x6aaca7
xor edx, edx
jmp 0x6aacb8
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp byte [ebx + 0xdc], 2
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
jb 0x6aacf2
push eax
mov edx, esi
mov ecx, ebx
call fcn.006b6710
add esp, 4
lea edx, [esi + 0x2c]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.006b6710
mov eax, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x10]
push esi
push edi
push eax
push dword [esp + 0x18]
mov ecx, ebx
call fcn.006a9af0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x6aad24
mov ecx, dword [eax]
jmp 0x6aad26
xor ecx, ecx
mov eax, dword [ebx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0
mov al, byte [eax + 0x54]
mov byte [esp + 0x2c], al
lea eax, [edi + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
and eax, 0x4001
mov dword [esp + 0x18], 0
test dword [esi + 4], 0x1000000
mov dword [esp + 0x28], eax
je 0x6aad73
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x10], 0xa6
jne 0x6aad79
xor edx, edx
mov dword [esp + 0x10], edx
mov eax, dword [esi + 8]
mov edx, eax
push 0
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [ebx]
call fcn.006c38f0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x6aadd6
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x30]
push 0xfffffffffffffffe
call fcn.006c38f0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x6aadc9
mov dword [esp + 0x20], 1
jmp 0x6aafa4
mov dword [esp + 0x38], 1
jmp 0x6aafa4
xor eax, eax
cmp dword [ecx + 0x14], eax
setne al
test dword [ecx + 4], 0x400
mov dword [esp + 0x18], eax
je 0x6aaeaa
or dword [esi + 4], 0x80000
cmp dword [esp + 0x30], 2
jne 0x6aae94
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [0x7e1700]
movsd qword [esp + 0x30], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x6aae20
or eax, 0xffffffff
jmp 0x6aae79
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x6aae2f
xor ecx, ecx
jmp 0x6aae47
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6aae34
mov eax, dword [esp + 0x24]
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.00675230
movsd xmm0, qword [esp + 0x38]
add esp, 8
comisd xmm0, xmmword [0x7e15a8]
jbe 0x6aae6d
or eax, 0xffffffff
jmp 0x6aae79
mulsd xmm0, qword [0x7e1640]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x6aaeaa
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.00674e90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6aaeaa
mov eax, dword [ecx + 0x20]
mov edx, 0x800000
mov ecx, 0x7800000
cmp byte [eax], 0x75
cmove ecx, edx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov edx, 0x1f
push 0
push dword [ecx + 0x20]
mov ecx, ebx
push 0
call fcn.006bb390
add esp, 0xc
test eax, eax
je 0x6aaef9
cmp eax, 1
jne 0x6aaedf
push esi
push str.not_authorized_to_use_function:__T
push ebx
call fcn.00674e90
add esp, 0xc
inc dword [edi + 0x14]
mov byte [esi], 0x79
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
test eax, 0x2800
je 0x6aaf11
or dword [esi + 4], 0x100000
mov eax, dword [edx + 4]
test eax, 0x800
jne 0x6aaf3b
mov eax, dword [esp + 0xc]
test byte [eax], 0x2a
je 0x6aaf55
push esi
push 0
push str.non_deterministic_functions
mov edx, edi
mov ecx, ebx
call fcn.006aaac0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x6aaf55
mov ecx, dword [esp + 0xc]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x6aaf55
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x6aaf7e
cmp byte [ebx + 0x12], 0
jne 0x6aaf7e
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x6aaf7e
xor edx, edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], edx
jmp 0x6aafa4
test ecx, 0x280000
je 0x6aafa4
cmp byte [ebx + 0xdc], 2
jae 0x6ab0c2
push edx
mov edx, esi
mov ecx, ebx
call fcn.006ad930
mov edx, dword [esp + 0x20]
add esp, 4
cmp byte [ebx + 0xdc], 2
jae 0x6ab0c2
mov eax, dword [esp + 0x10]
test edx, edx
je 0x6aafce
cmp dword [edx + 0x18], 0
jne 0x6aafce
test eax, eax
je 0x6aafce
push esi
push str._T___may_not_be_used_as_a_window_function
jmp 0x6ab05e
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x6ab037
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
test cl, 1
je 0x6aaffc
test dword [edx + 4], 0x10000
je 0x6aaff0
test eax, eax
je 0x6aaffc
jmp 0x6aaff4
test eax, eax
je 0x6ab033
test ecx, 0x4000
jne 0x6ab033
test dword [edx + 4], 0x10000
jne 0x6ab00e
test eax, eax
mov eax, str.aggregate
je 0x6ab013
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push ebx
call fcn.00674e90
add esp, 0x10
mov dword [esp + 0x18], 0
inc dword [edi + 0x14]
jmp 0x6ab0d9
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x20], 0
je 0x6ab051
mov eax, dword [ebx]
cmp byte [eax + 0xb1], 0
jne 0x6ab051
push esi
push str.no_such_function:__T
jmp 0x6ab05e
cmp dword [esp + 0x38], 0
je 0x6ab087
push esi
push str.wrong_number_of_arguments_to_function__T__
push ebx
call fcn.00674e90
inc dword [edi + 0x14]
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x6ab0d9
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
add eax, 0xffffbffe
and dword [ecx], eax
jmp 0x6ab0d9
test ecx, ecx
jne 0x6ab071
test dword [esi + 4], 0x1000000
je 0x6ab0a8
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.00674e90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6ab0d9
cmp dword [esi + 0xc], 0
je 0x6ab0d9
push esi
push str.ORDER_BY_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.00674e90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6ab0d9
test dword [esi + 4], 0x1000000
jne 0x6ab0d1
cmp dword [esi + 0xc], 0
je 0x6ab0d9
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.006a94b0
cmp dword [esp + 0x18], 0
je 0x6ab2e9
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6ab104
mov edx, dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.006a94b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6ab19d
cmp byte [ebx + 0xdc], 2
mov esi, dword [edi + 0x20]
jae 0x6ab143
test esi, esi
je 0x6ab125
mov edx, dword [esi + 0x48]
jmp 0x6ab127
xor edx, edx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.006fb930
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x57], 0
jne case.0x6aab78.21
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [ebx + 8]
call fcn.006a94b0
mov edx, dword [ebx + 0xc]
mov ecx, edi
call fcn.006a94b0
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x6ab16d
mov ecx, edi
call fcn.006a9400
mov edx, ebx
mov ecx, esi
call fcn.006fc930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
or dword [eax], 0x8000
or dword [eax], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x6ab1c0
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x6ab1c0
mov ecx, dword [esp + 0x14]
call fcn.006a9400
lea eax, [esp + 0x68]
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], eax
xorps xmm0, xmm0
mov eax, dword [ebx]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x14]
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x4c], 0x6b5270
mov dword [esp + 0x50], 0x6b5180
mov dword [esp + 0x54], 0x6b5240
test eax, eax
je 0x6ab23f
mov ebx, dword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x6ab23b
mov esi, eax
mov edx, dword [esi]
lea ecx, [esp + 0x48]
call fcn.006a94a0
test eax, eax
jne 0x6ab237
dec ebx
add esi, 0x14
test ebx, ebx
jg 0x6ab220
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6ab252
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x48]
call fcn.006a94b0
test dword [esi + 4], 0x1000000
je 0x6ab26e
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x6ab26e
lea ecx, [esp + 0x48]
call fcn.006a9400
mov edx, dword [esp + 0x78]
test edx, edx
je 0x6ab27d
mov ecx, dword [ebx]
call fcn.00671530
test byte [esp + 0x5c], 1
jne 0x6ab2be
cmp word [esp + 0x5c], 0
je 0x6ab2be
mov al, byte [edi + 0x1c]
inc al
add byte [esi + 2], al
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x6ab1c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
or dword [eax], ecx
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x6ab2df
mov al, byte [edi + 0x1c]
add byte [esi + 2], al
mov eax, dword [ecx + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [edi + 0x18], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
or dword [eax], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je case.0x6aab78.21
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
je 0x6ab32f
push esi
push esi
push str.subqueries
mov edx, edi
mov ecx, ebx
call fcn.006aaac0
add esp, 0xc
jmp 0x6ab33b
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.006a94f0
mov eax, dword [esp + 0x28]
cmp eax, dword [edi + 0x10]
je 0x6ab352
mov eax, dword [esi + 0x14]
or dword [esi + 4], 0x40
or dword [eax + 4], 0x20000000
or dword [edi + 0x18], 0x40
jmp case.0x6aab78.21
test byte [edi + 0x18], 0x2e
je case.0x6aab78.21
push esi
push esi
push str.parameters
mov edx, edi
mov ecx, ebx
call fcn.006aaac0
add esp, 0xc
jmp case.0x6aab78.21
mov ecx, dword [esi + 0x10]
call fcn.006ac7a0
mov edi, eax
test edi, edi
je case.0x6aab78.48
mov al, byte [edi]
cmp al, 0x3b
je 0x6ab395
cmp al, 0xaa
jne case.0x6aab78.48
push edi
push edx
call fcn.006aab30
add esp, 8
cmp eax, 2
jne 0x6ab3b6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne case.0x6aab78.48
mov al, byte [esi]
mov byte [esi + 2], al
xor eax, eax
mov byte [esi], 0xaf
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne case.0x6aab78.21
mov ecx, dword [esi + 0xc]
call fcn.006acb80
cmp byte [esi], 0x30
mov edi, eax
jne 0x6ab402
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 8]
call fcn.006acb80
cmp eax, edi
jne 0x6ab40e
mov ecx, dword [edx + 0x1c]
jmp 0x6ab405
mov ecx, dword [esi + 0x10]
call fcn.006acb80
cmp edi, eax
je case.0x6aab78.21
push str.row_value_misused
push ebx
call fcn.00674e90
mov ecx, dword [ebx]
add esp, 8
mov edx, esi
call fcn.00673600
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x84]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
and eax, 2
call fcn.0076d59e
mov esp, ebp
pop ebp
ret