Function at 0x10102330
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 [0x101a2ce4]
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 + 0x18], edx
mov cl, byte [esi]
movzx eax, cl
mov ebx, dword [edi]
add eax, 0xffffffec
mov dword [esp + 0x34], ebx
cmp eax, 0x98
ja case.0x10102374.21
movzx eax, byte [eax + 0x10102cdc]
jmp dword [eax*4 + 0x10102cb8]
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.0x10102374.21
xor ecx, ecx
mov edx, edi
nop
cmp ecx, 8
jge 0x101023b4
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + ecx*4 + 0x64], eax
inc ecx
test edx, edx
jne 0x101023a0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x101023c8
push eax
push dword [esp + 0x1c]
call fcn.1015b9e0
add esp, 8
push dword [esi + 0xc]
call fcn.10115be0
add esp, 4
test eax, eax
jne 0x10102b11
cmp byte [ebx + 0xd4], 2
jae 0x10102b11
cmp byte [esi], 0x33
mov eax, str.true
mov edx, str.false
mov dword [esp + 0x1c], 0x20000000
cmove edx, eax
mov eax, 0x10000000
cmovne eax, dword [esp + 0x1c]
or dword [esi + 4], eax
xor ecx, ecx
mov dword [esi + 8], edx
mov byte [esi], 0xaa
cmp ecx, 8
jge 0x10102429
mov eax, dword [esp + ecx*4 + 0x64]
inc ecx
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10102415
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1010243b
push eax
push dword [ebx]
call fcn.10118890
add esp, 8
mov dword [esi + 0xc], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x10102485
mov edx, dword [esi + 8]
xor eax, eax
push esi
push edi
push edx
push eax
xor ecx, ecx
push ecx
push ebx
call fcn.100f5a90
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
test byte [edi + 0x18], 0x28
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c], edx
je 0x101024a8
push esi
push 0
push str.the__.__operator
push edi
push ebx
call fcn.100f91f0
mov edx, dword [esp + 0x30]
add esp, 0x14
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x3b
jne 0x101024b4
xor ecx, ecx
jmp 0x101024bd
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov ebx, dword [edx + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
cmp byte [ebx + 0xd4], 2
jb 0x101024f6
push eax
push esi
push ebx
call fcn.1012e880
push edx
lea eax, [esi + 0x2c]
push eax
push ebx
call fcn.1012e880
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push esi
push edi
push edx
push eax
push ecx
push ebx
call fcn.100f5a90
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1010252d
mov edx, dword [eax]
jmp 0x1010252f
xor edx, edx
mov eax, dword [ebx]
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
mov al, byte [eax + 0x54]
mov byte [esp + 0x3c], al
lea eax, [edi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
and eax, 0x4001
mov dword [esp + 0x10], 0
test dword [esi + 4], 0x1000000
mov dword [esp + 0x38], eax
je 0x1010257c
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x10], 0xa6
jne 0x10102582
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 8]
push 0
push dword [esp + 0x40]
mov dword [esp + 0x38], eax
push edx
push eax
push dword [ebx]
call fcn.1011a710
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
jne 0x101025de
push eax
push dword [esp + 0x40]
push 0xfffffffffffffffe
push dword [esp + 0x3c]
push dword [ebx]
call fcn.1011a710
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
jne 0x101025d1
mov dword [esp + 0x2c], 1
jmp 0x101027ad
mov dword [esp + 0x1c], 1
jmp 0x101027ad
xor eax, eax
cmp dword [edx + 0x14], eax
setne al
test dword [edx + 4], 0x400
mov dword [esp + 0x10], eax
je 0x101026a4
or dword [esi + 4], 0x80000
cmp dword [esp + 0x40], 2
jne 0x101026eb
mov eax, dword [esp + 0x28]
movsd xmm0, qword [0x101834b8]
movsd qword [esp + 0x40], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x1010262c
mov dword [esi + 0x1c], 0xffffffff
jmp 0x1010268e
mov edx, dword [eax + 8]
test edx, edx
jne 0x10102637
xor ecx, ecx
jmp 0x10102651
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10102640
sub ecx, dword [esp + 0x30]
and ecx, 0x3fffffff
push 1
push ecx
lea eax, [esp + 0x48]
push eax
push edx
call fcn.10108e10
movsd xmm0, qword [esp + 0x50]
add esp, 0x10
comisd xmm0, xmmword [0x10184018]
jbe 0x1010267b
mov dword [esi + 0x1c], 0xffffffff
jmp 0x1010268e
mulsd xmm0, qword [0x10196f10]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x101026a0
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.10114f40
add esp, 0xc
inc dword [edi + 0x14]
mov edx, dword [esp + 0x14]
push 0
push dword [edx + 0x20]
push 0
push 0x1f
push ebx
call fcn.101095e0
add esp, 0x14
test eax, eax
je 0x10102708
cmp eax, 1
jne 0x101026d1
push esi
push str.not_authorized_to_use_function:__T
push ebx
call fcn.10114f40
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.10169f7a
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x20]
mov ecx, 0x7800000
mov dword [esp + 0x30], 0x800000
cmp byte [eax], 0x75
cmove ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
jmp 0x101026a4
mov edx, dword [esp + 0x14]
test dword [edx + 4], 0x2800
je 0x1010271c
or dword [esi + 4], 0x100000
test dword [edx + 4], 0x800
jne 0x10102746
mov eax, dword [esp + 0x20]
test byte [eax], 0x2a
je 0x10102760
push esi
push 0
push str.non_deterministic_functions
push edi
push ebx
call fcn.100f91f0
mov edx, dword [esp + 0x28]
add esp, 0x14
jmp 0x10102760
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x10102760
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x10102789
cmp byte [ebx + 0x12], 0
jne 0x10102789
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x10102789
xor edx, edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jmp 0x101027ad
test ecx, 0x280000
je 0x101027ad
cmp byte [ebx + 0xd4], 2
jae 0x1010291f
push edx
push esi
push ebx
call fcn.10118a90
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp byte [ebx + 0xd4], 2
jae 0x1010291f
mov eax, dword [esp + 0x24]
test edx, edx
je 0x10102813
cmp dword [edx + 0x18], 0
jne 0x10102813
test eax, eax
je 0x10102813
push esi
push str._T___may_not_be_used_as_a_window_function
push ebx
call fcn.10114f40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc dword [edi + 0x14]
test ecx, ecx
je 0x10102879
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x24], eax
push dword [esp + 0x28]
setne al
push dword [esp + 0x1c]
add eax, 0xffffbffe
and dword [ecx], eax
call fcn.10149320
add esp, 8
jmp 0x10102894
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101028c4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
test cl, 1
je 0x10102847
test dword [edx + 4], 0x10000
je 0x10102837
test eax, eax
je 0x10102859
test eax, eax
je 0x101028c0
test ecx, 0x4000
jne 0x101028c0
test dword [edx + 4], 0x10000
jne 0x10102859
test eax, eax
mov eax, str.aggregate
je 0x1010285e
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push ebx
call fcn.10114f40
add esp, 0x10
mov dword [esp + 0x10], 0
inc dword [edi + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.10149320
add esp, 8
cmp dword [esp + 0x10], 0
je 0x10102b11
mov eax, dword [esp + 0x24]
test eax, eax
je 0x101029be
cmp byte [ebx + 0xd4], 2
mov esi, dword [edi + 0x1c]
jae 0x1010295f
test esi, esi
je 0x10102941
mov ecx, dword [esi + 0x48]
jmp 0x10102943
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x101028e1
mov eax, dword [ebx]
cmp byte [eax + 0xb1], 0
jne 0x101028e1
push esi
push str.no_such_function:__T
jmp 0x101027d2
cmp dword [esp + 0x1c], 0
je 0x101028f3
push esi
push str.wrong_number_of_arguments_to_function__T__
jmp 0x101027d2
test ecx, ecx
jne 0x101027ea
test dword [esi + 4], 0x1000000
je 0x10102879
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.10114f40
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x10102879
test dword [esi + 4], 0x1000000
je 0x10102879
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.10149320
add esp, 8
jmp 0x10102894
xor ecx, ecx
mov edx, dword [esp + 0x14]
push edx
push eax
push ecx
push ebx
call fcn.101512f0
mov eax, dword [ebx]
add esp, 0x10
cmp byte [eax + 0x57], 0
jne case.0x10102374.21
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push dword [ebx + 8]
push edi
call fcn.10149320
push dword [ebx + 0xc]
push edi
call fcn.10149320
mov eax, dword [ebx + 0x28]
add esp, 0x10
test eax, eax
je 0x1010298d
push eax
push edi
call fcn.1015b9e0
add esp, 8
push ebx
push esi
call fcn.10150860
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x38]
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.10169f7a
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x101029f0
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x101029f0
push eax
push dword [esp + 0x1c]
call fcn.1015b9e0
add esp, 8
nop word [eax + eax]
lea eax, [esp + 0x48]
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], eax
xorps xmm0, xmm0
mov eax, dword [ebx]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x14]
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x68], 0x100e9f40
mov dword [esp + 0x6c], 0x10105e30
mov dword [esp + 0x70], 0x10105f60
test eax, eax
je 0x10102a7c
mov ebx, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x10102a78
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x10102a6c
push ecx
lea eax, [esp + 0x68]
push eax
call fcn.1015b9e0
add esp, 8
test eax, eax
jne 0x10102a78
mov eax, dword [esp + 0x1c]
dec ebx
add eax, 0x14
mov dword [esp + 0x1c], eax
test ebx, ebx
jg 0x10102a50
mov ebx, dword [esp + 0x34]
test dword [esi + 4], 0x1000000
je 0x10102a9d
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10102a9d
push eax
lea eax, [esp + 0x68]
push eax
call fcn.1015b9e0
add esp, 8
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10102ab0
push eax
push dword [ebx]
call fcn.10112f20
add esp, 8
test byte [esp + 0x78], 1
jne 0x10102aec
cmp word [esp + 0x78], 0
je 0x10102aec
inc byte [esi + 2]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x101029f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
or dword [eax], ecx
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10102b07
mov eax, dword [edx + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [edi + 0x18], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
or dword [eax], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je case.0x10102374.21
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
je 0x10102b55
push esi
push esi
push str.subqueries
push edi
push ebx
call fcn.100f91f0
add esp, 0x14
jmp 0x10102b61
push dword [esi + 0x14]
push edx
call fcn.10149370
add esp, 8
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 0x10]
je case.0x10102374.21
or dword [esi + 4], 0x40
or dword [edi + 0x18], 0x40
jmp case.0x10102374.21
test byte [edi + 0x18], 0x2e
je case.0x10102374.21
push esi
push esi
push str.parameters
push edi
push ebx
call fcn.100f91f0
add esp, 0x14
jmp case.0x10102374.21
mov edi, dword [esi + 0x10]
test edi, edi
je case.0x10102374.48
mov eax, dword [edi + 4]
test eax, 0x82000
je 0x10102be5
test eax, 0x80000
je 0x10102bbb
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 8]
jmp 0x10102bbe
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10102ba2
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne case.0x10102374.21
mov ecx, dword [esi + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x10102bda
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x10102c31
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x10102c44
mov al, byte [edi]
cmp al, 0x3b
je 0x10102bef
cmp al, 0xaa
jne case.0x10102374.48
push edi
push edx
call fcn.10102330
add esp, 8
cmp eax, 2
jne 0x10102c10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10169f7a
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne case.0x10102374.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.10169f7a
mov esp, ebp
pop ebp
ret
cmp al, 0x8a
jne 0x10102c3f
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
jmp 0x10102c44
mov edx, 1
cmp byte [esi], 0x30
jne 0x10102c60
mov edi, dword [esi + 0x14]
push dword [edi + 8]
call fcn.1011a500
add esp, 4
cmp eax, edx
jne 0x10102c70
mov eax, dword [edi + 0x1c]
jmp 0x10102c63
mov eax, dword [esi + 0x10]
push eax
call fcn.1011a500
add esp, 4
cmp edx, eax
je case.0x10102374.21
push str.row_value_misused
push ebx
call fcn.10114f40
mov ecx, dword [ebx]
add esp, 8
test byte [esi + 4], 3
jne 0x10102c8d
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x10102c96
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10102c80
jmp case.0x10102374.21
mov dword [ecx + 0x44], eax
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.10169f7a
mov esp, ebp
pop ebp
ret