Function at 0x10043360
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 [0x100bdc68]
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.0x100433a4.21
movzx eax, byte [eax + 0x10043d0c]
jmp dword [eax*4 + 0x10043ce8]
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.0x100433a4.21
xor ecx, ecx
mov edx, edi
nop
cmp ecx, 8
jge 0x100433e4
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + ecx*4 + 0x64], eax
inc ecx
test edx, edx
jne 0x100433d0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100433f8
push eax
push dword [esp + 0x1c]
call fcn.1009cbd0
add esp, 8
push dword [esi + 0xc]
call fcn.10056b20
add esp, 4
test eax, eax
jne 0x10043b41
cmp byte [ebx + 0xd4], 2
jae 0x10043b41
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 0x10043459
mov eax, dword [esp + ecx*4 + 0x64]
inc ecx
mov dword [edi + 0x10], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10043445
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1004346b
push eax
push dword [ebx]
call fcn.100597d0
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.100aac86
mov esp, ebp
pop ebp
ret
cmp cl, 0x3b
jne 0x100434b5
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.10036b40
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100aac86
mov esp, ebp
pop ebp
ret
test byte [edi + 0x18], 0x28
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c], edx
je 0x100434d8
push esi
push 0
push str.the__.__operator
push edi
push ebx
call fcn.1003a2b0
mov edx, dword [esp + 0x30]
add esp, 0x14
mov eax, dword [esi + 0x10]
cmp byte [eax], 0x3b
jne 0x100434e4
xor ecx, ecx
jmp 0x100434ed
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 0x10043526
push eax
push esi
push ebx
call fcn.1006f720
push edx
lea eax, [esi + 0x2c]
push eax
push ebx
call fcn.1006f720
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.10036b40
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100aac86
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1004355d
mov edx, dword [eax]
jmp 0x1004355f
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 0x100435ac
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x10], 0xa6
jne 0x100435b2
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.1005b650
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
jne 0x1004360e
push eax
push dword [esp + 0x40]
push 0xfffffffffffffffe
push dword [esp + 0x3c]
push dword [ebx]
call fcn.1005b650
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
jne 0x10043601
mov dword [esp + 0x2c], 1
jmp 0x100437dd
mov dword [esp + 0x1c], 1
jmp 0x100437dd
xor eax, eax
cmp dword [edx + 0x14], eax
setne al
test dword [edx + 4], 0x400
mov dword [esp + 0x10], eax
je 0x100436d4
or dword [esi + 4], 0x80000
cmp dword [esp + 0x40], 2
jne 0x1004371b
mov eax, dword [esp + 0x28]
movsd xmm0, qword [0x100b8740]
movsd qword [esp + 0x40], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x1004365c
mov dword [esi + 0x1c], 0xffffffff
jmp 0x100436be
mov edx, dword [eax + 8]
test edx, edx
jne 0x10043667
xor ecx, ecx
jmp 0x10043681
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043670
sub ecx, dword [esp + 0x30]
and ecx, 0x3fffffff
push 1
push ecx
lea eax, [esp + 0x48]
push eax
push edx
call fcn.10049e40
movsd xmm0, qword [esp + 0x50]
add esp, 0x10
comisd xmm0, xmmword [0x100b8648]
jbe 0x100436ab
mov dword [esi + 0x1c], 0xffffffff
jmp 0x100436be
mulsd xmm0, qword [0x100b86c8]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x100436d0
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push ebx
call fcn.10055e80
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.1004a610
add esp, 0x14
test eax, eax
je 0x10043738
cmp eax, 1
jne 0x10043701
push esi
push str.not_authorized_to_use_function:__T
push ebx
call fcn.10055e80
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.100aac86
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 0x100436d4
mov edx, dword [esp + 0x14]
test dword [edx + 4], 0x2800
je 0x1004374c
or dword [esi + 4], 0x100000
test dword [edx + 4], 0x800
jne 0x10043776
mov eax, dword [esp + 0x20]
test byte [eax], 0x2a
je 0x10043790
push esi
push 0
push str.non_deterministic_functions
push edi
push ebx
call fcn.1003a2b0
mov edx, dword [esp + 0x28]
add esp, 0x14
jmp 0x10043790
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x10043790
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x100437b9
cmp byte [ebx + 0x12], 0
jne 0x100437b9
mov eax, dword [ebx]
test byte [eax + 0x18], 0x20
jne 0x100437b9
xor edx, edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], edx
jmp 0x100437dd
test ecx, 0x280000
je 0x100437dd
cmp byte [ebx + 0xd4], 2
jae 0x1004394f
push edx
push esi
push ebx
call fcn.100599d0
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp byte [ebx + 0xd4], 2
jae 0x1004394f
mov eax, dword [esp + 0x24]
test edx, edx
je 0x10043843
cmp dword [edx + 0x18], 0
jne 0x10043843
test eax, eax
je 0x10043843
push esi
push str._T___may_not_be_used_as_a_window_function
push ebx
call fcn.10055e80
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc dword [edi + 0x14]
test ecx, ecx
je 0x100438a9
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.1008a130
add esp, 8
jmp 0x100438c4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100438f4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
test cl, 1
je 0x10043877
test dword [edx + 4], 0x10000
je 0x10043867
test eax, eax
je 0x10043889
test eax, eax
je 0x100438f0
test ecx, 0x4000
jne 0x100438f0
test dword [edx + 4], 0x10000
jne 0x10043889
test eax, eax
mov eax, str.aggregate
je 0x1004388e
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push ebx
call fcn.10055e80
add esp, 0x10
mov dword [esp + 0x10], 0
inc dword [edi + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.1008a130
add esp, 8
cmp dword [esp + 0x10], 0
je 0x10043b41
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100439ee
cmp byte [ebx + 0xd4], 2
mov esi, dword [edi + 0x1c]
jae 0x1004398f
test esi, esi
je 0x10043971
mov ecx, dword [esi + 0x48]
jmp 0x10043973
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x10043911
mov eax, dword [ebx]
cmp byte [eax + 0xb1], 0
jne 0x10043911
push esi
push str.no_such_function:__T
jmp 0x10043802
cmp dword [esp + 0x1c], 0
je 0x10043923
push esi
push str.wrong_number_of_arguments_to_function__T__
jmp 0x10043802
test ecx, ecx
jne 0x1004381a
test dword [esi + 4], 0x1000000
je 0x100438a9
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push ebx
call fcn.10055e80
add esp, 0xc
inc dword [edi + 0x14]
jmp 0x100438a9
test dword [esi + 4], 0x1000000
je 0x100438a9
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.1008a130
add esp, 8
jmp 0x100438c4
xor ecx, ecx
mov edx, dword [esp + 0x14]
push edx
push eax
push ecx
push ebx
call fcn.10092100
mov eax, dword [ebx]
add esp, 0x10
cmp byte [eax + 0x57], 0
jne case.0x100433a4.21
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push dword [ebx + 8]
push edi
call fcn.1008a130
push dword [ebx + 0xc]
push edi
call fcn.1008a130
mov eax, dword [ebx + 0x28]
add esp, 0x10
test eax, eax
je 0x100439bd
push eax
push edi
call fcn.1009cbd0
add esp, 8
push ebx
push esi
call fcn.10091670
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.100aac86
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x10043a20
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10043a20
push eax
push dword [esp + 0x1c]
call fcn.1009cbd0
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], 0x1002b0e0
mov dword [esp + 0x6c], 0x10046e60
mov dword [esp + 0x70], 0x10046f90
test eax, eax
je 0x10043aac
mov ebx, dword [eax]
add eax, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x10043aa8
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x10043a9c
push ecx
lea eax, [esp + 0x68]
push eax
call fcn.1009cbd0
add esp, 8
test eax, eax
jne 0x10043aa8
mov eax, dword [esp + 0x1c]
dec ebx
add eax, 0x14
mov dword [esp + 0x1c], eax
test ebx, ebx
jg 0x10043a80
mov ebx, dword [esp + 0x34]
test dword [esi + 4], 0x1000000
je 0x10043acd
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10043acd
push eax
lea eax, [esp + 0x68]
push eax
call fcn.1009cbd0
add esp, 8
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10043ae0
push eax
push dword [ebx]
call fcn.10053e60
add esp, 8
test byte [esp + 0x78], 1
jne 0x10043b1c
cmp word [esp + 0x78], 0
je 0x10043b1c
inc byte [esi + 2]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10043a20
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.100aac86
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10043b37
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.100aac86
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je case.0x100433a4.21
test byte [edi + 0x18], 0x2e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
je 0x10043b85
push esi
push esi
push str.subqueries
push edi
push ebx
call fcn.1003a2b0
add esp, 0x14
jmp 0x10043b91
push dword [esi + 0x14]
push edx
call fcn.1008a180
add esp, 8
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 0x10]
je case.0x100433a4.21
or dword [esi + 4], 0x40
or dword [edi + 0x18], 0x40
jmp case.0x100433a4.21
test byte [edi + 0x18], 0x2e
je case.0x100433a4.21
push esi
push esi
push str.parameters
push edi
push ebx
call fcn.1003a2b0
add esp, 0x14
jmp case.0x100433a4.21
mov edi, dword [esi + 0x10]
test edi, edi
je case.0x100433a4.48
mov eax, dword [edi + 4]
test eax, 0x82000
je 0x10043c15
test eax, 0x80000
je 0x10043beb
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 8]
jmp 0x10043bee
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10043bd2
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne case.0x100433a4.21
mov ecx, dword [esi + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x10043c0a
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x10043c61
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x10043c74
mov al, byte [edi]
cmp al, 0x3b
je 0x10043c1f
cmp al, 0xaa
jne case.0x100433a4.48
push edi
push edx
call fcn.10043360
add esp, 8
cmp eax, 2
jne 0x10043c40
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100aac86
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne case.0x100433a4.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.100aac86
mov esp, ebp
pop ebp
ret
cmp al, 0x8a
jne 0x10043c6f
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
jmp 0x10043c74
mov edx, 1
cmp byte [esi], 0x30
jne 0x10043c90
mov edi, dword [esi + 0x14]
push dword [edi + 8]
call fcn.1005b440
add esp, 4
cmp eax, edx
jne 0x10043ca0
mov eax, dword [edi + 0x1c]
jmp 0x10043c93
mov eax, dword [esi + 0x10]
push eax
call fcn.1005b440
add esp, 4
cmp edx, eax
je case.0x100433a4.21
push str.row_value_misused
push ebx
call fcn.10055e80
mov ecx, dword [ebx]
add esp, 8
test byte [esi + 4], 3
jne 0x10043cbd
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x10043cc6
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10043cb0
jmp case.0x100433a4.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.100aac86
mov esp, ebp
pop ebp
ret