Function at 0x6ab840
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 [0x831184]
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.0x6ab888.21
movzx eax, byte [eax + 0x6ac178]
jmp dword [eax*4 + 0x6ac154]
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.0x6ab888.21
xor edx, edx
mov ecx, edi
cmp edx, 8
jge 0x6ab8c6
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + edx*4 + 0x48], eax
inc edx
test ecx, ecx
jne 0x6ab8b2
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6ab8d6
mov ecx, dword [esp + 0x14]
call fcn.006aa110
cmp byte [ebx + 0xdc], 2
jae 0x6abff9
mov ecx, dword [esi + 0xc]
call fcn.006b0150
test eax, eax
jne 0x6abff9
mov eax, edi
nop word [eax + eax]
test dword [eax + 0x18], 0x100000
je 0x6abff9
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6ab900
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 0x6ab944
mov eax, dword [esp + edx*4 + 0x48]
inc edx
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x6ab930
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6ab952
mov ecx, dword [ebx]
call fcn.006ae8a0
mov dword [esi + 0xc], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x6ab982
xor edx, edx
mov eax, esi
mov dword [esp + 0xc], edx
jmp 0x6aba02
test byte [edi + 0x18], 0x28
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
je 0x6ab9a7
push esi
push 0
push str.the__.__operator
mov edx, edi
mov ecx, ebx
call fcn.006ab7d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
cmp byte [eax], 0x3b
jne 0x6ab9b7
xor edx, edx
jmp 0x6ab9c8
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 0x6aba02
push eax
mov edx, esi
mov ecx, ebx
call fcn.006b7420
add esp, 4
lea edx, [esi + 0x2c]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.006b7420
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.006aa800
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x6aba34
mov ecx, dword [eax]
jmp 0x6aba36
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 0x6aba83
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x10], 0xa6
jne 0x6aba89
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.006c4600
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x6abae6
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x30]
push 0xfffffffffffffffe
call fcn.006c4600
mov edx, eax
add esp, 0xc
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x6abad9
mov dword [esp + 0x20], 1
jmp 0x6abcb4
mov dword [esp + 0x38], 1
jmp 0x6abcb4
xor eax, eax
cmp dword [ecx + 0x14], eax
setne al
test dword [ecx + 4], 0x400
mov dword [esp + 0x18], eax
je 0x6abbba
or dword [esi + 4], 0x80000
cmp dword [esp + 0x30], 2
jne 0x6abba4
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [0x7e3770]
movsd qword [esp + 0x30], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x6abb30
or eax, 0xffffffff
jmp 0x6abb89
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x6abb3f
xor ecx, ecx
jmp 0x6abb57
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6abb44
mov eax, dword [esp + 0x24]
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.00675f30
movsd xmm0, qword [esp + 0x38]
add esp, 8
comisd xmm0, xmmword [0x7e3618]
jbe 0x6abb7d
or eax, 0xffffffff
jmp 0x6abb89
mulsd xmm0, qword [0x7e36b0]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x6abbba
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.00675b90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6abbba
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.006bc0a0
add esp, 0xc
test eax, eax
je 0x6abc09
cmp eax, 1
jne 0x6abbef
push esi
push str.not_authorized_to_use_function:__T
push ebx
call fcn.00675b90
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.0076eb7e
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
test eax, 0x2800
je 0x6abc21
or dword [esi + 4], 0x100000
mov eax, dword [edx + 4]
test eax, 0x800
jne 0x6abc4b
mov eax, dword [esp + 0xc]
test byte [eax], 0x2a
je 0x6abc65
push esi
push 0
push str.non_deterministic_functions
mov edx, edi
mov ecx, ebx
call fcn.006ab7d0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x6abc65
mov ecx, dword [esp + 0xc]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x6abc65
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x6abc8e
cmp byte [ebx + 0x12], 0
jne 0x6abc8e
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x6abc8e
xor edx, edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], edx
jmp 0x6abcb4
test ecx, 0x280000
je 0x6abcb4
cmp byte [ebx + 0xdc], 2
jae 0x6abdd2
push edx
mov edx, esi
mov ecx, ebx
call fcn.006ae640
mov edx, dword [esp + 0x20]
add esp, 4
cmp byte [ebx + 0xdc], 2
jae 0x6abdd2
mov eax, dword [esp + 0x10]
test edx, edx
je 0x6abcde
cmp dword [edx + 0x18], 0
jne 0x6abcde
test eax, eax
je 0x6abcde
push esi
push str._T___may_not_be_used_as_a_window_function
jmp 0x6abd6e
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x6abd47
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
test cl, 1
je 0x6abd0c
test dword [edx + 4], 0x10000
je 0x6abd00
test eax, eax
je 0x6abd0c
jmp 0x6abd04
test eax, eax
je 0x6abd43
test ecx, 0x4000
jne 0x6abd43
test dword [edx + 4], 0x10000
jne 0x6abd1e
test eax, eax
mov eax, str.aggregate
je 0x6abd23
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push ebx
call fcn.00675b90
add esp, 0x10
mov dword [esp + 0x18], 0
inc dword [edi + 0x14]
jmp 0x6abde9
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x20], 0
je 0x6abd61
mov eax, dword [ebx]
cmp byte [eax + 0xb1], 0
jne 0x6abd61
push esi
push str.no_such_function:__T
jmp 0x6abd6e
cmp dword [esp + 0x38], 0
je 0x6abd97
push esi
push str.wrong_number_of_arguments_to_function__T__
push ebx
call fcn.00675b90
inc dword [edi + 0x14]
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x6abde9
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
add eax, 0xffffbffe
and dword [ecx], eax
jmp 0x6abde9
test ecx, ecx
jne 0x6abd81
test dword [esi + 4], 0x1000000
je 0x6abdb8
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.00675b90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6abde9
cmp dword [esi + 0xc], 0
je 0x6abde9
push esi
push str.ORDER_BY_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.00675b90
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x6abde9
test dword [esi + 4], 0x1000000
jne 0x6abde1
cmp dword [esi + 0xc], 0
je 0x6abde9
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.006aa1c0
cmp dword [esp + 0x18], 0
je 0x6abff9
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6abe14
mov edx, dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.006aa1c0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6abead
cmp byte [ebx + 0xdc], 2
mov esi, dword [edi + 0x20]
jae 0x6abe53
test esi, esi
je 0x6abe35
mov edx, dword [esi + 0x48]
jmp 0x6abe37
xor edx, edx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.006fc660
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x57], 0
jne case.0x6ab888.21
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [ebx + 8]
call fcn.006aa1c0
mov edx, dword [ebx + 0xc]
mov ecx, edi
call fcn.006aa1c0
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x6abe7d
mov ecx, edi
call fcn.006aa110
mov edx, ebx
mov ecx, esi
call fcn.006fd660
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.0076eb7e
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x6abed0
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x6abed0
mov ecx, dword [esp + 0x14]
call fcn.006aa110
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], 0x6b5f80
mov dword [esp + 0x50], 0x6b5e90
mov dword [esp + 0x54], 0x6b5f50
test eax, eax
je 0x6abf4f
mov ebx, dword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x6abf4b
mov esi, eax
mov edx, dword [esi]
lea ecx, [esp + 0x48]
call fcn.006aa1b0
test eax, eax
jne 0x6abf47
dec ebx
add esi, 0x14
test ebx, ebx
jg 0x6abf30
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x6abf62
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x48]
call fcn.006aa1c0
test dword [esi + 4], 0x1000000
je 0x6abf7e
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x6abf7e
lea ecx, [esp + 0x48]
call fcn.006aa110
mov edx, dword [esp + 0x78]
test edx, edx
je 0x6abf8d
mov ecx, dword [ebx]
call fcn.00672230
test byte [esp + 0x5c], 1
jne 0x6abfce
cmp word [esp + 0x5c], 0
je 0x6abfce
mov al, byte [edi + 0x1c]
inc al
add byte [esi + 2], al
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x6abed0
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.0076eb7e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x6abfef
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.0076eb7e
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je case.0x6ab888.21
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
je 0x6ac03f
push esi
push esi
push str.subqueries
mov edx, edi
mov ecx, ebx
call fcn.006ab7d0
add esp, 0xc
jmp 0x6ac04b
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.006aa200
mov eax, dword [esp + 0x28]
cmp eax, dword [edi + 0x10]
je 0x6ac062
mov eax, dword [esi + 0x14]
or dword [esi + 4], 0x40
or dword [eax + 4], 0x20000000
or dword [edi + 0x18], 0x40
jmp case.0x6ab888.21
test byte [edi + 0x18], 0x2e
je case.0x6ab888.21
push esi
push esi
push str.parameters
mov edx, edi
mov ecx, ebx
call fcn.006ab7d0
add esp, 0xc
jmp case.0x6ab888.21
mov ecx, dword [esi + 0x10]
call fcn.006ad4b0
mov edi, eax
test edi, edi
je case.0x6ab888.48
mov al, byte [edi]
cmp al, 0x3b
je 0x6ac0a5
cmp al, 0xaa
jne case.0x6ab888.48
push edi
push edx
call fcn.006ab840
add esp, 8
cmp eax, 2
jne 0x6ac0c6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne case.0x6ab888.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.0076eb7e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne case.0x6ab888.21
mov ecx, dword [esi + 0xc]
call fcn.006ad890
cmp byte [esi], 0x30
mov edi, eax
jne 0x6ac112
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 8]
call fcn.006ad890
cmp eax, edi
jne 0x6ac11e
mov ecx, dword [edx + 0x1c]
jmp 0x6ac115
mov ecx, dword [esi + 0x10]
call fcn.006ad890
cmp edi, eax
je case.0x6ab888.21
push str.row_value_misused
push ebx
call fcn.00675b90
mov ecx, dword [ebx]
add esp, 8
mov edx, esi
call fcn.00674300
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.0076eb7e
mov esp, ebp
pop ebp
ret