Function at 0x4462c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4d8c08]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov cl, byte [esi]
mov edi, dword [edx + 0x18]
movzx eax, cl
mov ebx, dword [edi]
add eax, 0xffffffec
mov dword [ebp - 0x2c], edx
cmp eax, 0x97
ja case.0x4462fb.21
movzx eax, byte [eax + 0x446a50]
jmp dword [eax*4 + 0x446a2c]
mov ecx, dword [edi + 4]
mov byte [esi], 0xa6
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.0x4462fb.21
xor ecx, ecx
mov edx, edi
cmp ecx, 8
jge 0x446339
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ebp + ecx*4 - 0x24], eax
inc ecx
test edx, edx
jne 0x446325
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44634c
push eax
push dword [ebp - 0x2c]
call fcn.004958e0
add esp, 8
push dword [esi + 0xc]
call fcn.004577a0
add esp, 4
test eax, eax
jne 0x4463bd
cmp byte [ebx + 0xc8], 2
jae 0x4463bd
cmp byte [esi], 0x33
jne 0x446379
or dword [esi + 4], 0x10000000
mov dword [esi + 8], str.true
jmp 0x446387
or dword [esi + 4], 0x20000000
mov dword [esi + 8], str.false
mov byte [esi], 0xa9
xor ecx, ecx
lea esp, [esp]
cmp ecx, 8
jge 0x4463a4
mov eax, dword [ebp + ecx*4 - 0x24]
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
inc ecx
test edi, edi
jne 0x446390
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4463b6
push eax
push dword [ebx]
call fcn.0045a350
add esp, 8
mov dword [esi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x4463fe
mov edx, dword [esi + 8]
push esi
push edi
push edx
xor eax, eax
push eax
xor ecx, ecx
push ecx
push ebx
call fcn.0043a620
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
test byte [edi + 0x18], 0x28
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x4c], edx
je 0x44641e
push 0
push str.the__.__operator
push edi
push ebx
call fcn.0043d930
mov edx, dword [ebp - 0x4c]
add esp, 0x10
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x3b
jne 0x44642a
xor ecx, ecx
jmp 0x446433
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp byte [ebx + 0xc8], 2
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x2c]
jb 0x446467
push eax
push esi
push ebx
call fcn.0046c380
push edx
lea eax, [esi + 0x2c]
push eax
push ebx
call fcn.0046c380
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
push esi
push edi
push edx
push eax
push ecx
push ebx
call fcn.0043a620
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x44649d
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
jmp 0x4464a4
mov dword [ebp - 0x44], 0
mov eax, dword [ebx]
mov dword [ebp - 0x40], 0
mov al, byte [eax + 0x50]
mov byte [ebp - 0x50], al
lea eax, [edi + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
and eax, 0x4001
test dword [esi + 4], 0x1000000
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], eax
je 0x4464e6
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x38], eax
cmp byte [eax + 0x10], 0xa5
jne 0x4464eb
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 0x3c], eax
call fcn.00471c90
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push dword [ebx]
call fcn.0045ba70
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x28], edx
test edx, edx
jne 0x44654c
push eax
push dword [ebp - 0x50]
push 0xfffffffffffffffe
push dword [ebp - 0x3c]
push dword [ebx]
call fcn.0045ba70
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x446540
mov dword [ebp - 0x40], 1
jmp 0x446695
mov dword [ebp - 0x58], 1
jmp 0x446695
xor eax, eax
cmp dword [edx + 0x14], eax
setne al
test dword [edx + 4], 0x400
mov dword [ebp - 0x30], eax
je 0x446596
or dword [esi + 4], 0x40000
cmp dword [ebp - 0x44], 2
jne 0x4465e1
mov eax, dword [ebp - 0x4c]
push dword [eax + 0x1c]
call fcn.00433130
add esp, 4
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x446593
push str.second_argument_to_likelihood___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.00456d30
add esp, 8
inc dword [edi + 0x14]
mov edx, dword [ebp - 0x28]
push 0
push dword [edx + 0x20]
push 0
push 0x1f
push ebx
call fcn.0044c740
add esp, 0x14
test eax, eax
je 0x4465fc
cmp eax, 1
jne 0x4465c8
mov ecx, dword [ebp - 0x28]
push dword [ecx + 0x20]
push str.not_authorized_to_use_function:__s
push ebx
call fcn.00456d30
add esp, 0xc
inc dword [edi + 0x14]
pop edi
mov byte [esi], 0x78
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x20]
mov ecx, 0x7800000
cmp byte [eax], 0x75
mov dword [ebp - 0x50], 0x800000
cmove ecx, dword [ebp - 0x50]
mov dword [esi + 0x1c], ecx
jmp 0x446596
mov ecx, dword [ebp - 0x28]
test dword [ecx + 4], 0x2800
je 0x44660f
or dword [esi + 4], 0x80000
test dword [ecx + 4], 0x800
jne 0x446636
mov eax, dword [ebp - 0x34]
test byte [eax], 0x2a
je 0x44664f
push 0
push str.non_deterministic_functions
push edi
push ebx
call fcn.0043d930
mov ecx, dword [ebp - 0x28]
add esp, 0x10
jmp 0x44664f
mov edx, dword [ebp - 0x34]
mov al, byte [edx]
and al, 0x2e
mov byte [esi + 2], al
test dword [edx], 0x40000
je 0x44664f
or dword [esi + 4], 0x40000000
mov edx, dword [ecx + 4]
test edx, 0x40000
je 0x446676
cmp byte [ebx + 0x12], 0
jne 0x446676
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x446676
xor ecx, ecx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x28], ecx
jmp 0x446695
test edx, 0x280000
je 0x446695
cmp byte [ebx + 0xc8], 2
jae 0x446695
push ecx
push esi
push ebx
call fcn.0045a5a0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
cmp byte [ebx + 0xc8], 2
mov edx, 1
jae 0x4467b1
mov eax, dword [ebp - 0x38]
test ecx, ecx
je 0x4466c8
cmp dword [ecx + 0x18], 0
jne 0x4466c8
test eax, eax
je 0x4466c8
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push str._.s___may_not_be_used_as_a_window_function
jmp 0x446761
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x446732
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
test dl, 1
je 0x4466f4
test dword [ecx + 4], 0x10000
je 0x4466e8
test eax, eax
je 0x4466f4
jmp 0x4466ec
test eax, eax
je 0x44672f
test edx, 0x4000
jne 0x44672f
test dword [ecx + 4], 0x10000
jne 0x446706
test eax, eax
mov eax, str.aggregate
je 0x44670b
mov eax, str.window
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push eax
push str.misuse_of__s_function__.s__
push ebx
call fcn.00456d30
add esp, 0x14
inc dword [edi + 0x14]
mov dword [ebp - 0x30], 0
jmp 0x4467c1
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x40], 0
je 0x446750
mov eax, dword [ebx]
cmp byte [eax + 0xa9], 0
jne 0x446750
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push str.no_such_function:__.s
jmp 0x446761
cmp dword [ebp - 0x58], 0
je 0x44678b
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push str.wrong_number_of_arguments_to_function__.s__
push ebx
call fcn.00456d30
inc dword [edi + 0x14]
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x4467c1
mov ecx, dword [ebp - 0x38]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x34]
sete al
or eax, 0x4000
not eax
and dword [ecx], eax
jmp 0x4467c1
test edx, edx
jne 0x446773
test dword [esi + 4], 0x1000000
je 0x4467c1
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push str.FILTER_may_not_be_used_with_non_aggregate__.s__
push ebx
call fcn.00456d30
add esp, 0x10
inc dword [edi + 0x14]
jmp 0x4467c1
test dword [esi + 4], 0x1000000
mov eax, dword [ebp - 0x30]
cmovne eax, edx
mov dword [ebp - 0x30], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x2c]
call fcn.00483680
add esp, 8
cmp dword [ebp - 0x30], 0
je 0x4468ea
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x446870
cmp byte [ebx + 0xc8], 2
mov esi, dword [edi + 0x1c]
jae 0x446816
test esi, esi
je 0x4467f9
mov edx, dword [esi + 0x48]
jmp 0x4467fb
xor edx, edx
mov ecx, dword [ebp - 0x28]
push ecx
push eax
push edx
push ebx
call fcn.0048b440
mov eax, dword [ebx]
add esp, 0x10
cmp byte [eax + 0x53], 0
jne case.0x4462fb.21
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
push dword [ebx + 8]
push edi
call fcn.00483680
push dword [ebx + 0xc]
push edi
call fcn.00483680
mov eax, dword [ebx + 0x28]
add esp, 0x10
test eax, eax
je 0x446842
push eax
push edi
call fcn.004958e0
add esp, 8
push ebx
push esi
call fcn.0048aa10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
or dword [eax], 0x8000
add esp, 8
or dword [eax], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa7
mov byte [esi + 2], 0
je 0x446896
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x446896
push eax
push dword [ebp - 0x2c]
call fcn.004958e0
add esp, 8
push dword [edi + 4]
push esi
call fcn.0045e1c0
add esp, 8
test eax, eax
jne 0x4468cc
inc byte [esi + 2]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x446896
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
or dword [eax], ecx
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4468e2
mov ecx, dword [ecx + 4]
and ecx, 0x1000
or ecx, 0x10
or dword [edi + 0x18], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
or dword [eax], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x800
je case.0x4462fb.21
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x54], eax
je 0x44692c
push esi
push str.subqueries
push edi
push ebx
call fcn.0043d930
mov edx, dword [ebp - 0x2c]
add esp, 0x10
push dword [esi + 0x14]
push edx
call fcn.004836d0
mov eax, dword [ebp - 0x54]
add esp, 8
cmp eax, dword [edi + 0x10]
je case.0x4462fb.21
or dword [esi + 4], 0x20
or dword [edi + 0x18], 0x40
jmp case.0x4462fb.21
test byte [edi + 0x18], 0x2e
je case.0x4462fb.21
push esi
push str.parameters
push edi
push ebx
call fcn.0043d930
add esp, 0x10
jmp case.0x4462fb.21
push dword [esi + 0x10]
call fcn.0045b8f0
mov edi, eax
add esp, 4
test edi, edi
je case.0x4462fb.48
mov al, byte [edi]
cmp al, 0x3b
je 0x44698b
cmp al, 0xa9
jne case.0x4462fb.48
push edi
push edx
call fcn.004462c0
add esp, 8
cmp eax, 2
je 0x446a16
cmp byte [edi], 0xa9
jne case.0x4462fb.48
mov al, byte [esi]
mov byte [esi + 2], al
mov byte [esi], 0xae
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
jne case.0x4462fb.21
push dword [esi + 0xc]
call fcn.0045b9a0
add esp, 4
cmp byte [esi], 0x30
mov edx, eax
jne 0x4469eb
mov esi, dword [esi + 0x14]
push dword [esi + 8]
call fcn.0045b9a0
add esp, 4
cmp eax, edx
jne 0x4469fa
push dword [esi + 0x1c]
jmp 0x4469ee
push dword [esi + 0x10]
call fcn.0045b9a0
add esp, 4
cmp edx, eax
je case.0x4462fb.21
push str.row_value_misused
push ebx
call fcn.00456d30
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x446a16
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
je 0x4469a7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 2
pop ebx
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret