Function at 0x100545d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x10140004]
xor eax, esp
mov dword [esp + 0x80], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x18]
push edi
mov dword [esp + 0x4c], esi
mov dl, byte [esi]
mov edi, dword [ebx]
movzx eax, dl
add eax, 0xffffffec
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
cmp eax, 0x98
ja case.0x1005462a.28
movzx eax, byte [eax + 0x10055064]
mov dword [esp + 0x34], 1
jmp dword [eax*4 + 0x10055040]
mov ecx, dword [ebx + 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.0x1005462a.28
xor ecx, ecx
mov edx, ebx
cmp ecx, 8
jge 0x10054668
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + ecx*4 + 0x6c], eax
inc ecx
test edx, edx
jne 0x10054654
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1005467d
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.10052ce0
mov ecx, dword [esi + 0xc]
call fcn.10058fd0
test eax, eax
jne 0x10054e4e
cmp byte [edi + 0xd8], 2
jae 0x10054e4e
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 0x100546c4
mov eax, dword [esp + edx*4 + 0x6c]
inc edx
mov dword [ebx + 0x10], eax
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x100546b0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100546d2
mov ecx, dword [edi]
call fcn.100577f0
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
cmp dl, 0x3b
jne 0x1005470d
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x28], eax
jmp 0x100547a2
test byte [ebx + 0x18], 0x28
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], edx
je 0x10054732
push esi
push 0
push str.the__.__operator
mov edx, ebx
mov ecx, edi
call fcn.10054560
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [esi + 0x10]
cmp byte [ecx], 0x3b
jne 0x10054742
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x1005474f
mov edx, dword [edx + 8]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
cmp byte [edi + 0xd8], 2
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
jb 0x100547a2
mov eax, dword [edi + 0x114]
test eax, eax
je 0x1005477f
cmp dword [eax], ecx
je 0x1005477d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10054770
jmp 0x1005477f
mov dword [eax], esi
mov ecx, dword [edi + 0x114]
test ecx, ecx
je 0x100547a2
nop dword [eax]
cmp dword [ecx], edx
je 0x1005479d
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x10054790
jmp 0x100547a2
lea eax, [esi + 0x2c]
mov dword [ecx], eax
mov edx, dword [esp + 0x18]
mov ecx, edi
push esi
push ebx
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.10053530
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100547de
mov ecx, dword [eax]
jmp 0x100547e0
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], 0
mov al, byte [eax + 0x54]
mov byte [esp + 0x3c], al
lea eax, [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
and eax, 0x4001
mov dword [esp + 0x14], 0
test dword [esi + 4], 0x1000000
mov dword [esp + 0x38], eax
je 0x1005482d
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x10], 0xa6
jne 0x10054835
mov dword [esp + 0x10], 0
mov eax, dword [esi + 8]
mov edx, eax
push 0
push dword [esp + 0x40]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [edi]
call fcn.10071f40
mov edx, eax
add esp, 0xc
mov dword [esp + 0xc], edx
test edx, edx
jne 0x10054892
mov edx, dword [esp + 0x24]
mov ecx, dword [edi]
push eax
push dword [esp + 0x40]
push 0xfffffffffffffffe
call fcn.10071f40
mov edx, eax
add esp, 0xc
mov dword [esp + 0xc], edx
test edx, edx
jne 0x10054885
mov dword [esp + 0x28], 1
jmp 0x10054a92
mov dword [esp + 0x48], 1
jmp 0x10054a92
xor eax, eax
cmp dword [edx + 0x14], eax
setne al
test dword [edx + 4], 0x400
mov dword [esp + 0x14], eax
je 0x1005495a
or dword [esi + 4], 0x80000
cmp dword [esp + 0x40], 2
jne 0x100549a8
mov eax, dword [esp + 0x30]
movsd xmm0, qword [0x1013c038]
movsd qword [esp + 0x40], xmm0
mov eax, dword [eax + 0x1c]
cmp byte [eax], 0x99
je 0x100548e0
mov dword [esi + 0x1c], 0xffffffff
jmp 0x10054944
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100548ef
xor ecx, ecx
jmp 0x10054907
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100548f4
mov eax, dword [esp + 0x24]
sub ecx, edx
and ecx, 0x3fffffff
push 1
push ecx
lea edx, [esp + 0x48]
mov ecx, eax
call fcn.10020e00
movsd xmm0, qword [esp + 0x48]
add esp, 8
comisd xmm0, xmmword [0x1013bdf0]
jbe 0x10054931
mov dword [esi + 0x1c], 0xffffffff
jmp 0x10054944
mulsd xmm0, qword [0x1013bfb8]
cvttsd2si eax, xmm0
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x10054956
push esi
push str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
push edi
call fcn.10020b80
add esp, 0xc
inc dword [ebx + 0x14]
mov edx, dword [esp + 0xc]
push 0
push dword [edx + 0x20]
mov edx, 0x1f
mov ecx, edi
push 0
call fcn.10067f40
add esp, 0xc
test eax, eax
je 0x100549c5
cmp eax, 1
jne 0x1005498b
push esi
push str.not_authorized_to_use_function:__T
push edi
call fcn.10020b80
add esp, 0xc
inc dword [ebx + 0x14]
mov byte [esi], 0x79
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x20]
mov ecx, 0x7800000
mov dword [esp + 0x24], 0x800000
cmp byte [eax], 0x75
cmove ecx, dword [esp + 0x24]
mov dword [esi + 0x1c], ecx
jmp 0x1005495a
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
test eax, 0x2800
je 0x100549dd
or dword [esi + 4], 0x100000
mov eax, dword [edx + 4]
test eax, 0x800
jne 0x10054a07
mov eax, dword [esp + 0x20]
test byte [eax], 0x2a
je 0x10054a21
push esi
push 0
push str.non_deterministic_functions
mov edx, ebx
mov ecx, edi
call fcn.10054560
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x10054a21
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
and al, 0x2e
mov byte [esi + 2], al
test dword [ecx], 0x40000
je 0x10054a21
or dword [esi + 4], 0x40000000
mov ecx, dword [edx + 4]
test ecx, 0x40000
je 0x10054a4a
cmp byte [edi + 0x12], 0
jne 0x10054a4a
mov eax, dword [edi]
test byte [eax + 0x18], 0x20
jne 0x10054a4a
xor edx, edx
mov dword [esp + 0x28], 1
mov dword [esp + 0xc], edx
jmp 0x10054a92
test ecx, 0x280000
je 0x10054a92
cmp byte [edi + 0xd8], 2
jae 0x10054b9c
test dword [esi + 4], 0x40000000
je 0x10054a92
test ecx, 0x80000
jne 0x10054a7f
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
jne 0x10054a92
push esi
push str.unsafe_use_of__T__
push edi
call fcn.10020b80
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp byte [edi + 0xd8], 2
jae 0x10054b9c
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x10054abc
cmp dword [edx + 0x18], 0
jne 0x10054abc
test ecx, ecx
je 0x10054abc
push esi
push str._T___may_not_be_used_as_a_window_function
jmp 0x10054b52
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10054b2b
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test al, 1
je 0x10054af0
mov edi, dword [esp + 0xc]
test dword [edi + 4], 0x10000
mov edi, dword [esp + 0x1c]
je 0x10054ae5
test ecx, ecx
je 0x10054b06
jmp 0x10054ae9
test ecx, ecx
je 0x10054b2b
test eax, 0x4000
jne 0x10054b2b
mov eax, dword [esp + 0xc]
test dword [eax + 4], 0x10000
jne 0x10054b06
mov eax, str.aggregate
test ecx, ecx
je 0x10054b0b
mov eax, str.window
push esi
push eax
push str.misuse_of__s_function__T__
push edi
call fcn.10020b80
add esp, 0x10
mov dword [esp + 0x14], 0
inc dword [ebx + 0x14]
jmp 0x10054bb0
cmp dword [esp + 0x28], 0
je 0x10054b45
mov eax, dword [edi]
cmp byte [eax + 0xb1], 0
jne 0x10054b45
push esi
push str.no_such_function:__T
jmp 0x10054b52
cmp dword [esp + 0x48], 0
je 0x10054b7b
push esi
push str.wrong_number_of_arguments_to_function__T__
push edi
call fcn.10020b80
inc dword [ebx + 0x14]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x10054bb0
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
add eax, 0xffffbffe
and dword [ecx], eax
jmp 0x10054bb0
test edx, edx
jne 0x10054b65
test dword [esi + 4], 0x1000000
je 0x10054bb0
push esi
push str.FILTER_may_not_be_used_with_non_aggregate__T__
push edi
call fcn.10020b80
add esp, 0xc
inc dword [ebx + 0x14]
jmp 0x10054bb0
test dword [esi + 4], 0x1000000
mov edx, dword [esp + 0x14]
cmovne edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10054bf1
mov eax, dword [ecx]
add ecx, 8
test eax, eax
jle 0x10054bf1
mov ebx, dword [esp + 0x18]
mov edi, eax
mov esi, ecx
nop dword [eax]
mov edx, dword [esi]
mov ecx, ebx
call fcn.10052dc0
test eax, eax
jne 0x10054be5
dec edi
add esi, 0x14
test edi, edi
jg 0x10054bd0
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x10054e4e
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10054cdf
cmp byte [edi + 0xd8], 2
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
jae 0x10054c42
test eax, eax
je 0x10054c21
mov edx, dword [eax + 0x48]
jmp 0x10054c23
xor edx, edx
push dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.100b4140
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x57], 0
jne case.0x1005462a.28
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 8]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x10054c6f
mov esi, dword [edi]
add edi, 8
test esi, esi
jle 0x10054c6f
mov edx, dword [edi]
mov ecx, ebx
call fcn.10052dc0
test eax, eax
jne 0x10054c6b
dec esi
add edi, 0x14
test esi, esi
jg 0x10054c56
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x10054c99
mov esi, dword [edi]
add edi, 8
test esi, esi
jle 0x10054c99
nop
mov edx, dword [edi]
mov ecx, ebx
call fcn.10052dc0
test eax, eax
jne 0x10054c95
dec esi
add edi, 0x14
test esi, esi
jg 0x10054c80
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x10054cab
mov ecx, ebx
call fcn.10052ce0
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x2c]
call fcn.100b5480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
or dword [eax], 0x8000
or dword [eax], ecx
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000000
mov byte [esi], 0xa8
mov byte [esi + 2], 0
je 0x10054d02
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x10054d02
mov ecx, dword [esp + 0x18]
call fcn.10052ce0
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0x100604b0
mov dword [esp + 0x74], 0x100603c0
mov dword [esp + 0x78], 0x10060480
test eax, eax
je 0x10054d84
mov edi, dword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test edi, edi
jle 0x10054d80
mov esi, eax
mov edx, dword [esi]
lea ecx, [esp + 0x6c]
call fcn.10052dc0
test eax, eax
jne 0x10054d7c
dec edi
add esi, 0x14
test edi, edi
jg 0x10054d65
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
test dword [esi + 4], 0x1000000
je 0x10054da0
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x10054da0
lea ecx, [esp + 0x6c]
call fcn.10052ce0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x10054dff
mov edi, dword [edi]
cmp ecx, dword [edi + 0x164]
jae 0x10054de2
cmp ecx, dword [edi + 0x15c]
jb 0x10054dca
mov eax, dword [edi + 0x158]
mov dword [ecx], eax
mov dword [edi + 0x158], ecx
jmp 0x10054dff
cmp ecx, dword [edi + 0x160]
jb 0x10054de2
mov eax, dword [edi + 0x150]
mov dword [ecx], eax
mov dword [edi + 0x150], ecx
jmp 0x10054dff
cmp dword [edi + 0x210], 0
je 0x10054df6
mov edx, ecx
mov ecx, edi
call fcn.1001cde0
jmp 0x10054dff
push ecx
call fcn.1001cd70
add esp, 4
test byte [esp + 0x80], 1
jne 0x10054e27
cmp word [esp + 0x80], 0
je 0x10054e27
inc byte [esi + 2]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x10054e44
mov edi, dword [esp + 0x1c]
jmp 0x10054d02
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10054e44
mov ecx, dword [eax + 4]
xor ecx, 0xffffefff
and ecx, 0x8001000
or ecx, 0x10
or dword [ebx + 0x18], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
or dword [eax], ecx
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x1000
je case.0x1005462a.28
test byte [ebx + 0x18], 0x2e
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x38], eax
je 0x10054e96
push esi
push esi
push str.subqueries
mov edx, ebx
mov ecx, edi
call fcn.10054560
add esp, 0xc
jmp 0x10054e9e
mov edx, dword [esi + 0x14]
call fcn.10052dd0
mov eax, dword [esp + 0x38]
cmp eax, dword [ebx + 0x10]
je case.0x1005462a.28
or dword [esi + 4], 0x40
or dword [ebx + 0x18], 0x40
jmp case.0x1005462a.28
test byte [ebx + 0x18], 0x2e
je case.0x1005462a.28
push esi
push esi
push str.parameters
mov edx, ebx
mov ecx, edi
call fcn.10054560
add esp, 0xc
jmp case.0x1005462a.28
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10054f01
mov eax, dword [edi + 4]
test eax, 0x82000
je 0x10054f28
test eax, 0x80000
je 0x10054efa
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 8]
jmp 0x10054efd
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10054ee1
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne case.0x1005462a.28
mov ecx, dword [esi + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x10054f1d
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x10054f7a
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
jmp 0x10054f8d
mov al, byte [edi]
cmp al, 0x3b
je 0x10054f32
cmp al, 0xaa
jne 0x10054f01
push edi
push ecx
call fcn.100545d0
add esp, 8
cmp eax, 2
jne 0x10054f56
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0xaa
jne 0x10054f01
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.101049d1
mov esp, ebp
pop ebp
ret
cmp al, 0x8a
jne 0x10054f88
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
jmp 0x10054f8d
mov edx, 1
cmp byte [esi], 0x30
jne 0x10054fc8
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebx + 8]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x10054fa1
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x10054fac
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x10054fbf
cmp al, 0x8a
jne 0x10054fba
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x10054fbf
mov eax, 1
cmp eax, edx
jne 0x10054ff6
mov ecx, dword [ebx + 0x1c]
jmp 0x10054fcb
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x10054fd4
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x10054fdf
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x10054ff2
cmp al, 0x8a
jne 0x10054fed
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x10054ff2
mov eax, 1
cmp edx, eax
je case.0x1005462a.28
push str.row_value_misused
push edi
call fcn.10020b80
mov ecx, dword [edi]
add esp, 8
test byte [esi + 4], 3
jne 0x10055013
mov eax, dword [esi + 0x24]
test eax, eax
jg 0x1005501c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10055006
jmp case.0x1005462a.28
mov dword [ecx + 0x44], eax
mov eax, dword [edi + 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.101049d1
mov esp, ebp
pop ebp
ret