Function at 0x462420
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x80], 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 + 0x4c], esi
mov cl, byte [esi]
movzx eax, cl
mov ebx, dword [edi]
add eax, 0xffffffec
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ebx
cmp eax, 0x98
ja case.0x462476.28
movzx eax, byte [eax + 0x462d3c]
mov dword [esp + 0x28], 1
jmp dword [eax*4 + 0x462d18]
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.0x462476.28
xor ecx, ecx
mov edx, edi
cmp ecx, 8
jge 0x4624b4
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + ecx*4 + 0x50], eax
inc ecx
test edx, edx
jne 0x4624a0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4624c9
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.00460e30
mov ecx, dword [esi + 0xc]
call fcn.00466930
test eax, eax
jne 0x462b97
cmp byte [ebx + 0xd0], 2
jae 0x462b97
cmp byte [esi], 0x33
mov edx, 0x20000000
mov eax, 0x10000000
cmovne eax, edx
mov edx, str.true
or dword [esi + 4], eax
mov eax, str.false
cmp byte [esi], 0x33
cmove eax, edx
xor edx, edx
mov dword [esi + 8], eax
mov byte [esi], 0xaa
nop
cmp edx, 8
jge 0x462524
mov eax, dword [esp + edx*4 + 0x50]
inc edx
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x462510
mov edx, dword [esi + 0xc]
test edx, edx
je 0x462532
mov ecx, dword [ebx]
call fcn.00465170
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x462581
mov eax, dword [esi + 8]
xor ecx, ecx
push esi
push edi
push eax
push ecx
xor edx, edx
mov ecx, ebx
call fcn.004613a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
test byte [edi + 0x18], 0x28
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
je 0x4625a6
push esi
push 0
push str.the__.__operator
mov edx, edi
mov ecx, ebx
call fcn.004623b0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x3b
jne 0x4625b2
xor edx, edx
jmp 0x4625bf
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov ebx, dword [eax + 8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
cmp byte [ebx + 0xd0], 2
jb 0x462604
push eax
mov edx, esi
mov ecx, ebx
call fcn.0046d920
add esp, 4
lea edx, [esi + 0x2c]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.0046d920
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.004613a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
test eax, eax
je 0x46263a
mov ecx, dword [eax]
jmp 0x46263c
xor ecx, ecx
mov eax, dword [ebx]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x44], 0
mov al, byte [eax + 0x54]
mov byte [esp + 0x34], al
lea eax, [edi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
and eax, 0x4001
mov dword [esp + 0x10], 0
test dword [esi + 4], 0x1000000
mov dword [esp + 0x30], eax
je 0x462689
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc], eax
cmp byte [eax + 0x10], 0xa6
jne 0x46268f
xor edx, edx
mov dword [esp + 0xc], edx
mov eax, dword [esi + 8]
mov edx, eax
push 0
push dword [esp + 0x38]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [ebx]
call fcn.0047ae60
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4626ec
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
push eax
push dword [esp + 0x38]
push 0xfffffffffffffffe
call fcn.0047ae60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4626df
mov dword [esp + 0x20], 1
jmp 0x4628c3
mov dword [esp + 0x44], 1
jmp 0x4628c3
xor eax, eax
cmp dword [ecx + 0x14], eax
setne al
test dword [ecx + 4], 0x400
mov dword [esp + 0x10], eax
je 0x4627c6
or dword [esi + 4], 0x80000
cmp dword [esp + 0x38], 2
jne 0x4627b0
mov eax, dword [esp + 0x48]
movsd xmm0, qword [0x5702a8]
movsd qword [esp + 0x38], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x462736
or eax, 0xffffffff
jmp 0x462795
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x462745
xor ecx, ecx
jmp 0x462763
mov ecx, eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462750
mov eax, dword [esp + 0x24]
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea edx, [esp + 0x40]
mov ecx, eax
call fcn.0042fcc0
movsd xmm0, qword [esp + 0x40]
add esp, 8
comisd xmm0, xmmword [0x5701b0]
jbe 0x462789
or eax, 0xffffffff
jmp 0x462795
mulsd xmm0, qword [0x570230]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x4627c6
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.0042f9e0
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x4627c6
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 + 0x18]
mov edx, 0x1f
push 0
push dword [ecx + 0x20]
mov ecx, ebx
push 0
call fcn.00472920
add esp, 0xc
test eax, eax
je 0x462818
cmp eax, 1
jne 0x4627fb
push esi
push str.not_authorized_to_use_function:__T
push ebx
call fcn.0042f9e0
add esp, 0xc
inc dword [edi + 0x14]
mov byte [esi], 0x79
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
test eax, 0x2800
je 0x462830
or dword [esi + 4], 0x100000
mov eax, dword [edx + 4]
test eax, 0x800
jne 0x46285a
mov eax, dword [esp + 0x1c]
test byte [eax], 0x2a
je 0x462874
push esi
push 0
push str.non_deterministic_functions
mov edx, edi
mov ecx, ebx
call fcn.004623b0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x462874
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x462874
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x46289d
cmp byte [ebx + 0x12], 0
jne 0x46289d
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x46289d
xor edx, edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], edx
jmp 0x4628c3
test ecx, 0x280000
je 0x4628c3
cmp byte [ebx + 0xd0], 2
jae 0x4629c7
push edx
mov edx, esi
mov ecx, ebx
call fcn.00464ef0
mov edx, dword [esp + 0x1c]
add esp, 4
cmp byte [ebx + 0xd0], 2
jae 0x4629c7
mov eax, dword [esp + 0xc]
test edx, edx
je 0x4628ed
cmp dword [edx + 0x18], 0
jne 0x4628ed
test eax, eax
je 0x4628ed
push esi
push str._T___may_not_be_used_as_a_window_function
jmp 0x46297d
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x462956
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test cl, 1
je 0x46291b
test dword [edx + 4], 0x10000
je 0x46290f
test eax, eax
je 0x46291b
jmp 0x462913
test eax, eax
je 0x462952
test ecx, 0x4000
jne 0x462952
test dword [edx + 4], 0x10000
jne 0x46292d
test eax, eax
mov eax, str.aggregate
je 0x462932
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push ebx
call fcn.0042f9e0
add esp, 0x10
mov dword [esp + 0x10], 0
inc dword [edi + 0x14]
jmp 0x4629db
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
je 0x462970
mov eax, dword [ebx]
cmp byte [eax + 0xb1], 0
jne 0x462970
push esi
push str.no_such_function:__T
jmp 0x46297d
cmp dword [esp + 0x44], 0
je 0x4629a6
push esi
push str.wrong_number_of_arguments_to_function__T__
push ebx
call fcn.0042f9e0
inc dword [edi + 0x14]
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x4629db
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0xc], eax
setne al
add eax, 0xffffbffe
and dword [ecx], eax
jmp 0x4629db
test ecx, ecx
jne 0x462990
test dword [esi + 4], 0x1000000
je 0x4629db
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.0042f9e0
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x4629db
test dword [esi + 4], 0x1000000
mov eax, dword [esp + 0x10]
cmovne eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
call fcn.00460ee0
cmp dword [esp + 0x10], 0
je 0x462b97
mov eax, dword [esp + 0xc]
test eax, eax
je 0x462a8e
cmp byte [ebx + 0xd0], 2
mov esi, dword [edi + 0x1c]
jae 0x462a32
test esi, esi
je 0x462a14
mov edx, dword [esi + 0x48]
jmp 0x462a16
xor edx, edx
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.004b0c00
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x57], 0
jne case.0x462476.28
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [ebx + 8]
call fcn.00460ee0
mov edx, dword [ebx + 0xc]
mov ecx, edi
call fcn.00460ee0
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x462a5c
mov ecx, edi
call fcn.00460e30
mov edx, ebx
mov ecx, esi
call fcn.004b1cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
or dword [eax], 0x8000
or dword [eax], ecx
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x462ac0
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x462ac0
mov ecx, dword [esp + 0x14]
call fcn.00460e30
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0x70]
mov dword [esp + 0x50], 0
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x14]
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x54], 0x46c6f0
mov dword [esp + 0x58], 0x46c600
mov dword [esp + 0x5c], 0x46c6c0
test eax, eax
je 0x462b42
mov ebx, dword [eax]
add eax, 8
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x462b3e
mov esi, eax
mov edx, dword [esi]
lea ecx, [esp + 0x50]
call fcn.00460ed0
test eax, eax
jne 0x462b3a
dec ebx
add esi, 0x14
test ebx, ebx
jg 0x462b23
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
test dword [esi + 4], 0x1000000
je 0x462b5e
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x462b5e
lea ecx, [esp + 0x50]
call fcn.00460e30
mov edx, dword [esp + 0x80]
test edx, edx
je 0x462b70
mov ecx, dword [ebx]
call fcn.0042c2b0
test byte [esp + 0x64], 1
jne 0x462bb0
cmp word [esp + 0x64], 0
je 0x462bb0
inc byte [esi + 2]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x462ac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
or dword [eax], ecx
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x462b91
mov ecx, dword [ecx + 4]
xor ecx, 0xffffefff
and ecx, 0x8001000
or ecx, 0x10
or dword [edi + 0x18], ecx
jmp 0x462b91
test dword [esi + 4], 0x1000
je case.0x462476.28
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], eax
je 0x462c02
push esi
push esi
push str.subqueries
mov edx, edi
mov ecx, ebx
call fcn.004623b0
add esp, 0xc
jmp 0x462c0e
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.00460f20
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x10]
je case.0x462476.28
or dword [esi + 4], 0x40
or dword [edi + 0x18], 0x40
jmp case.0x462476.28
test byte [edi + 0x18], 0x2e
je case.0x462476.28
push esi
push esi
push str.parameters
mov edx, edi
mov ecx, ebx
call fcn.004623b0
add esp, 0xc
jmp case.0x462476.28
mov ecx, dword [esi + 0x10]
call fcn.00463e80
mov edi, eax
test edi, edi
je case.0x462476.22
mov al, byte [edi]
cmp al, 0x3b
je 0x462c62
cmp al, 0xaa
jne case.0x462476.22
push edi
push edx
call fcn.00462420
add esp, 8
cmp eax, 2
jne 0x462c86
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne case.0x462476.22
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 + 0x80]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne case.0x462476.28
mov ecx, dword [esi + 0xc]
call fcn.004641d0
cmp byte [esi], 0x30
mov edi, eax
jne 0x462cd5
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 8]
call fcn.004641d0
cmp eax, edi
jne 0x462ce1
mov ecx, dword [edx + 0x1c]
jmp 0x462cd8
mov ecx, dword [esi + 0x10]
call fcn.004641d0
cmp edi, eax
je case.0x462476.28
push str.row_value_misused
push ebx
call fcn.0042f9e0
mov ecx, dword [ebx]
add esp, 8
mov edx, esi
call fcn.0042e5d0
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x8c]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
and eax, 2
call fcn.004c61ad
mov esp, ebp
pop ebp
ret